registerHeadlessTask called multiple times for same key 'BackgroundTask'

See original GitHub issue

Hi,

I am getting the following warning after reopening the app or reloading it.

registerHeadlessTask called multiple times for same key 'BackgroundTask'

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:17
  • Comments:15

github_iconTop GitHub Comments

8reactions
albertpbcommented, Feb 6, 2020

The same problem. React native version: 0.61.5 if that helps. I think it happens only in development environment when app reloads.

3reactions
OliEfrcommented, Nov 19, 2019

I have the same issue. Does anyone know a solution? Greetings Oli

Read more comments on GitHub >

github_iconTop 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 >

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