You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2021. It is now read-only.
Just trying out the new bits to inject scripts and use cordova APIs, and I get this error:
11-26 11:20:07.463 13468-13468/net.azurewebsites.mytestE/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: net.azurewebsites.test, PID: 13468
java.lang.ClassCastException: org.crosswalk.engine.XWalkCordovaView cannot be cast to org.apache.cordova.engine.SystemWebView
at com.manifoldjs.hostedwebapp.HostedWebApp$7$1.run(HostedWebApp.java:543)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5272)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:909)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:704)
Does this mean the new script injection bits aren't going to support XWalkCordovaView, or is this a WIP?
Thanks
The text was updated successfully, but these errors were encountered:
Thanks for reporting this is, should be fixed now. You can try the fix by installing the plugin again from v0.2.0 branch (need to uninstall if already installed):
Hi - Can't pull the latest version - if I cordova plugin remove cordova-plugin-hostedwebapp and then re-add as you suggest, I am still getting the older code (with the cast to a SystemWebView ....
Sorry about that. I'm not exactly sure why this happened. In any case, the latest code is already live, so you should be able to add the plugin directly from npm.
Just trying out the new bits to inject scripts and use cordova APIs, and I get this error:
Does this mean the new script injection bits aren't going to support XWalkCordovaView, or is this a WIP?
Thanks
The text was updated successfully, but these errors were encountered: