{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/504","repository_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation","labels_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/504/comments","events_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/504/events","html_url":"https://github.com/transistorsoft/react-native-background-geolocation/issues/504","id":331984750,"node_id":"MDU6SXNzdWUzMzE5ODQ3NTA=","number":504,"title":"Runtime error java.lang.NoClassDefFoundError: com.google.android.gms.location.ActivityRecognitionResult ","user":{"login":"yanniser","id":24252376,"node_id":"MDQ6VXNlcjI0MjUyMzc2","avatar_url":"https://avatars3.githubusercontent.com/u/24252376?v=4","gravatar_id":"","url":"https://api.github.com/users/yanniser","html_url":"https://github.com/yanniser","followers_url":"https://api.github.com/users/yanniser/followers","following_url":"https://api.github.com/users/yanniser/following{/other_user}","gists_url":"https://api.github.com/users/yanniser/gists{/gist_id}","starred_url":"https://api.github.com/users/yanniser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanniser/subscriptions","organizations_url":"https://api.github.com/users/yanniser/orgs","repos_url":"https://api.github.com/users/yanniser/repos","events_url":"https://api.github.com/users/yanniser/events{/privacy}","received_events_url":"https://api.github.com/users/yanniser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-06-13T13:02:08Z","updated_at":"2018-06-17T09:41:09Z","closed_at":null,"author_association":"NONE","body":"## Your Environment\r\n* Plugin version:2.10.1\r\n* Platform: Android\r\n* OS version:\r\n* Device manufacturer / model:Emulator\r\n* React Native version (`react-native -v`):0.50.4\r\n* Plugin config\r\nvar options = {\r\ndesiredAccuracy: 25,\r\nstationaryRadius: 25,\r\ndistanceFilter: 25,\r\ndisableElasticity: false,\r\nlogLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,\r\nlocationAuthorizationRequest: 'WhenInUse',\r\ntrackingMode: 'location',\r\nlocationTimeout: 60,\r\ndebug: false,\r\nstartOnBoot: false,\r\nstopOnTerminate: false,\r\nactivityType: 'AutomotiveNavigation'\r\n};\r\n\r\n## Expected Behavior\r\nApp should work\r\n\r\n## Actual Behavior\r\nApp Crashes at runtime \r\n\r\n## Steps to Reproduce\r\n<!--- reproduce this issue; include code to reproduce, if relevant -->\r\n1. Install the app \r\n2.Launch the app\r\n\r\n## Context\r\nThis is my app/Build.gradle\r\n\r\ndependencies {\r\n    compile (project(':react-native-background-geolocation')){\r\n        exclude group: 'com.google.android.gms', module: 'play-services-location'\r\n    }\r\n    compile ('com.google.android.gms:play-services-location:11.2.0')\r\n    compile project(':react-native-config')\r\n    compile project(':react-native-device-info')\r\n    compile project(':react-native-fcm')\r\n    compile project(':react-native-firebase-analytics')\r\n    compile project(':react-native-linear-gradient')\r\n    compile project(':react-native-sentry')\r\n    compile project(':react-native-svg')\r\n    compile fileTree(dir: \"libs\", include: [\"*.jar\"])\r\n    compile \"com.facebook.react:react-native:+\"  // From node_modules\r\n    compile 'com.google.firebase:firebase-core:10.0.1'\r\n    compile(name: 'tslocationmanager', ext: 'aar')\r\n    //compile ('com.google.android.gms:play-services-base:10.2.6'){\r\n    //    force = true;\r\n    //}\r\n    compile ('com.google.android.gms:play-services-maps:11.2.0'){\r\n        force = true;\r\n    }\r\n    debugCompile 'com.facebook.stetho:stetho:1.5.0'\r\n    debugCompile 'com.facebook.stetho:stetho-okhttp3:1.5.0'\r\n}\r\n\r\napply plugin: \"com.google.gms.google-services\"\r\n\r\n\r\n## Debug logs\r\njava.lang.NoClassDefFoundError: com.google.android.gms.location.ActivityRecognitionResult\r\n \tat libcore.reflect.InternalNames.getClass(InternalNames.java:55)\r\n \tat java.lang.Class.getDexCacheType(Class.java:476)\r\n \tat java.lang.reflect.AbstractMethod.getParameterTypes(AbstractMethod.java:166)\r\n \tat java.lang.reflect.Method.getParameterTypes(Method.java:170)\r\n \tat org.greenrobot.eventbus.SubscriberMethodFinder.findUsingReflectionInSingleClass(SubscriberMethodFinder.java:163)\r\n \tat org.greenrobot.eventbus.SubscriberMethodFinder.findUsingInfo(SubscriberMethodFinder.java:88)\r\n \tat org.greenrobot.eventbus.SubscriberMethodFinder.findSubscriberMethods(SubscriberMethodFinder.java:64)\r\n \tat org.greenrobot.eventbus.EventBus.register(EventBus.java:136)\r\n \tat com.transistorsoft.locationmanager.adapter.BackgroundGeolocation.<init>(Unknown Source)\r\n \tat com.transistorsoft.locationmanager.adapter.BackgroundGeolocation.a(Unknown Source)\r\n \tat com.transistorsoft.locationmanager.adapter.BackgroundGeolocation.getInstance(Unknown Source)\r\n \tat com.transistorsoft.rnbackgroundgeolocation.RNBackgroundGeolocationModule.getAdapter(RNBackgroundGeolocationModule.java:995)\r\n \tat com.transistorsoft.rnbackgroundgeolocation.RNBackgroundGeolocationModule.initializeLocationManager(RNBackgroundGeolocationModule.java:990)\r\n \tat com.transistorsoft.rnbackgroundgeolocation.RNBackgroundGeolocationModule.onHostResume(RNBackgroundGeolocationModule.java:259)\r\n \tat com.facebook.react.bridge.ReactContext.onHostResume(ReactContext.java:184)\r\n \tat com.facebook.react.ReactInstanceManager.moveToResumedLifecycleState(ReactInstanceManager.java:674)\r\n \tat com.facebook.react.ReactInstanceManager.moveReactContextToCurrentLifecycleState(ReactInstanceManager.java:709)\r\n \tat com.facebook.react.ReactInstanceManager.setupReactContext(ReactInstanceManager.java:975)\r\n \tat com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:112)\r\n \tat com.facebook.react.ReactInstanceManager$4$2.run(ReactInstanceManager.java:943)\r\n \tat android.os.Handler.handleCallback(Handler.java:739)\r\n \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n \tat com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)\r\n \tat android.os.Looper.loop(Looper.java:148)\r\n \tat com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)\r\n \tat java.lang.Thread.run(Thread.java:818)\r\n Caused by: java.lang.ClassNotFoundException: Didn't find class \"com.google.android.gms.location.ActivityRecognitionResult\" on path: DexPathList[[zip file \"/data/app/com.zengularity.NomadMobile-1/base.apk\"],nativeLibraryDirectories=[/data/app/com.zengularity.NomadMobile-1/lib/x86, /data/app/com.zengularity.NomadMobile-1/base.apk!/lib/x86, /vendor/lib, /system/lib]]\r\n \tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\r\n \tat java.lang.ClassLoader.loadClass(ClassLoader.java:511)\r\n \tat java.lang.ClassLoader.loadClass(ClassLoader.java:469)\r\n \tat libcore.reflect.InternalNames.getClass(InternalNames.java:53)\r\n \t... 25 more\r\n \tSuppressed: java.lang.NoClassDefFoundError: com.google.android.gms.location.ActivityRecognitionResult\r\n \t\tat dalvik.system.DexFile.defineClassNative(Native Method)\r\n \t\tat dalvik.system.DexFile.defineClass(DexFile.java:226)\r\n \t\tat dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)\r\n \t\tat dalvik.system.DexPathList.findClass(DexPathList.java:338)\r\n \t\tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)\r\n \t\t... 28 more\r\n \tSuppressed: java.lang.ClassNotFoundException: com.google.android.gms.location.ActivityRecognitionResult\r\n \t\tat java.lang.Class.classForName(Native Method)\r\n \t\tat java.lang.BootClassLoader.findClass(ClassLoader.java:781)\r\n \t\tat java.lang.BootClassLoader.loadClass(ClassLoader.java:841)\r\n \t\tat java.lang.ClassLoader.loadClass(ClassLoader.java:504)\r\n \t\t... 27 more\r\n \tCaused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available\r\n"},"comment":{"url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/comments/397866963","html_url":"https://github.com/transistorsoft/react-native-background-geolocation/issues/504#issuecomment-397866963","issue_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/504","id":397866963,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzg2Njk2Mw==","user":{"login":"sarykemmoun","id":28590349,"node_id":"MDQ6VXNlcjI4NTkwMzQ5","avatar_url":"https://avatars3.githubusercontent.com/u/28590349?v=4","gravatar_id":"","url":"https://api.github.com/users/sarykemmoun","html_url":"https://github.com/sarykemmoun","followers_url":"https://api.github.com/users/sarykemmoun/followers","following_url":"https://api.github.com/users/sarykemmoun/following{/other_user}","gists_url":"https://api.github.com/users/sarykemmoun/gists{/gist_id}","starred_url":"https://api.github.com/users/sarykemmoun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarykemmoun/subscriptions","organizations_url":"https://api.github.com/users/sarykemmoun/orgs","repos_url":"https://api.github.com/users/sarykemmoun/repos","events_url":"https://api.github.com/users/sarykemmoun/events{/privacy}","received_events_url":"https://api.github.com/users/sarykemmoun/received_events","type":"User","site_admin":false},"created_at":"2018-06-17T09:41:09Z","updated_at":"2018-06-17T09:41:09Z","author_association":"NONE","body":"I don't see react-native-background-geolocation-android anymore, and npm install fails to me with\r\n```\r\nssh://git@github.com/transistorsoft/react-native-background-geolocation-android.git\r\n13 silly fetchPackageMetaData ERROR: Repository not found.\r\n13 silly fetchPackageMetaData fatal: Could not read from remote repository.\r\n```\r\nI wonder if this library still exists."}}
{"actor":{"display_login":"sarykemmoun"}}