react-native-background-geolocation-example icon indicating copy to clipboard operation
react-native-background-geolocation-example copied to clipboard

How to change/remove notification icon?

Open pavelustenko opened this issue 5 years ago • 0 comments

When I set notificationIconSmall, the service work as expected, but the notification turns into "Application <Appname> is running" notification. My Config is: BackgroundGeolocation.configure({ desiredAccuracy: BackgroundGeolocation.MEDIUM_ACCURACY, stationaryRadius: 50, distanceFilter: 50, notificationTitle: 'Служба местоположения', notificationText: 'запущена', debug: false, startOnBoot: false, stopOnTerminate: true, locationProvider: BackgroundGeolocation.ACTIVITY_PROVIDER, interval: 10000, notificationIconSmall: 'ic_notification', fastestInterval: 10000, activitiesInterval: 10000, stopOnStillActivity: false, }); It seems to be a documentation lack on this case. How to change notification icon properly?

pavelustenko avatar Apr 23 '20 01:04 pavelustenko