Search code examples
iosgoogle-signinios8-share-extensionshare-extension

Retrieve google user from ios extension


I am trying to create a share extension for my application which requires to login to Google from the extension. I've setup the sharing group keychain and am able to write from the main application and read the extension target. But I can't login to Google from the extension because GIDSignIn.sharedInstance().hasAuthInKeychain() always returns false.

Is there any way to login to Google from an extension and how do I do that? Any help would be appreciated.


Solution

  • No answer until now. I finally rewrite the Google login by using Aerogear framework. Now I can able to login from both main target and extension target. This also fix this google logout issue.