'notificationsEnabled: false' but I still get the notification
Your Environment
- Plugin version: latest (installed on 15th October 2020)
- Platform: Android
- OS version: 10
- Device manufacturer and model: Xiaomi Mi A2
- Running in Simulator: No
- React Native version: 0.61.0
- Plugin configuration options: BackgroundGeolocation.configure({ desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY, stationaryRadius: 10, distanceFilter: 5, notificationsEnabled: false, startForeground: false, notificationTitle: '', notificationText: '', debug: false, startOnBoot: false, stopOnTerminate: true, locationProvider: BackgroundGeolocation.DISTANCE_FILTER_PROVIDER, interval: 10000, fastestInterval: 5000, activitiesInterval: 10000, stopOnStillActivity: false, url: 'http://192.168.81.15:3000/location', httpHeaders: {}, // customize post properties postTemplate: null });
- Link to your project:
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.
I'm also encountering this problem
@ZioPepito I found the solution. If you set debug: false, the notifications will stop
debug is already set to false, so doesn't work for me :(
Any solution to this?
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.
debug is already set to false, so doesn't work for me :(
set debug=false, delete and rebuild the app worked for me.
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.