Skip to content

Commit

Permalink
docs(authentication): update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz authored May 28, 2022
1 parent 03a7809 commit eab0acf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/authentication/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ func application(_ app: UIApplication, open url: URL, options: [UIApplication.Op
}
```

**Attention**: If you use this plugin on **iOS** in combination with `@capacitor-firebase/messaging`, then add the following to your app's `AppDelegate.swift`:

```diff
+ import FirebaseAuth

func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
+ if Auth.auth().canHandle(url) {
+ return true
+ }
return ApplicationDelegateProxy.shared.application(app, open: url, options: options)
}
```

The further installation steps depend on the selected authentication method:

- [Apple Sign-In](/packages/authentication/docs/setup-apple.md)
Expand Down

0 comments on commit eab0acf

Please sign in to comment.