Skip to content

Manual Background Refresh Failure #6

@jadenreyna

Description

@jadenreyna

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions