react-native-webviewplus

1.0.6 • Public • Published

react-native-webviewplus

Getting started

$ npm install react-native-webviewplus --save

Mostly automatic installation

$ react-native link react-native-webviewplus

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainApplication.java
  • Add import com.phoobobo.rnwebviewplus.ReactWebViewPlusPackage; to the imports at the top of the file
  • Add new ReactWebViewPlusPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-webviewplus'
    project(':react-native-webviewplus').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-webviewplus/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      implementation project(':react-native-webviewplus')
    

Usage

import RNWebviewplus from 'react-native-webviewplus';

// TODO: What to do with the module?
RNWebviewplus;

Readme

Keywords

Package Sidebar

Install

npm i react-native-webviewplus

Weekly Downloads

3

Version

1.0.6

License

MIT

Unpacked Size

23.9 kB

Total Files

12

Last publish

Collaborators

  • phoobobo