2.0.0 • Published 6 years ago

react-native-android-webview-no-suggestions v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

React Native Android WebView With No Suggestions

This custom WebView hides text suggetions when the input method is latin (English) on Android.

Getting started

$ npm install react-native-android-webview-no-suggestions --save

Mostly automatic installation

$ react-native link react-native-android-webview-no-suggestions

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import dog.craftz.webview.CDWebViewPackage; to the imports at the top of the file
  • Add new CDWebViewPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-android-webview-no-suggestions'
    project(':react-native-android-webview-no-suggestions').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sqlite-2/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
    compile project(':react-native-android-webview-no-suggestions')

Usage

See test/app.js.

2.0.0

6 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago