{"action":"created","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/238","repository_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus","labels_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/238/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/238/events","html_url":"https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/238","id":157218998,"number":238,"title":"undefined variables.","user":{"login":"yerko18","id":1042883,"avatar_url":"https://avatars.githubusercontent.com/u/1042883?v=3","gravatar_id":"","url":"https://api.github.com/users/yerko18","html_url":"https://github.com/yerko18","followers_url":"https://api.github.com/users/yerko18/followers","following_url":"https://api.github.com/users/yerko18/following{/other_user}","gists_url":"https://api.github.com/users/yerko18/gists{/gist_id}","starred_url":"https://api.github.com/users/yerko18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yerko18/subscriptions","organizations_url":"https://api.github.com/users/yerko18/orgs","repos_url":"https://api.github.com/users/yerko18/repos","events_url":"https://api.github.com/users/yerko18/events{/privacy}","received_events_url":"https://api.github.com/users/yerko18/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-27T14:28:04Z","updated_at":"2016-06-02T14:59:00Z","closed_at":null,"body":"Hello, I have a problem signing, I can only rescue the mail but others appear as undefined variables.\r\n\r\nLast version of cordoba\r\nLatest version of this plugin\r\n\r\nthis is the function:\r\n\r\nfunction login() {\r\n   window.plugins.googleplus.login(\r\n        { 'scopes': 'profile email'\r\n    \t},\r\n        function (obj) {\r\n          document.querySelector(\"#image\").src = obj.imageUrl;\r\n          document.querySelector(\"#image\").style.visibility = 'visible';\r\n          document.querySelector(\"#feedback\").innerHTML = \"Hi, \" + obj.displayName + \", \" + obj.email;\r\n\t\t  alert(\"displayName :\" + obj.displayName + \"\\n\" +\r\n\t\t  \t\t\t\"email :\" + obj.email + \"\\n\" +\r\n \t\t\t\t\t\"userId : \" + obj.userId + \"\\n\" +\r\n \t\t\t\t\t\"displayName : \" +  obj.displayName + \"\\n\" +\r\n \t\t\t\t\t\"imageUrl : \" +  obj.imageUrl + \"\\n\" +\r\n \t\t\t\t\t\"idToken : \" +  obj.idToken + \"\\n\" +\r\n \t\t\t\t\t\"oauthToken : \" +  obj.oauthToken + \"\\n\" +\r\n \t\t\t\t\t\"gender : \" +  obj.gender + \"\\n\" +\r\n \t\t\t\t\t\"givenName : \" +  obj.givenName + \"\\n\" +\r\n \t\t\t\t\t\"middleName : \" +  obj.middleName + \"\\n\" +\r\n \t\t\t\t\t\"familyName : \" +  obj.familyName  + \"\\n\" +\r\n \t\t\t\t\t\"birthday : \" +  obj.birthday + \"\\n\" +\r\n \t\t\t\t\t\"imageUrl : \" +  obj.imageUrl + \"\\n\");\r\n        },\r\n        function (msg) {\r\n          document.querySelector(\"#feedback\").innerHTML = \"error: \" + msg;\r\n        }\r\n    );\r\n  }\r\n\r\nI tested with different gmail accounts and nothing changes\r\n\r\n\r\n\r\n![screenshot_2016-05-27-10-22-39](https://cloud.githubusercontent.com/assets/1042883/15610856/753ed458-23f5-11e6-9ff8-166a8c2a831b.png)\r\n![screenshot_2016-05-27-10-25-16](https://cloud.githubusercontent.com/assets/1042883/15610857/75431432-23f5-11e6-8b23-349d6c03a768.png)\r\n"},"comment":{"url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/comments/223318478","html_url":"https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/238#issuecomment-223318478","issue_url":"https://api.github.com/repos/EddyVerbruggen/cordova-plugin-googleplus/issues/238","id":223318478,"user":{"login":"yerko18","id":1042883,"avatar_url":"https://avatars.githubusercontent.com/u/1042883?v=3","gravatar_id":"","url":"https://api.github.com/users/yerko18","html_url":"https://github.com/yerko18","followers_url":"https://api.github.com/users/yerko18/followers","following_url":"https://api.github.com/users/yerko18/following{/other_user}","gists_url":"https://api.github.com/users/yerko18/gists{/gist_id}","starred_url":"https://api.github.com/users/yerko18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yerko18/subscriptions","organizations_url":"https://api.github.com/users/yerko18/orgs","repos_url":"https://api.github.com/users/yerko18/repos","events_url":"https://api.github.com/users/yerko18/events{/privacy}","received_events_url":"https://api.github.com/users/yerko18/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T14:59:00Z","updated_at":"2016-06-02T14:59:00Z","body":"@vikas0vanvi  \r\n\r\nno, no yet"}}
{"actor":{"display_login":"yerko18"}}