react-native-open-application
v1.0.14
Published
[![Platform](https://img.shields.io/badge/platform-react--native-lightgrey.svg)](http://facebook.github.io/react-native/) [![Version](http://img.shields.io/npm/v/react-native-open-application.svg)](https://www.npmjs.com/package/react-native-open-applicati
Downloads
144
Maintainers
Readme
react-native-open-application
This package is support by daridasar.com
React Native module to open other application.
- Work for android
- Support typescript
Table of contents
Installation
If using yarn:
yarn add react-native-open-application
If using npm:
npm i react-native-open-application
Usage
import React from "react";
import { View, Text } from "react-native";
import OpenApplication from 'react-native-open-application';
const App = () => {
return (
<TouchableOpacity
onPress={() => {
OpenApplication.openApplication('com.your.app');
}}
>
<Text>Your App</Text>
</TouchableOpacity>
);
};
export default App;