Skip to content

renanmav/react-native-in-app-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

39 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

react-native-in-app-browser

An in-app-browser (IAB) module for react-native exposing bindings for SFSafariViewController, ASWebAuthenticationSession, ChromeCustomTabs & more, powered by Nitro Modules.

Features

  • Easy-to-use API
  • Common cross-platform support
  • Platform-specific implementations (iOS and Android)

Installation

Important

Make sure you add react-native-nitro-modules as dependency.

npx install @renanmav/react-native-in-app-browser

Usage

You can choose between common or platform-specific interfacing.

Basic usage

import { InAppBrowser } from 'react-native-in-app-browser'
// Open a URL in the in-app browser
InAppBrowser.open('https://example.com')

Platform Compatibility

Feature iOS Android
InAppBrowser โœ… โœ…
SFSafariViewController โœ… โŒ
ASWebAuthenticationSession โœ… โŒ
ChromeCustomTabs โŒ โœ…

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.