registerHeadlessTask called multiple times for same key 'BackgroundTask'
See original GitHub issueHi,
I am getting the following warning after reopening the app or reloading it.
registerHeadlessTask called multiple times for same key 'BackgroundTask'
Issue Analytics
- State:
- Created 5 years ago
- Reactions:17
- Comments:15
Top Results From Across the Web
registerHeadlessTask called multiple times for same key ...
Hi,. I am getting the following warning after reopening the app or reloading it. registerHeadlessTask called multiple times for same key ...
Read more >Hi, Thanks for the tutorial.. I am getting an error on… | by Deepak
The error is 'registerHeadlessTask or registerCancellableHeadlessTask called multiple times for same key 'BackgroundTask'' and i cant find ...
Read more >Can't fetch location in background after 2-3 hours - Issuehunt
WARN registerHeadlessTask or registerCancellableHeadlessTask called multiple times for same key 'com.marianhello.bgloc.react.headless.Task' ...
Read more >How to use Headless task to fetch data every 15 seconds ...
AlarmManager seems to work only for long period. I've found some kind of workaround but it requires calling a Callback multiple times, but...
Read more >Run React Native background tasks with Headless JS
WorkManager can schedule one-time or periodic tasks in a simple, ... WorkRequest tells WorkManager how and when our background task should ...
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
The same problem. React native version: 0.61.5 if that helps. I think it happens only in development environment when app reloads.
I have the same issue. Does anyone know a solution? Greetings Oli