Skip to content

patrickkabwe/react-native-nitro-in-app-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-nitro-in-app-browser

A Simple React Native Nitro module for in-app browser.

Build Android Build iOS

npm version npm downloads

Installation

Important

This package requires react-native-nitro-modules to be installed first. See react-native-nitro-modules for more information.

bun install react-native-nitro-in-app-browser react-native-nitro-modules
cd ios && pod install && cd ..

Usage

import React from 'react';
import { Button, SafeAreaView } from 'react-native';
import { NitroInAppBrowser } from 'react-native-nitro-in-app-browser';

const App = () => {
  return (
    <SafeAreaView>
      <Button
        title="Open Google"
        onPress={() => {
          NitroInAppBrowser.open('https://www.google.com');
        }}
      />
    </SafeAreaView>
  );
};

export default App;

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with ❤️ by Patrick Kabwe.

Credits

This package is based on the react-native-nitro-modules package.