react-native-background-task
react-native-background-task copied to clipboard
registerHeadlessTask called multiple times for same key 'BackgroundTask'
Hi,
I am getting the following warning after reopening the app or reloading it.
registerHeadlessTask called multiple times for same key 'BackgroundTask'
You're probably executing BackgroundTask.define()
multiple times, which you shouldn't. You should define once and afterwards you can BackgroundTask.schedule()
.
I have got this error. Please solve it.
and doesn't work on background.
I have the same issue. Does anyone know a solution? Greetings Oli
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 got the same warning.
Any body fine the solution ?
@hadpro24 Did u solve this problem ?
I am facing the same issue
and doesn't work on background.
i have the same problem, any solution to solve this problem?
Same problem here.
any update ?
Greetings
Any updates from this, I'm still facing the same issue everyone else has.
Regards
any update
I have the Same issue??? But I have an idea.we can use this ['https://reactnative.dev/docs/headless-js-android'] for More Information Visit site
any solution?
?
same issue for me