Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Add hint about background task #7

Open
bassosimone opened this issue Sep 11, 2018 · 0 comments
Open

Add hint about background task #7

bassosimone opened this issue Sep 11, 2018 · 0 comments
Assignees
Labels

Comments

@bassosimone
Copy link
Member

bassosimone commented Sep 11, 2018

In the new OONI app @lorenzoPrimi is coding it like this:

    self.backgroundTask = [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{
        [[UIApplication sharedApplication] endBackgroundTask:self.backgroundTask];
        self.backgroundTask = UIBackgroundTaskInvalid;
    }];

Since one is supposed to fork the app and do further work, it's probably nice to include already the support for a background task, even though it's not strictly necessary.

There is probably more to do. Let's ask @lorenzoPrimi when it's time to add this feature!

@bassosimone bassosimone self-assigned this Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant