-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Crashing on Fence Add when User inside Fence #158
Comments
I narrowed this crash to happening only when a fence is created when the user is inside that fence. Updating the bug description. |
Has anyone figured out any solution to this? App is crashing when I add multiple geofence and user is already inside fence. |
Just for reference, it looks like at least @nabinkumarn was able to solve their problem using the suggestion here: #113 (comment)
|
As found in the comments of cowbell#158 databases shouldn't be closed as per this comment from a Google Engineer on the subject. After some testing I have not been able to replicate the issue after removing all instances of database.close()
As found in the comments of cowbell#158 databases shouldn't be closed as per this comment from a Google Engineer on the subject. After some testing I have not been able to replicate the issue after removing all instances of database.close()
Fixed in #200 |
Hi Cowbell Team,
I'm using your plugin in an Ionic 2 application. The plugin works fine in iOS. The plugin is crashing the app on Android any time the addOrUpdate method is called to create a Geofence the user is currently within.
Environment Info:
Stacktrace
Steps to Reproduce:
geofence.addOrUpdate
method in your code.Thoughts on a solution
It appears from the stacktrace the crash is kicked off in your LocalStorage.java file on line 53. https://github.com/cowbell/cordova-plugin-geofence/blob/master/src/android/LocalStorage.java#L53
The text was updated successfully, but these errors were encountered: