All Projects → jordansexton → React Native Webview Crosswalk

jordansexton / React Native Webview Crosswalk

Licence: mit
Crosswalk's WebView for React Native on Android.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to React Native Webview Crosswalk

Bywebview
🌐 WebView 全方面使用,JS交互、进度条、上传图片、错误页面、视频全屏播放、唤起原生App、获取网页源代码、被作为第三方浏览器打开、DeepLink、[腾讯x5使用示例]
Stars: ✭ 982 (+967.39%)
Mutual labels:  webview
Vue Bridge Webview
javascript bridge android/ios webview
Stars: ✭ 52 (-43.48%)
Mutual labels:  webview
Flutter inappwebview
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
Stars: ✭ 1,259 (+1268.48%)
Mutual labels:  webview
Andorid Litehybrid Webview
A android hybrid framework, works for H5 and native interactions via webview.
Stars: ✭ 39 (-57.61%)
Mutual labels:  webview
Customtabs Kotlin
Helpers of the Chrome Custom tabs re-written in Kotlin and with Architecture Components to offer a simpler API
Stars: ✭ 48 (-47.83%)
Mutual labels:  webview
Parser Javascript
Browser sniffing gone too far — A useragent parser library for JavaScript
Stars: ✭ 66 (-28.26%)
Mutual labels:  webview
Tiny.scatter
Scatter compatible eos injection library
Stars: ✭ 31 (-66.3%)
Mutual labels:  webview
Android Ssl Pinning Webviews
A simple demo app that demonstrates Certificate pinning and scheme/domain whitelisting in Android WebViews
Stars: ✭ 86 (-6.52%)
Mutual labels:  webview
Agentweb
AgentWeb is a powerful library based on Android WebView.
Stars: ✭ 8,375 (+9003.26%)
Mutual labels:  webview
Coolindicator
A dazzling indicator
Stars: ✭ 85 (-7.61%)
Mutual labels:  webview
Youtubetv
📺 YouTube embedded player library for Android TV
Stars: ✭ 44 (-52.17%)
Mutual labels:  webview
Android File Chooser
Handle Android file chooser click actions on all Android versions
Stars: ✭ 46 (-50%)
Mutual labels:  webview
Journey
JCEF-powered cross-platform web browser
Stars: ✭ 68 (-26.09%)
Mutual labels:  webview
Cl.kunder.webview
This cordova plugin enables you to open a second webview
Stars: ✭ 36 (-60.87%)
Mutual labels:  webview
Flutter browser app
A Full-Featured Mobile Browser App (such as the Google Chrome mobile browser) created using Flutter and the features offered by the flutter_inappwebview plugin.
Stars: ✭ 85 (-7.61%)
Mutual labels:  webview
Popup Bridge Android
PopupBridge allows WebViews to open popup windows in a browser and send data back to the WebView
Stars: ✭ 31 (-66.3%)
Mutual labels:  webview
Ultimaterefreshview
UltimateRefreshView 实现下拉刷新,上拉加载更多的轻量级库;支持RecyclerView ,ListView ,ScrollView & WebView
Stars: ✭ 64 (-30.43%)
Mutual labels:  webview
Iamport React Native
React Native용 아임포트 일반.결제 및 휴대폰 본인인증 모듈입니다.
Stars: ✭ 88 (-4.35%)
Mutual labels:  webview
Easy web view
Flutter Web Views on Mobile and Web made easy!
Stars: ✭ 85 (-7.61%)
Mutual labels:  webview
React Native Web Webview
React Native for Web implementation of RN's WebView
Stars: ✭ 79 (-14.13%)
Mutual labels:  webview

react-native-webview-crosswalk

Crosswalk's WebView for React Native on Android.

npm version npm downloads npm licence

Dependencies

  • 0.4.0+: react-native >=0.32.0, react >= 15.3.0

  • 0.3.0+: react-native >=0.29.0, react >= 15.2.0

  • 0.2.0+: react-native >=0.25.0, react >= 0.14.5

  • 0.1.0: react-native >= 0.19.0

Installation

  • From the root of your React Native project
npm install react-native-webview-crosswalk --save
mkdir android/app/libs
cp node_modules/react-native-webview-crosswalk/libs/xwalk_core_library-22.52.561.4.aar android/app/libs/

Include module in your Android project

  • In android/setting.gradle
...
include ':CrosswalkWebView', ':app'
project(':CrosswalkWebView').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-webview-crosswalk')

Include libs in your Android project

  • In android/build.gradle
...
allprojects {
    repositories {
        mavenLocal()
        jcenter()

        flatDir {          // <--- add this line
            dirs 'libs'    // <--- add this line
        }                  // <--- add this line
    }
}
  • In android/app/build.gradle
...
dependencies {
  ...
  compile (name: "xwalk_core_library-22.52.561.4", ext: "aar")     // <--- add this line
  compile project(':CrosswalkWebView')                             // <--- add this line
}
  • Register package :

If 0.1.0 or 0.2.0+ used add code into MainActivity.java

import com.jordansexton.react.crosswalk.webview.CrosswalkWebViewPackage;    // <--- add this line

public class MainActivity extends ReactActivity {
  ......

  @Override
  protected List<ReactPackage> getPackages() {
    return Arrays.<ReactPackage>asList(
        new MainReactPackage(),
        new CrosswalkWebViewPackage(this)    // <--- add this line
    );
  }

  ......

}

If 0.3.0+ used add code into MainApplication.java

import com.jordansexton.react.crosswalk.webview.CrosswalkWebViewPackage;    // <--- add this line

public class MainApplication extends Application implements ReactApplication {
  ......

  @Override
  protected List<ReactPackage> getPackages() {
    return Arrays.<ReactPackage>asList(
        new MainReactPackage(),
        new CrosswalkWebViewPackage()    // <--- add this line
    );
  }

  ......

}

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].