File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
articles/quickstart/native/react-native Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -86,24 +86,11 @@ At runtime, the `applicationId` value will automatically update with your applic
86
86
### Configure iOS
87
87
#### AppDelegate Setup (Choose Based on Architecture)
88
88
89
- If You're Using (Swift - ` ios/<YOUR PROJECT>/AppDelegat.swift ` ) update the following:
89
+ If You're Using (Swift - ` ios/<YOUR PROJECT>/AppDelegat.swift ` ) add the following in ` AppDelegate ` class :
90
90
91
91
``` swift
92
-
93
- class AppDelegate : RCTAppDelegate {
94
- // ... your existing code ...
95
- // update bundleURL method -> add return
96
- override func bundleURL () -> URL? {
97
- #if DEBUG
98
- return RCTBundleURLProvider.sharedSettings ().jsBundleURL (forBundleRoot : " index" )
99
- #else
100
- return Bundle.main .url (forResource : " main" , withExtension : " jsbundle" )
101
- #endif
102
- }
103
- // add the below method
104
- override func application (_ app : UIApplication, open url : URL, options : [UIApplication.OpenURLOptionsKey : Any ] = [: ]) -> Bool {
105
- return Auth0.resumeAuth (url, options : options)
106
- }
92
+ func application (_ app : UIApplication, open url : URL, options : [UIApplication.OpenURLOptionsKey : Any ] = [: ]) -> Bool {
93
+ return RCTLinkingManager.application (app, open : url, options : options)
107
94
}
108
95
```
109
96
If You're Using (Objective-C++ - ` ios/<YOUR PROJECT>/AppDelegate.mm ` ) add the following:
You can’t perform that action at this time.
0 commit comments