christocracy / cordova-plugin-background-geolocation

Sophisticated, battery-conscious, cross-platform background-geolocation with motion-detection
http://transistorsoft.github.io/cordova-background-geolocation
492 stars 743 forks source link

Android persistent notification overwriting #240

Closed jgillard closed 8 years ago

jgillard commented 8 years ago

I'm using this plugin alongside cordova-plugin-local-notifications and have just hit a problem. When starting the background geopositioning, the persistent notification appears in the drawer as expected. The second local notification that fires (I increment the IDs starting from 0) is replacing the original background geolocation one, which is then persistent so I cannot dismiss it. Is this a mix-up of notification IDs or something similar?