cowbell / cordova-plugin-geofence

Geofencing plugin for cordova
Apache License 2.0
265 stars 316 forks source link

Promises don't resolve/reject #118

Open cmellinas opened 8 years ago

cmellinas commented 8 years ago

Hi,

I use this plugin since 1 month and it was working perfectly But recently on my Android phone, it stopped working.

In fact, addOrUpdate or remove methods don't resolve, nothing happen (initialize method resolve). It's working on IOS and even when cloning Ionic geofence and testing it, I got the same issue (so it's a problem with my phone). I played a lot with geofencing and it seems to be deactivated/blocked What can I do to reactivate it? (I already try removing apps and restarting the phone but same issue)

So I wanted to know what happen when we try to add/remove geofences when it's deactivated? It could be great to pass a timeout to be sure promise resolve

cmellinas commented 8 years ago

The issue was caused by Google Play Services which was deactivated I think An other native app said to update it and now the plugin work again as before Is there no way to know when we are in this case?

tsubik commented 8 years ago

Hey, thanks for reporting this. Also, this is related to #99