Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-native-webview-crosswalk

> 前端框架
Open source

Crosswalk's WebView for React Native on Android.

99 stars0 likes2 views
WebsiteGitHub

About

Crosswalk's WebView for React Native on Android.

react-native-webview-crosswalk

Crosswalk's WebView for React Native on Android.

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
bash
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
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
gradle
...
allprojects {
    repositories {
        mavenLocal()
        jcenter()

        flatDir {          //  getPackages() {
    return Arrays.asList(
        new MainReactPackage(),
        new CrosswalkWebViewPackage(this)    //  getPackages() {
    return Arrays.asList(
        new MainReactPackage(),
        new CrosswalkWebViewPackage()    // <--- add this line
    );
  }

  ......

}

License

MIT

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaandroidcrosswalkjavareact

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架