I have integrated google signin in my app. The sign in is perfectly working with webview. But when I run the app on device,the google app is opening and after signed in no data is getting fetched. So my question is, how to solve this error or how to stop opening the google app when I click on signin button.
Note : I don't want to uninstall g+ app.
Well, you can simply throw away Google+ Sign In SDK and work with the API manually.
In simple steps:
https://accounts.google.com/o/oauth2/authplus attributes) in Safari / Webview / Safari View Controller
-application:openURL:sourceApplication:annotation:in your App delegate
codeattribute) from this URL
https://accounts.google.com/o/oauth2/token) to obtain Auth token
I realised this flow by reverse-engineering the Google+ library after seeing Google+ library to heavyweight and not effective especially because of some issues with it. You can additionally handle Google+ app this way as well, it's just differs in the initial URL you open.