Skip to content

针对WebView开发的工具集,包括WebView基础能力、性能优化能力等,后续将逐步开源

License

Notifications You must be signed in to change notification settings

jd-opensource/JDHybrid

Repository files navigation

MIT npm Cocoapods Cocoapods platforms JitPack Android

简体中文文档

Introduction

JDHybrid is a High-Performance hybrid framework for mobile apps, which is committed to improve the loading and rendering performance of H5 and the standardization of WebView containers. The project has been verified more fully by dozens of h5 projects in JD. Our projects mainly include:

  • JDBridge: A JSbridge Framework
  • JDWebView: WebView container integrating JDBridge capability and other features

Get Started

JSBridge

JSBridge(JDBridge) includes two parts --- jssdk & client framework. First, you can install jssdk to support bridge environment. Then app client integrates JDBridge framework. Finally creating js plugins or native plugins calling one another. For more detail, please read below:

JDWebView

JDHybrid provides a WebView Container which integrates JDBridge Capacity right now,and offline package in the future. you can use it directly:

More Detail

  • iOS Demo In the iOS/Example directory,run pod install
  • Android Demo In the android directory(android Example's parent),run ./gradlew installDebug
  • H5 JDBridge Demo In the directory, run npm install && npm run build , then open the html in the dist directory, you also can run APP's demo after H5 demo built.

Contributing

We would love for you to contribute to JDHybrid and help make it better! All types of contributions are encouraged and valued. Thanks to all contributors. we are very pleasure to accept your PR.

If you have any questions, please feel free to open a new Discussion topic in our discussion forums.

License

JDHybrid (include sub projects)is released under the MIT, see the license file for more info.

Contact

Email: [email protected]