react-native-nitro-in-app-browser
v0.3.4
Published
A React Native Nitro module for in-app browser
Downloads
431
Maintainers
Readme
react-native-nitro-in-app-browser
A Simple React Native Nitro module for in-app browser.
Installation
[!IMPORTANT]
This package requiresreact-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.