Skip to content

Commit 5e71171

Browse files
Update Swift Example Method (#775)
* 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>
1 parent 18b33e2 commit 5e71171

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/new-monkeys-marry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-native-app-auth': patch
3+
---
4+
5+
correct swift setup example code

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ class AppDelegate: UIApplicationDelegate, RNAppAuthAuthorizationFlowManager { //
410410
_ app: UIApplication,
411411
open url: URL,
412412
options: [UIApplicationOpenURLOptionsKey: Any] = [:]) -> Bool {
413-
return authorizationFlowManagerDelegate?.resumeExternalUserAgentFlowWithURL(with: url) ?? false
413+
return authorizationFlowManagerDelegate?.resumeExternalUserAgentFlow(with: url) ?? false
414414
}
415415
}
416416
```

0 commit comments

Comments
 (0)