Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tasks more configurable #6

Open
tudor07 opened this issue Mar 12, 2020 · 6 comments
Open

Make tasks more configurable #6

tudor07 opened this issue Mar 12, 2020 · 6 comments

Comments

@tudor07
Copy link

tudor07 commented Mar 12, 2020

Allow to customise requiresNetworkConnectivity and the others from here:
https://github.com/transistorsoft/transistor-background-fetch/blob/master/ios/TSBackgroundFetch/TSBackgroundFetch/TSBGTask.m#L151

Also expose this to the Flutter plugin: github.com/transistorsoft/flutter_background_fetch

@christocracy
Copy link
Member

I’m aware. It’s coming.

@tudor07
Copy link
Author

tudor07 commented Mar 12, 2020

@christocracy I know that it is not nice of me for asking, but... any ETA? I need this feature and if this is not coming any time soon I would need to look into something else

@christocracy
Copy link
Member

Within 30 days.

@christocracy
Copy link
Member

Be aware, in my experience, these new iOS BackgroundProcessingTasks only seem to fire when the device is plugged into power currently, in spite of:

request.requiresExternalPower = NO;

@tudor07
Copy link
Author

tudor07 commented Mar 12, 2020

@christocracy Thanks a lot for answering and thanks for all the work you put in in this plugin.

@tudor07
Copy link
Author

tudor07 commented Mar 17, 2020

@christocracy Fixed this here: #7
PR to support this in the Flutter plugin here: transistorsoft/flutter_background_fetch#96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants