Git Product home page Git Product logo

incubator-weex-site's Issues

jsbridge

https://weex.io/
还是希望能够讲解一下webview里面的页面如何调用原生的功能,譬如照相机

Issues about the new website

The issue about the new website is listed below, feel free to append yours.

  • http://weex.apache.org should be redirected to https://weex.apache.org
  • The Apache Release and corresponding address is not listed on the website
  • The boundary between Apache Weex and community tools/plugins are not clear.
  • draft branch is not merged into master branch

List component has misleading information about horizontal view

The List component, which inspired by Android RecyclerView, is a core component, and it provides the most popular features for using a list of items. which support vertical and horizontal list.

The documentation says list component can have horizontal view, but this is not the case, using the same parameter of the scroller does not result in horizontal slider in web view

error js code "console.log('callback: ', event })"

var navigator = weex.requireModule('navigator')
navigator.push({
  url: 'http://dotwe.org/raw/dist/519962541fcf6acd911986357ad9c2ed.js',
  animated: "true"
}, event => {
  console.log('callback: ', event })
})

whats this console.log('callback: ', event })???

【webSocket】The actual call does not match the document

https://weex.apache.org/zh/docs/modules/websockets.html#onclose

the demo is

websocket.WebSocket('ws://echo.websocket.org','');
      const self = this;
      
      websocket.onopen = function(e) {
        // 做一个延时,以免建连太快而抖动
        setTimeout(function() {
          self.canType = true;
        }, 300);
      }
      websocket.onmessage = function(e) {
        const length = self.messages.push({source: 'origin', message: e.data});
        self.go2bottom(length);
      }
      websocket.onerror = function(e) {
        modal.toast({
          message: '网络错误,请稍后重试。',
          duration: 3
        });
      }

The actual call is

websocket.WebSocket('ws://echo.websocket.org','');
      const self = this;
      
      websocket.onopen(function(e) {
        // 做一个延时,以免建连太快而抖动
        setTimeout(function() {
          self.canType = true;
        }, 300);
      })
      websocket.onmessage(function(e) {
        const length = self.messages.push({source: 'origin', message: e.data});
        self.go2bottom(length);
      })
      websocket.onerror(function(e) {
        modal.toast({
          message: '网络错误,请稍后重试。',
          duration: 3
        });
      })

The document is to assign a function to onmessage, actually calling the message function and passing in the callback function.

Can someone answer my question? The underlying layer is socketSocket. Is there a problem with our underlying implementation?

<richtext> Summary

http://weex.io/zh/docs/components/richtext.html#%E6%A0%B7%E5%BC%8F

a document problem
At - Summary - Notes:
' on iOS will have a color:blue style, and children of can not override this style. This only happens on iOS. '
Practice found on iOS set color style is effective (test device: iphone7 ios10 ), then, Is the document out of date or am I not fully testing it?

In addition, <richtext> - Example . The binding event is itemclick instead of onitemclick in demo code.

【GCanvas】iOS SendVertexBufferToGPU Crash

在iOS 渲染成功后放置几分钟再这里崩溃

`
GCanvas2dContext.cpp
void GCanvasContext::SendVertexBufferToGPU(const GLenum geometry_type)
{
if (mVertexBufferIndex == 0)
{
return;
}

glDrawArrays(geometry_type, 0, mVertexBufferIndex); // Crash Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)
mVertexBufferIndex = 0;
}
`
另外是渲染完成后 ,Log会一直打是否正常?

weex studio创建项目与打包的问题

1、用weex studio生成的项目不能直接添加安卓项目,能不能添加ios项目未知,在执行weex platform add android指令时,会报错Error: ENOENT: no such file or directory, open 'D:\lava\weexPro\weex-five\plugins\plugins.json',但是用weex create [包名]指令生成的项目就不会报这个错,因为用这个指令生成的项目会包含plugins这个文件夹,当我把用指令生成的项目中的plugins文件夹复制到weex studio生成的项目中后,weex platform add android指令才能生效。
2、当我使用weex build android指令打包安卓apk时,需要填入appid,appname,SplashText,WeexBundle等信息,但是我视乎没有看到官网上有说明这些信息的作用是示例,有点懵,前两个还好理解,最后一个不知道怎么填,于是我随便填了一个进去了,打包也成功了,但是打包出来的apk传到手机上安装时却显示安装失败,起初是手机不允许安装未知应用,后来设置允许之后尝试了好几次,还是显示安装失败,不知道什么原因

希望官方能尽快回复上述问题,急等!!!!

关于插件市场

支付也是一大块,建议支持淘宝,微信支付,提前做出插件。很重要。

如何跟踪文档的更新

我很关心文档更新了哪些内容,但是现在没有一个地方能够集中的展示这些。希望有个What's new on Weex,就像flutter的官网那样
image

而不是总要关注git上合并了哪些pr

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.