Giter Site home page Giter Site logo

Comments (3)

thorjay avatar thorjay commented on July 27, 2024 1

同问,是否可以基于新版本更新一下README,和使用BridgeHelper的示例,非常感谢

目前CustomWebView和BridgeHelper里,与BridgeWebview的部分代码功能实现不同步,所以直接用Demo跑是不可行的;在注册函数上BridgeWebview是使用@JavascriptInterface,而BridgeHelper是应该还是用shouldOverrideUrlLoading(),然后还有其他一些小问题;

如果想直接使用CustomWebview来运行Demo和查看示例,可以参考解决CustomWebview当前demo无法使用的问题 #270

from jsbridge.

Heart-Beats avatar Heart-Beats commented on July 27, 2024

今天拿最新的 demo 也作了此修改,运行异常,报错信息:
Uncaught TypeError: Cannot read properties of undefined (reading 'callHandler')

因为不懂 JS,不知道如何修改,同时拿最新的 demo 直接 loadUrl 基于 1.0.4 版本开发的前端页面地址,页面直接加载失败

from jsbridge.

yomigatz avatar yomigatz commented on July 27, 2024

同问,是否可以基于新版本更新一下README,和使用BridgeHelper的示例,非常感谢

from jsbridge.

Related Issues (20)

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.