cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.22k stars 7.05k forks source link

WebView is gone after unlocking the screen in some Android devices #11423

Open RaoZiJian opened 9 years ago

RaoZiJian commented 9 years ago

Cocos2d-x 3.3 with Lua

Test devices are XiaoMi 3 or HuaWei Honor 6.

There is a webview widget belong to one of my layer of the scene, then lock the phone, and then unlock it. The scene is working well unless the webview is disappeared.

samuele3hu commented 9 years ago

WebView hasn't been bound to Lua, i think it should be done because some developers need to use it although it is in the experimental namespace.

minggo commented 9 years ago

Yep, we need it.

walzer commented 9 years ago

Scheduled in v3.7.

So you're talking 2 issues:

  1. a bug, a @RaoZiJian described
  2. add lua binding to ui::WebView, and add lua test case for it.