You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to include your project in my react-native app and run the example in the readme, I get an app crash with the below stacktrace...
D/AndroidRuntime(16589): Shutting down VM
E/AndroidRuntime(16589): FATAL EXCEPTION: main
E/AndroidRuntime(16589): Process: com.astarreactnative, PID: 16589
E/AndroidRuntime(16589): java.lang.NoClassDefFoundError: com.marianhello.bgloc.ActivityRecognitionLocationProvider
E/AndroidRuntime(16589): at com.marianhello.bgloc.LocationProviderFactory.getInstance(LocationProviderFactory.java:37)
E/AndroidRuntime(16589): at com.marianhello.bgloc.LocationService.onStartCommand(LocationService.java:237)
E/AndroidRuntime(16589): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2924)
E/AndroidRuntime(16589): at android.app.ActivityThread.access$2100(ActivityThread.java:155)
E/AndroidRuntime(16589): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1415)
E/AndroidRuntime(16589): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(16589): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(16589): at android.app.ActivityThread.main(ActivityThread.java:5343)
E/AndroidRuntime(16589): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(16589): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(16589): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
E/AndroidRuntime(16589): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:702)
D/ActivityManager( 930): IKSWL-9411 handleMessage SHOW_ERROR_MSG
I do not have the same issue with the other provider, so maybe it is a packaging issue?
Your Environment
Plugin version: "^0.2.0-alpha.5",
Platform: Android
OS version: 5.1.1
Device manufacturer and model: Moto G3
React Native version: 0.36.0
Plugin configuration options: Copied from Readme
One thing to note, I had to fight play services dependencies issues between this app and react-native-google-signin. I'm not sure if I could be causing the issue, but I did pin the following compile dependencies to skirt those transitive dep issues:
After finaggling play-services dependencies and multidex, I've narrowed it down to dependencies/proguard. I've resolved my issue by pinning play services deps to a particular version, using multidex, and making sure I have included play-services-location.
Trying to include your project in my react-native app and run the example in the readme, I get an app crash with the below stacktrace...
I do not have the same issue with the other provider, so maybe it is a packaging issue?
Your Environment
One thing to note, I had to fight play services dependencies issues between this app and react-native-google-signin. I'm not sure if I could be causing the issue, but I did pin the following compile dependencies to skirt those transitive dep issues:
Some more logs,
The only react-native logs I see:
I get the same logs using the ANDROID_DISTANCE_FILTER_PROVIDER provider, but it does seem to work.
Thanks in advance, and let me know if I can provide anything else.
The text was updated successfully, but these errors were encountered: