{"action":"opened","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/55","labels_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/55/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/55/events","html_url":"https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/55","id":69700667,"number":55,"title":"On Android Error is thrown : FAILED TO RETRIEVE TOKEN","user":{"login":"siddmegadeth","id":5025324,"avatar_url":"https://avatars.githubusercontent.com/u/5025324?v=3","gravatar_id":"","url":"https://api.github.com/users/siddmegadeth","html_url":"https://github.com/siddmegadeth","followers_url":"https://api.github.com/users/siddmegadeth/followers","following_url":"https://api.github.com/users/siddmegadeth/following{/other_user}","gists_url":"https://api.github.com/users/siddmegadeth/gists{/gist_id}","starred_url":"https://api.github.com/users/siddmegadeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddmegadeth/subscriptions","organizations_url":"https://api.github.com/users/siddmegadeth/orgs","repos_url":"https://api.github.com/users/siddmegadeth/repos","events_url":"https://api.github.com/users/siddmegadeth/events{/privacy}","received_events_url":"https://api.github.com/users/siddmegadeth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-20T23:07:12Z","updated_at":"2015-04-20T23:07:12Z","closed_at":null,"body":"Hi,\r\n\r\nwhile performing google sign in i get an error \r\n\"FAILED TO RETRIEVE TOKEN: UNKNOWN\"\r\n\r\nGenerated SHA1 like below\r\nkeytool -genkey -v -keystore test.keystore -alias test -keyalg RSA -validity 10000\r\n\r\nkeytool -export  -alias test -keystore C:\\keytools\\test.keystore -list -v\r\n\r\nAfterwards got and copied an SHA1 with deep linking enabled\r\npasted the package=\"com.test.app\" from androidmanifest.xml into package name\r\n\r\n\r\nI should be able to retrieve the token and an success object. buts its not happening.\r\n\r\nmy code below is\r\n\r\nfunction googleAuth()\r\n{\r\n\r\n window.plugins.googleplus.login(\r\n    {\r\n      /*'iOSApiKey': '1234567890-abcdefghijklm74bfw.apps.googleusercontent.com'*/\r\n    },\r\n    function (obj) {\r\n      out(\"Google+ Login : \");\r\n      out(JSON.stringify(obj)); // do something useful instead of alerting\r\n    },\r\n    function (msg) {\r\n      out('Google+ Error : ' + msg);\r\n      window.plugins.googleplus.logout(\r\n    function (msg) \r\n    {\r\n      out(\"Logging Off Google+\");\r\n      out(msg); // do something useful instead of alerting\r\n    });\r\n\r\n      //Dicconnect\r\n      window.plugins.googleplus.disconnect(\r\n    function (msg) {\r\n      out(\"Disconnecting Google+\");\r\n      out(msg); // do something useful instead of alerting\r\n    });\r\n\r\n    }\r\n);\r\n\r\nwhere out can be replaced with console.log\r\n\r\nPlease help. Please suggest where i am getting it wrong\r\n\r\n\r\n\r\n"}}