Coder Social home page Coder Social logo

aduir / jdhybrid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jd-opensource/jdhybrid

0.0 0.0 0.0 3.61 MB

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

License: MIT License

JavaScript 6.96% Ruby 0.27% C 0.11% Objective-C 29.57% Kotlin 19.56% CSS 0.11% HTML 43.43%

jdhybrid's Introduction

简介

JDHybrid是一个移动端高性能Hybrid容器框架,致力于提升h5加载与渲染性能、WebView容器标准化,项目经过了亿级PV的业务验证, 项目主要包括:
  • jsbridge --- JDBridge
  • 集成各种开源能力的WebView容器 --- JDWebView
  • 离线包加载框架 --- JDCache
  • iOS同层渲染 --- JDWidget(正在路上...)

快速入门指南

使用JSBridge

JSBridge(JDBridge) 包含jssdk部分与客户端部分,使用时js先引入JSSDK(见下文), 并添加js插件供native调用,或通过jssdk api调用native插件,使用方式参考:

使用WebView容器

JDHybrid 提供了支持JDBridge的容器,未来还会支持离线加载能力,可直接使用

使用JDCache

更多使用方式

  • h5 Demo 进入H5/JDBridge/Example下执行 npm install && npm run build , 打开 dist 文件夹内的html即可, 客户端试用下面Demo前也请先安装h5 demo,我们会自动copy产物到Example内
  • iOS Demo 进入iOS/Example文件夹,执行 pod install
  • Android Demo 进入android文件夹,执行./gradlew installDebug

Contributing

我们欢迎您能为JDHybrid做出贡献帮助它变得更好!我们鼓励并重视所有类型的贡献。如果你有任何问题,请随时在我们的讨论区开启一个新的讨论主题。 如果您有webview方面的诉求,也可以提出需求。

License

JDHybrid(包括子项目) 基于MIT协议开源,具体查看 LICENSE 文件了解更多信息.

Contact

邮箱: [email protected]

jdhybrid's People

Contributors

huangturen avatar kylelyk12 avatar baoyangzhou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.