Open jbhue opened 8 years ago
We have the same issue.. Is this project still alive? It would be great if someone could release a fix for that because without it's not possible to use that module in release environment... So it's useless!
This module is no longer actively maintained. In order to handle select inputs and other native UI there are a few additional callbacks/integration points that needs to be handled.
See this page https://crosswalk-project.org/documentation/android/embedding_crosswalk.html and the API docs https://crosswalk-project.org/apis/embeddingapidocs_v6/index.html for further info.
I have switched over to TiCrosswalk from the default Webview on the android platform. I am very pleased with this module and really appreciate the work it took to make it.
I have noticed that after moving to TiCrosswalk for my webview my app crashes when a user clicks on a html input element. I don't recall this happening on the default android webview technology. Below is the log found in the Appcelerator console when the crash occurs. What I believe to be the most relevant line is in bold.
Here is a stack overflow post related to this issue for reference: http://stackoverflow.com/questions/10085753/app-crash-on-clicking-select-box-in-webview
Here is a similar issue on Titanium's Jira from 2012: https://jira.appcelerator.org/browse/TIMOB-8267
Is this something that needs to be addressed by TiCrosswalk or is there something I can do differently to avoid this issue?
[ERROR] : chromium: [ERROR:xwalk_autofill_client.cc(170)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() [ERROR] : chromium: [ERROR:xwalk_autofill_client.cc(170)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() [WARN] : W/System.err: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application [WARN] : W/System.err: at android.view.ViewRootImpl.setView(ViewRootImpl.java:566) [WARN] : W/System.err: at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282) [WARN] : W/System.err: at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85) [WARN] : W/System.err: at android.app.Dialog.show(Dialog.java:298) [WARN] : W/System.err: at org.chromium.content.browser.input.SelectPopupDialog.show(SelectPopupDialog.java:133) [WARN] : W/System.err: at org.chromium.content.browser.ContentViewCore.showSelectPopup(ContentViewCore.java:2476) [WARN] : W/System.err: at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) [WARN] : W/System.err: at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53) [WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102) [WARN] : W/System.err: at android.os.Looper.loop(Looper.java:135) [WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Native Method) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) [INFO] : chromium: [FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report
Thanks.