
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
@reason-react-native/inappbrowser
Advanced tools
@reason-react-native/inappbrowserReScript / Reason bindings for
react-native-inappbrowser-reborn.
Exposed as ReactNativeInAppBrowser module.
@reason-react-native/inappbrowser X.y.* means it's compatible with
react-native-inappbrowser-reborn X.y.*
When
react-native-inappbrowser-reborn
is properly installed & configured by following their installation instructions,
you can install the bindings:
npm install @reason-react-native/inappbrowser
# or
yarn add @reason-react-native/inappbrowser
@reason-react-native/inappbrowser should be added to bs-dependencies in your
bsconfig.json:
{
//...
"bs-dependencies": [
"reason-react",
"reason-react-native",
// ...
+ "@reason-react-native/inappbrowser"
],
//...
}
open Js.Promise;
open ReactNativeInAppBrowser;
let opts = iosOptions(~preferredBarTintColor="#ff0000", ());
openBrowser("https://rescript-lang.org", `IosOptions(opts))
|> Js.Promise.then_((result: browserResult) => {
Js.log(result.resultType);
resolve();
})
|> ignore;
open Js.Promise;
open ReactNativeInAppBrowser;
openAuthIos("https://example.com/auth", "myschema://auth", `IosOptions(iosOptions()))
|> Js.Promise.then_((result: authResult) => {
switch (result.url) {
| Some(url) => Js.log(url)
| None => Js.log("Something went wrong")
};
resolve();
})
|> ignore;
authResultbrowserResultiosOptionsandroidOptionsReactNativeInAppBrowser.openBrowser(string, [ `AndroidOptions(androidOptions) | `IosOptions(iosOptions) ]) => Js.Promise.t(browserResult)
ReactNativeInAppBrowser.closeunit => unit
ReactNativeInAppBrowser.openAuth(string, [ `AndroidOptions(androidOptions) | `IosOptions(iosOptions) ]) => Js.Promise.t(authResult)
ReactNativeInAppBrowser.closeAuthunit => unit
Check the changelog for more informations about recent releases.
Read the contribution guidelines before contributing.
We want this community to be friendly and respectful to each other. Please read our full code of conduct so that you can understand what actions will and will not be tolerated.
FAQs
ReScript bindings for react-native-inappbrowser
We found that @reason-react-native/inappbrowser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.