Skip to content

Commit

Permalink
Update Swift Example Method (#775)
Browse files Browse the repository at this point in the history
* Update Swift Example Method

When I am trying to build in my swift based app I needed to make the following change in order to compile with the latest version of this library.

* chore: added changeset

---------

Co-authored-by: Rob Walker <hi@robwalker.co>
  • Loading branch information
miblanchard and robwalkerco authored Sep 5, 2023
1 parent 18b33e2 commit 5e71171
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/new-monkeys-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-native-app-auth': patch
---

correct swift setup example code
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ class AppDelegate: UIApplicationDelegate, RNAppAuthAuthorizationFlowManager { //
_ app: UIApplication,
open url: URL,
options: [UIApplicationOpenURLOptionsKey: Any] = [:]) -> Bool {
return authorizationFlowManagerDelegate?.resumeExternalUserAgentFlowWithURL(with: url) ?? false
return authorizationFlowManagerDelegate?.resumeExternalUserAgentFlow(with: url) ?? false
}
}
```
Expand Down

0 comments on commit 5e71171

Please sign in to comment.