mauron85 / react-native-background-geolocation

Background and foreground geolocation plugin for React Native. Tracks user when app is running in background.
Apache License 2.0
1.33k stars 561 forks source link

'notificationsEnabled: false' but I still get the notification #517

Open ZioPepito opened 3 years ago

ZioPepito commented 3 years ago

Your Environment

Context

I am using it in a simple application, I don't want the notification to be there even if the app is in background so i set notificationsEnabled to false in the configure

Expected Behavior

notification shouldn't be there

Actual Behavior

notification is there.

gabimoncha commented 3 years ago

I'm also encountering this problem

gabimoncha commented 3 years ago

@ZioPepito I found the solution. If you set debug: false, the notifications will stop

ZioPepito commented 3 years ago

debug is already set to false, so doesn't work for me :(

Rc85 commented 3 years ago

Any solution to this?

ZioPepito commented 3 years ago

Any solution to this?

I tried for a month more or less and I didn't found a solution. Now I am not working with react anymore.

programandoconro commented 3 years ago

debug is already set to false, so doesn't work for me :(

set debug=false, delete and rebuild the app worked for me.

ZioPepito commented 3 years ago

debug is already set to false, so doesn't work for me :(

set debug=false, delete and rebuild the app worked for me.

Thanks a lot :) As I said I'm not working on that project anymore but I hope this works for others too.