{"action":"created","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/118","repository_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus","labels_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/118/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/118/events","html_url":"https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/118","id":107010217,"number":118,"title":"App Crash","user":{"login":"zigzag-way","id":13463960,"avatar_url":"https://avatars.githubusercontent.com/u/13463960?v=3","gravatar_id":"","url":"https://api.github.com/users/zigzag-way","html_url":"https://github.com/zigzag-way","followers_url":"https://api.github.com/users/zigzag-way/followers","following_url":"https://api.github.com/users/zigzag-way/following{/other_user}","gists_url":"https://api.github.com/users/zigzag-way/gists{/gist_id}","starred_url":"https://api.github.com/users/zigzag-way/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zigzag-way/subscriptions","organizations_url":"https://api.github.com/users/zigzag-way/orgs","repos_url":"https://api.github.com/users/zigzag-way/repos","events_url":"https://api.github.com/users/zigzag-way/events{/privacy}","received_events_url":"https://api.github.com/users/zigzag-way/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2015-09-17T15:27:24Z","updated_at":"2016-04-22T18:54:30Z","closed_at":null,"body":"Since I integrated this plugin I began recieving lots of crashes like this one:\r\n```\r\nFatal Exception: java.lang.RuntimeException\r\nUnable to resume activity {mobi.appcoins/mobi.appcoins.AppCoins}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=0, data=null} to activity {mobi.appcoins/mobi.appcoins.AppCoins}: java.lang.NullPointerException\r\n raw\r\nandroid.app.ActivityThread.performResumeActivity (ActivityThread.java:2458)\r\nandroid.app.ActivityThread.handleResumeActivity (ActivityThread.java:2486)\r\nandroid.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2000)\r\nandroid.app.ActivityThread.access$600 (ActivityThread.java:128)\r\nandroid.app.ActivityThread$H.handleMessage (ActivityThread.java:1161)\r\nandroid.os.Looper.loop (Looper.java:137)\r\nandroid.app.ActivityThread.main (ActivityThread.java:4517)\r\njava.lang.reflect.Method.invokeNative (Method.java)\r\ndalvik.system.NativeStart.main (NativeStart.java)\r\n```"},"comment":{"url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/comments/213551799","html_url":"https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/118#issuecomment-213551799","issue_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/118","id":213551799,"user":{"login":"sammuggPS","id":8354240,"avatar_url":"https://avatars.githubusercontent.com/u/8354240?v=3","gravatar_id":"","url":"https://api.github.com/users/sammuggPS","html_url":"https://github.com/sammuggPS","followers_url":"https://api.github.com/users/sammuggPS/followers","following_url":"https://api.github.com/users/sammuggPS/following{/other_user}","gists_url":"https://api.github.com/users/sammuggPS/gists{/gist_id}","starred_url":"https://api.github.com/users/sammuggPS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammuggPS/subscriptions","organizations_url":"https://api.github.com/users/sammuggPS/orgs","repos_url":"https://api.github.com/users/sammuggPS/repos","events_url":"https://api.github.com/users/sammuggPS/events{/privacy}","received_events_url":"https://api.github.com/users/sammuggPS/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T18:54:30Z","updated_at":"2016-04-22T18:54:30Z","body":"Oh sorry I didn't see googleplus.login in nested in the code snippet you posted.\r\n\r\nMy recommendation is that you use login and trySilentLogin separately.\r\n\r\ni.e., on app start up, call trySilentLogin and handle the result of that. Then provide a button of some sort for the user to click when they are ready to log in to the application.\r\n\r\n(I'm glad to hear it's only some % of users. That means that it could be an issue with their version of Android or Google Play services. I don't know much more than that.)"}}