File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
reason-react-native/src/apis Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,25 @@ external canOpenURL: string => Js.Promise.t(bool) = "";
1717
1818[@bs.scope "Linking"] [@bs.module "react-native"]
1919external getInitialURL: unit => Js.Promise.t(Js.Null.t(string)) = "";
20+ ```
2021
21- // multiple externals
22+ As of React Native 0.60
23+ ``` reason
24+ [@bs.scope "Linking"] [@bs.module "react-native"]
25+ external openSettings: unit => Js.Promise.t('a) = "";
26+ ```
27+
28+ As of React Native 0.59.8
29+ ``` reason
2230[@bs.scope "Linking"] [@bs.module "react-native"]
2331external sendIntent: string => unit = "";
32+ ```
2433
25- // multiple externals
34+ As of React Native 0.59.8
35+ ``` reason
2636[@bs.scope "Linking"] [@bs.module "react-native"]
2737external sendIntentWithExtras: (string, array(extra)) => unit = "sendIntent";
38+ ```
2839
2940[ @bs .scope "Linking"] [ @bs .module "react-native"]
3041external addEventListener:
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ external canOpenURL: string => Js.Promise.t(bool) = "";
1111[@ bs . scope "Linking" ] [@ bs . module "react-native" ]
1212external getInitialURL : unit => Js . Promise . t (Js . Null . t (string )) = "" ;
1313
14+ [@ bs . scope "Linking" ] [@ bs . module "react-native" ]
15+ external openSettings : unit => Js . Promise . t (' a ) = "" ;
16+
1417// multiple externals
1518[@ bs . scope "Linking" ] [@ bs . module "react-native" ]
1619external sendIntent : string => unit = "" ;
You can’t perform that action at this time.
0 commit comments