0.0.6 • Published 3 years ago

react-native-open-apps v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

react-native-open-apps

Platform Version Download License

This package is support by daridasar.com

React Native module to open other application.

  • Work for android
  • Support typescript

Table of contents

  1. Installation
  2. Usage

Installation

If using yarn:

yarn add react-native-open-apps

If using npm:

npm i react-native-open-apps

Usage

import React from "react";
import { View, Text } from "react-native";
import OpenApplication from "react-native-open-apps";

const App = () => {
  return (
    <TouchableOpacity
      onPress={() => {
        OpenApplication.openApplication("com.your.app");
      }}
    >
      <Text>Your App</Text>
    </TouchableOpacity>
  );
};

export default App;