Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creator接入Android版本的微信SDK后,Android back键失效 #2424

Open
Rock8hi opened this issue May 6, 2020 · 0 comments
Open

creator接入Android版本的微信SDK后,Android back键失效 #2424

Rock8hi opened this issue May 6, 2020 · 0 comments

Comments

@Rock8hi
Copy link

Rock8hi commented May 6, 2020

creator在没有接入任何SDK时,打包Android版本,back键响应正常。
但是在接入微信SDK后,如果不使用微信登录也正常。如果使用微信登录,会大概率出现back键无响应的问题。
经测试,如果把Android代码下的back监听从Cocos2dxGLSurfaceView移动AppActivity下,onKeyDown的back响应是正常的,非常诧异。暂时解决办法就是在AppActivity下监听到back事件后,传给Cocos2dxGLSurfaceView的onKeyDown处理。
没有找到异常的根源是哪里。

@Rock8hi Rock8hi changed the title creator接入Android版本的微信SDK后,Android back见失效 creator接入Android版本的微信SDK后,Android back键失效 May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant