diff --git a/versioned_docs/version-7.x/deep-linking.md b/versioned_docs/version-7.x/deep-linking.md index 087ef1c80d..f923c4775f 100755 --- a/versioned_docs/version-7.x/deep-linking.md +++ b/versioned_docs/version-7.x/deep-linking.md @@ -128,7 +128,7 @@ See [Expo's documentation on Android App Links](https://docs.expo.dev/linking/an Let's configure the native iOS app to open based on the `example://` URI scheme. -You'll need to add the `LinkingIOS` folder into your header search paths as described [here](https://reactnative.dev/docs/linking-libraries-ios#step-3). Then you'll need to add the following lines to your or `AppDelegate.swift` or `AppDelegate.mm` file: +You'll need to add the `LinkingIOS` folder into your header search paths as described [here](https://reactnative.dev/docs/linking-libraries-ios#step-3). Then you'll need to add the following lines to your `AppDelegate.swift` or `AppDelegate.mm` file: @@ -165,13 +165,14 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal func application( _ application: UIApplication, continue userActivity: NSUserActivity, - restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { - return RCTLinkingManager.application( - application, - continue: userActivity, - restorationHandler: restorationHandler - ) - } + restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void +) -> Bool { + return RCTLinkingManager.application( + application, + continue: userActivity, + restorationHandler: restorationHandler + ) +} ``` diff --git a/versioned_docs/version-8.x/deep-linking.md b/versioned_docs/version-8.x/deep-linking.md index fa8703b37c..697096792b 100755 --- a/versioned_docs/version-8.x/deep-linking.md +++ b/versioned_docs/version-8.x/deep-linking.md @@ -128,7 +128,7 @@ See [Expo's documentation on Android App Links](https://docs.expo.dev/linking/an Let's configure the native iOS app to open based on the `example://` URI scheme. -You'll need to add the `LinkingIOS` folder into your header search paths as described [here](https://reactnative.dev/docs/linking-libraries-ios#step-3). Then you'll need to add the following lines to your or `AppDelegate.swift` or `AppDelegate.mm` file: +You'll need to add the `LinkingIOS` folder into your header search paths as described [here](https://reactnative.dev/docs/linking-libraries-ios#step-3). Then you'll need to add the following lines to your `AppDelegate.swift` or `AppDelegate.mm` file: @@ -165,13 +165,14 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal func application( _ application: UIApplication, continue userActivity: NSUserActivity, - restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { - return RCTLinkingManager.application( - application, - continue: userActivity, - restorationHandler: restorationHandler - ) - } + restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void +) -> Bool { + return RCTLinkingManager.application( + application, + continue: userActivity, + restorationHandler: restorationHandler + ) +} ```