diff --git a/docs/linking.html b/docs/linking.html index eb05738e8d1..fc8e7aed025 100644 --- a/docs/linking.html +++ b/docs/linking.html @@ -115,8 +115,8 @@ }
If your app is using Universal Links, you'll need to add the following code as well:
-- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity
- restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler
+- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity
+ restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
{
return [RCTLinkingManager application:application
continueUserActivity:userActivity
@@ -156,6 +156,7 @@
removeEventListener
openURL
canOpenURL
+openSettings
getInitialURL
@@ -202,6 +203,7 @@
Determine whether or not an installed app can handle a given URL.
The method returns a Promise object. When it is determined whether or not the given URL can be handled, the promise is resolved and the first parameter is whether or not it can be opened.
+The Promise will reject on Android if it was impossible to check if the URL can be opened, and on iOS if you didn't add the specific scheme in the LSApplicationQueriesSchemes key inside Info.plist (see bellow).
Parameters:
@@ -217,6 +219,17 @@
As of iOS 9, your app needs to provide the LSApplicationQueriesSchemes key inside Info.plist or canOpenURL will always return false.
+
+This method has limitations on iOS 9+. From the official Apple documentation:
+
+
+If your app is linked against an earlier version of iOS but is running in iOS 9.0 or later, you can call this method up to 50 times. After reaching that limit, subsequent calls always return false. If the user reinstalls or upgrades the app, iOS resets the limit.
+
+
+openSettings()
+openSettings();
+
+Open the Settings app and displays the app’s custom settings, if it has any.
getInitialURL()
getInitialURL();
diff --git a/docs/linking/index.html b/docs/linking/index.html
index eb05738e8d1..fc8e7aed025 100644
--- a/docs/linking/index.html
+++ b/docs/linking/index.html
@@ -115,8 +115,8 @@
}
If your app is using Universal Links, you'll need to add the following code as well:
-- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity
- restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler
+- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity
+ restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
{
return [RCTLinkingManager application:application
continueUserActivity:userActivity
@@ -156,6 +156,7 @@
removeEventListener
openURL
canOpenURL
+openSettings
getInitialURL
@@ -202,6 +203,7 @@
Determine whether or not an installed app can handle a given URL.
The method returns a Promise object. When it is determined whether or not the given URL can be handled, the promise is resolved and the first parameter is whether or not it can be opened.
+The Promise will reject on Android if it was impossible to check if the URL can be opened, and on iOS if you didn't add the specific scheme in the LSApplicationQueriesSchemes key inside Info.plist (see bellow).
Parameters:
@@ -217,6 +219,17 @@
As of iOS 9, your app needs to provide the LSApplicationQueriesSchemes key inside Info.plist or canOpenURL will always return false.
+
+This method has limitations on iOS 9+. From the official Apple documentation:
+
+
+If your app is linked against an earlier version of iOS but is running in iOS 9.0 or later, you can call this method up to 50 times. After reaching that limit, subsequent calls always return false. If the user reinstalls or upgrades the app, iOS resets the limit.
+
+
+openSettings()
+openSettings();
+
+Open the Settings app and displays the app’s custom settings, if it has any.
getInitialURL()
getInitialURL();
diff --git a/docs/next/linking.html b/docs/next/linking.html
index c03c80fda4b..dc8a4590a59 100644
--- a/docs/next/linking.html
+++ b/docs/next/linking.html
@@ -203,6 +203,7 @@
Determine whether or not an installed app can handle a given URL.
The method returns a Promise object. When it is determined whether or not the given URL can be handled, the promise is resolved and the first parameter is whether or not it can be opened.
+The Promise will reject on Android if it was impossible to check if the URL can be opened, and on iOS if you didn't add the specific scheme in the LSApplicationQueriesSchemes key inside Info.plist (see bellow).
Parameters:
@@ -218,6 +219,12 @@
As of iOS 9, your app needs to provide the LSApplicationQueriesSchemes key inside Info.plist or canOpenURL will always return false.
+
+This method has limitations on iOS 9+. From the official Apple documentation:
+
+
+If your app is linked against an earlier version of iOS but is running in iOS 9.0 or later, you can call this method up to 50 times. After reaching that limit, subsequent calls always return false. If the user reinstalls or upgrades the app, iOS resets the limit.
+
openSettings()
openSettings();
diff --git a/docs/next/linking/index.html b/docs/next/linking/index.html
index c03c80fda4b..dc8a4590a59 100644
--- a/docs/next/linking/index.html
+++ b/docs/next/linking/index.html
@@ -203,6 +203,7 @@
Determine whether or not an installed app can handle a given URL.
The method returns a Promise object. When it is determined whether or not the given URL can be handled, the promise is resolved and the first parameter is whether or not it can be opened.
+The Promise will reject on Android if it was impossible to check if the URL can be opened, and on iOS if you didn't add the specific scheme in the LSApplicationQueriesSchemes key inside Info.plist (see bellow).
Parameters:
@@ -218,6 +219,12 @@
As of iOS 9, your app needs to provide the LSApplicationQueriesSchemes key inside Info.plist or canOpenURL will always return false.
+
+This method has limitations on iOS 9+. From the official Apple documentation:
+
+
+If your app is linked against an earlier version of iOS but is running in iOS 9.0 or later, you can call this method up to 50 times. After reaching that limit, subsequent calls always return false. If the user reinstalls or upgrades the app, iOS resets the limit.
+
openSettings()
openSettings();