react-native-gizwits-android-app-install

0.0.4-google-empty • Public • Published

react-native-gizwits-android-app-install

React Native 插件,查询是否可以在应用内安装其他应用,以及打开其他这个权限的系统设置页面

Installation

Add it to your android project

npm install react-native-gizwits-android-app-install --save

Install the native dependencies

Use react-native link to install native dependencies automatically:

react-native link react-native-gizwits-android-app-install

or do it manually as described here.

Example usage

import InstallManager from 'react-native-gizwits-android-app-install';

查询权限

const res = await InstallManager.hasInstallPermission(); // res: true/false

打开权限页面

InstallManager.openInstallPermissionPage();

Package Sidebar

Install

npm i react-native-gizwits-android-app-install

Weekly Downloads

0

Version

0.0.4-google-empty

License

ISC

Unpacked Size

11.6 kB

Total Files

12

Last publish

Collaborators

  • gizwits-rbwang