No task request with identifier <decode: missing data> has been scheduled
See original GitHub issueYour 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
- Check Fetch/Processing in capabilities file
- Added Transistorsoft string to plist
- Added changes to AppDelegate.m
- 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:
- Created a year ago
- Comments:11 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I suggest you try the /example app in this repo
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 :>