GithubHelp home page GithubHelp logo

uni.webview.js's People

Contributors

dingyong0214 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

uni.webview.js's Issues

iOS通信问题

android:webview调用uniapp api表现正常,调用getEnv方法读环境为plus
iOS:webview调用uniapp api时灵时不灵(第一次装app好像正常,后续关了再打开就不行),调用getEnv方法读环境为h5

postMessage不生效

h5页面

this.tui.webView.postMessage({
    data: {
        action: res.data
    }
})

小程序@message事件没办法读取到值

postMessage问题

postMessage传参数不能触发web-view里的message应该怎么处理呀

iOS真机测试时项目无法启动,直接白屏

HBuildX 3.1.18
iPhone6
iOS版本12.5.1

现象:

  1. 新建官方项目,使用官方默认基座时DEMO正常开始,
  2. 下载js后在main.js中引入时,手机白屏。

const tui = require("@/static/js/uni.webview.js")
Vue.prototype.tui = tui

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.