Description
InAppBrowser for React Native gives your app access to the system's web browser, so you can open web pages and complete OAuth sign-in flows with redirects. On Android it uses Chrome Custom Tabs, and on iOS it uses SafariServices and AuthenticationServices. The library provides an open method that opens a URL in a modal browser on iOS with SFSafariViewController, and in a Chrome custom tab on Android. On iOS the modal browser does not share cookies with the system Safari. A close method dismisses the browser. An openAuth method opens an authentication session with ASWebAuthenticationSession on iOS, which asks the user whether the app may authenticate with the URL, and uses a custom tab on Android. Deep-link redirection returns the user to the app after sign-in. The README covers installation with React Native 0.60 and newer, which uses autolinking, with the extra CocoaPods step on iOS. For Android it describes the Jetifier setup for older support libraries and AndroidX configuration. The package is published on npm as react-native-inappbrowser-reborn, and the README lists several apps that use it.…
Highlights
- Opens the system browser on Android and iOS
- OAuth sign-in with deep-link redirects
- Custom tabs on Android and Safari modal on iOS
- Close and openAuth methods
- Autolinking for React Native 0.60 and newer
Ratings & Reviews
No ratings yet
Be the first to rate React Native Inappbrowser.
People also visit

react-native-local-auth
React Native local authentication with touch id or passcode
React Native Inappbrowser FAQ
What does this package do?
It opens web pages in the system browser inside a React Native app, and supports OAuth sign-in that returns to the app.
Which browser does it use?
Chrome Custom Tabs on Android, and SafariServices and AuthenticationServices on iOS.
Do cookies get shared with Safari?
The README says the modal Safari on iOS does not share cookies with the system Safari.
How do I install it?
Run npm install react-native-inappbrowser-reborn, then run pod install on iOS. React Native 0.60 and newer use autolinking.
What are the best React Native Inappbrowser alternatives?
Popular alternatives to React Native Inappbrowser include React Native Config, React Native Sensitive Info and React Native Contacts. See all React Native Inappbrowser alternatives












