Skip to content
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

IllegalStateException in GeofencingService #60

Open
JFreakDK opened this issue Aug 10, 2020 · 0 comments
Open

IllegalStateException in GeofencingService #60

JFreakDK opened this issue Aug 10, 2020 · 0 comments

Comments

@JFreakDK
Copy link
Contributor

JFreakDK commented Aug 10, 2020

In the crash section of google play console this error occurs a lot in our Android app:

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3793)
  at android.app.ActivityThread.access$1400 (ActivityThread.java:241)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1823)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:214)
  at android.app.ActivityThread.main (ActivityThread.java:7156)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:975)
Caused by: java.lang.IllegalStateException: 
  at io.flutter.plugins.geofencing.GeofencingService.startGeofencingService (GeofencingService.kt:65)
  at io.flutter.plugins.geofencing.GeofencingService.onCreate (GeofencingService.kt:114)
  at android.app.ActivityThread.handleCreateService (ActivityThread.java:3781)

To match the line numbers we have deployed this version in our app: https://github.com/tashiwangdi/FlutterGeofencing/blob/master/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt

A similar issue is tracked here: flutter/flutter#59262

I don't know if there is anything specific to the Geofencing plugin that could cause this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant