I am having a problem with Google Sign-in which is not being redirected back to my application.
I followed the steps ( https://developers.google.com/identity/sign-in/ios/start-integrating ), installed cocoapods, downloaded GoogleService-Info.plist (added it to all my goals), added URL types (mine package id and then my return client id to my goal and followed the line steps.
Here is the plist CFBundleURLTypes source code:
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>MY_REVERSE_CLIENT_ID</string>
</array>
<key>CFBundleURLName</key>
<string>MY_BUNDLE_ID</string>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>MY_BUNDLE_ID</string>
</array>
<key>CFBundleURLName</key>
<string>MY_BUNDLE_ID</string>
</dict>
In the App Delegate, I configured [GGLContext sharedInstance] and in the openURL application, which I added -
return [[GIDSignIn sharedInstance] handleURL: url sourceApplication: sourceApplication annotations: annotations];
Google Plus , , .
, iOS9. iOS8.
com-google-gidconsent com-google-gidconsent-google LSApplicationQueriesSchemes plist, , , .
, Google , .
(, ). .
, Google, [[GIDSignIn sharedInstance] signIn]; Google Plus . google plus , . "", . Google Plus. openURL , .
, plist com-google-gidconsent-google com.google.gidconsent URL- , openURL ,
[[GIDSignIn sharedInstance] handleURL: url sourceApplication: sourceApplication : ];
NO.
.