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

See original GitHub issue

Your Environment

  • Plugin version: 4.1.2
  • Platform: iOS
  • OS version: 16.0.2
  • Device manufacturer / model: iPhone
  • React Native version (react-native -v): “0.68.2”
  • Plugin config

Expected Behavior

The simulated background task runs.

Actual Behavior

The simulated background task never runs.

Steps to Reproduce

  1. Check Fetch/Processing in capabilities file
  2. Added Transistorsoft string to plist
  3. Added changes to AppDelegate.m
  4. Added node_modules/react-native-background-fetch/ios/RNBackgroundFetch/RNBackgroundFetch+AppDelegate.m to project

Context

Simulate background task.

Debug logs

iOS

(lldb) e -l objc – (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@“com.transistorsoft.fetch”] 2022-10-11 17:33:48.620501-0700 RealityMaps[2318:156959] Simulating launch for task with identifier com.transistorsoft.fetch 2022-10-11 17:33:48.803767-0700 RealityMaps[2318:156959] Simulating launch for task with identifier com.transistorsoft.fetch 2022-10-11 17:33:51.256109-0700 RealityMaps[2318:157236] No task request with identifier <decode: missing data> has been scheduled 2022-10-11 17:33:51.256726-0700 RealityMaps[2318:157236] No task request with identifier <decode: missing data> has been scheduled

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
christocracycommented, Nov 1, 2022

I suggest you try the /example app in this repo

0reactions
StampixSMOcommented, Dec 1, 2022

Just wanted to drop this in case useful to anybody: Worked on this for an hour only to find out that BG refresh was disabled in my phone settings :>

Read more comments on GitHub >

github_iconTop Results From Across the Web

BackgroundTasks Refresh debug error: No task request with ...
BackgroundTasks Refresh debug error: No task request with identifier <decode: missing data> has been scheduled.
Read more >
Trying to use BGAppRefreshTask and getting error No task ...
Feel free to see my MCVE, which does not result in that “No task request with identifier <decode: missing data> has been scheduled”...
Read more >
Error: No task request with identifier <decode: missing data ...
Error: No task request with identifier <decode: missing data> has been scheduled #419. Open.
Read more >
iOS : Trying to use BGAppRefreshTask and getting error No ...
iOS : Trying to use BGAppRefreshTask and getting error No task request with identifier decode : missing data has been scheduled [ Beautify ......
Read more >
iOS background processing - Background App Refresh Task
Unlike Android, iOS has restrictions for the use of background processing in an attempt ... Starting simulated task: <decode: missing data>
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found