Skip to content

Commit

Permalink
chore: add Info.plist snippet to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sashatalalasha authored Nov 3, 2023
1 parent 94e2ee3 commit 6c758b8
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions flutter-ory-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,23 @@ If you use Google Sign In on iOS, add following variable to .env file
IOS_CLIENT_ID={ios-client-id}.apps.googleusercontent.com
```

Additionally, add reversed Client ID com.googleusercontent.apps.{ios-client.id}
as iOS URL scheme to Info.plist.\
Additionally, add iOS URL scheme to Info.plist. It can be found in additional information of your iOS Client ID.

```xml
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<!-- TODO Replace this value with iOS URL scheme from Google Cloud Console -->
<string>IOS_URL_SCHEME</string>
</array>
</dict>
</array>
```

For more information, see [Google Integration Docs](https://www.ory.sh/docs/kratos/social-signin/google).

### Apple Sign In
Expand Down

0 comments on commit 6c758b8

Please sign in to comment.