{"action":"created","issue":{"url":"https://api.github.com/repos/gdg-x/frisbee/issues/579","repository_url":"https://api.github.com/repos/gdg-x/frisbee","labels_url":"https://api.github.com/repos/gdg-x/frisbee/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/gdg-x/frisbee/issues/579/comments","events_url":"https://api.github.com/repos/gdg-x/frisbee/issues/579/events","html_url":"https://github.com/gdg-x/frisbee/issues/579","id":141132199,"number":579,"title":"Question about Google SignIn vs Play Games","user":{"login":"tasomaniac","id":763339,"avatar_url":"https://avatars.githubusercontent.com/u/763339?v=3","gravatar_id":"","url":"https://api.github.com/users/tasomaniac","html_url":"https://github.com/tasomaniac","followers_url":"https://api.github.com/users/tasomaniac/followers","following_url":"https://api.github.com/users/tasomaniac/following{/other_user}","gists_url":"https://api.github.com/users/tasomaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/tasomaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasomaniac/subscriptions","organizations_url":"https://api.github.com/users/tasomaniac/orgs","repos_url":"https://api.github.com/users/tasomaniac/repos","events_url":"https://api.github.com/users/tasomaniac/events{/privacy}","received_events_url":"https://api.github.com/users/tasomaniac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gdg-x/frisbee/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-16T00:05:54Z","updated_at":"2016-03-16T09:09:44Z","closed_at":null,"body":"I've looked into the new Sign In API from Google. It is a new dependency in GMS called auth. \r\n\r\nIt really really simplifies the code. And it also simplifies the login process for the users. \r\nMore info: \r\nhttps://developers.google.com/identity/sign-in/android/sign-in\r\n\r\nThe downside is that it cannot be used with Play Games at the same time. \r\n\r\nHere is what I am suggesting. To make the initial experience simpler/smoother, we won't ask for games related things upfront in the FirstStartActivity. It will just be a Google+ login. \r\nThen if the user opens Achievements or Arrow, we will start Games login. \r\n\r\nThe problem with this is that user will not see achievements until they opt-in for Games by pressing Achievements or Arrow. \r\n\r\nThe advantage is that, the code will be simpler, initial experience will be much better, and we can easily have auto-signin. With auto sign in, if the user is recently signed in in another device, Google will give us necessary info and we will skip the page 2. "},"comment":{"url":"https://api.github.com/repos/gdg-x/frisbee/issues/comments/197220988","html_url":"https://github.com/gdg-x/frisbee/issues/579#issuecomment-197220988","issue_url":"https://api.github.com/repos/gdg-x/frisbee/issues/579","id":197220988,"user":{"login":"friedger","id":1449049,"avatar_url":"https://avatars.githubusercontent.com/u/1449049?v=3","gravatar_id":"","url":"https://api.github.com/users/friedger","html_url":"https://github.com/friedger","followers_url":"https://api.github.com/users/friedger/followers","following_url":"https://api.github.com/users/friedger/following{/other_user}","gists_url":"https://api.github.com/users/friedger/gists{/gist_id}","starred_url":"https://api.github.com/users/friedger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedger/subscriptions","organizations_url":"https://api.github.com/users/friedger/orgs","repos_url":"https://api.github.com/users/friedger/repos","events_url":"https://api.github.com/users/friedger/events{/privacy}","received_events_url":"https://api.github.com/users/friedger/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T09:09:44Z","updated_at":"2016-03-16T09:09:44Z","body":"Splitting the login between gamers and non-games is indeed needed (as also commented by Ann-Kathrin B.)\r\n\r\nWe could then restrict achiements to the arrow game and after a certain level of user activities (number of opening or events visited) show a on boarding screen for Arrow.\r\n\r\nNot sure how the code will be simpler if we have to handle two logins but yes, let's do it."}}