Closed aanorbel closed 1 month ago
Closes: https://github.com/ooni/probe-multiplatform/issues/88 Closes: https://github.com/ooni/probe-multiplatform/issues/87
Note : Use e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"org.ooni.probe.autorun-task"] to test iOS background task in actual device.
e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"org.ooni.probe.autorun-task"]
PS: Task will not launch in in emulator
https://developer.apple.com/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app
https://developer.apple.com/documentation/backgroundtasks
Closes: https://github.com/ooni/probe-multiplatform/issues/88 Closes: https://github.com/ooni/probe-multiplatform/issues/87
Note : Use
e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"org.ooni.probe.autorun-task"]
to test iOS background task in actual device.PS: Task will not launch in in emulator
https://developer.apple.com/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app
https://developer.apple.com/documentation/backgroundtasks