A Simple React Native Nitro module for in-app browser.
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 [email protected]
cd ios && pod install && cd ..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 Nowie Tech"
        onPress={() => {
          try {
            await NitroInAppBrowser.open('https://nowietech.com', {
              barColor: 'purple',
              controlColor: '#000000',
              dismissButtonLabel: 'close',
              presentationStyle: 'fullScreen',
            });
          } catch (error) {
            console.error(error);
          }
        }}
      />
    </SafeAreaView>
  );
};
export default App;MIT
Bootstrapped with Create Nitro Modules
This package is based on the react-native-nitro-modules package.