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

Manual Background Refresh Failure #6

Open
jadenreyna opened this issue Jan 22, 2021 · 0 comments
Open

Manual Background Refresh Failure #6

jadenreyna opened this issue Jan 22, 2021 · 0 comments

Comments

@jadenreyna
Copy link

Received below error when manually running background refresh

No task request with identifier <decode: missing data> has been scheduled

Code used
e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"com.SO.imagefetcher"]

Steps to recreate

  1. Run application on device
  2. Send application to background (triggers background tasks)
  3. Reopen application and pause application using debugger
  4. Enter code used above into debugger and hit Enter (simulates background task
  5. Resume application using debugger play button

It seems that both tasks are not being registered causing an error in manual call

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

1 participant