diff --git a/articles/quickstart/native/react-native/interactive.md b/articles/quickstart/native/react-native/interactive.md index 30f176e236..7aa4ded33c 100644 --- a/articles/quickstart/native/react-native/interactive.md +++ b/articles/quickstart/native/react-native/interactive.md @@ -69,7 +69,11 @@ pod install -
At runtime, the applicationId value will automatically update with your application's package name or ID (e.g. com.example.app). You can change this value from the build.gradle file. You can also check it at the top of your AndroidManifest.xml file.
In the file ios/<YOUR PROJECT>/AppDelegate.mm, add the following:
#import <React/RCTLinkingManager.h>
+At runtime, the applicationId value will automatically update with your application's package name or ID (e.g. com.example.app). You can change this value from the build.gradle file. You can also check it at the top of your AndroidManifest.xml file.
+Configure iOS
AppDelegate Setup (Choose Based on Architecture)
If you're using (Swift - ios/<YOUR PROJECT>/AppDelegat.swift) add the following in `AppDelegate` class:
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
+ return RCTLinkingManager.application(app, open: url, options: options)
+}
+If you're using (Objective-C++ - ios/<YOUR PROJECT>/AppDelegate.mm) add the following:
#import <React/RCTLinkingManager.h>
diff --git a/fr-ca/articles/quickstart/native/react-native/00-login.md b/fr-ca/articles/quickstart/native/react-native/00-login.md
index c54aef2778..75f4499ce0 100644
--- a/fr-ca/articles/quickstart/native/react-native/00-login.md
+++ b/fr-ca/articles/quickstart/native/react-native/00-login.md
@@ -84,8 +84,16 @@ At runtime, the `applicationId` value will automatically update with your applic
:::
### Configure iOS
+#### AppDelegate Setup (Choose Based on Architecture)
-In the file `ios//AppDelegate.mm` add the following:
+If you're using (Swift - `ios//AppDelegat.swift`) add the following in `AppDelegate` class:
+
+```swift
+func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
+ return RCTLinkingManager.application(app, open: url, options: options)
+}
+```
+If you're using (Objective-C++ - `ios//AppDelegate.mm`) add the following:
```objc
#import
diff --git a/ja-jp/articles/quickstart/native/react-native/00-login.md b/ja-jp/articles/quickstart/native/react-native/00-login.md
index c54aef2778..75f4499ce0 100644
--- a/ja-jp/articles/quickstart/native/react-native/00-login.md
+++ b/ja-jp/articles/quickstart/native/react-native/00-login.md
@@ -84,8 +84,16 @@ At runtime, the `applicationId` value will automatically update with your applic
:::
### Configure iOS
+#### AppDelegate Setup (Choose Based on Architecture)
-In the file `ios//AppDelegate.mm` add the following:
+If you're using (Swift - `ios//AppDelegat.swift`) add the following in `AppDelegate` class:
+
+```swift
+func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
+ return RCTLinkingManager.application(app, open: url, options: options)
+}
+```
+If you're using (Objective-C++ - `ios//AppDelegate.mm`) add the following:
```objc
#import