cowbell / cordova-plugin-geofence

Geofencing plugin for cordova
Apache License 2.0
264 stars 318 forks source link

Android: Geofence not registering when entering and app is closed. #234

Open Syirrus opened 7 years ago

Syirrus commented 7 years ago

Hello guys. I'm having trouble getting geofence plugin to work when my test app is closed. I'm all set up on meteor and when the app is open recently, I receive a notification from my geofence. If the app is closed, it's a no go. Is this a GPS issue?

I'm testing on a nexus 6

seed880505 commented 7 years ago

@Syirrus As the author said, if you use plugin's local notification, it should work even closed app. The limitation of Android is shown only if you use custom js inside onTransitionReceived(). So, check your radius greater than 200 and check your mobile log to ensure geofence triggered or not by system.