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

Not working with SDK 6.3.0 #207

Closed
MarcoDuff opened this issue Nov 21, 2017 · 5 comments
Closed

Not working with SDK 6.3.0 #207

MarcoDuff opened this issue Nov 21, 2017 · 5 comments

Comments

@MarcoDuff
Copy link

On Titanium 6.3.0.GA module goes in runtime error:

11-21 15:07:08.521 688 688 D AndroidRuntime: Shutting down VM
11-21 15:07:08.523 688 688 E AndroidRuntime: FATAL EXCEPTION: main
11-21 15:07:08.523 688 688 E AndroidRuntime: Process: it.aci.informatica.useyourcard.merchant, PID: 688
11-21 15:07:08.523 688 688 E AndroidRuntime: java.lang.ClassCastException: org.appcelerator.kroll.common.TiMessenger$2 cannot be cast to java.lang.Boolean
11-21 15:07:08.523 688 688 E AndroidRuntime: at dk.napp.drawer.DrawerProxy.handleMessage(DrawerProxy.java:68)
11-21 15:07:08.523 688 688 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:98)
11-21 15:07:08.523 688 688 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
11-21 15:07:08.523 688 688 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6165)
11-21 15:07:08.523 688 688 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-21 15:07:08.523 688 688 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
11-21 15:07:08.523 688 688 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)

@Marchief
Copy link

Marchief commented Nov 22, 2017

Experienced this today as well. After a lot of debugging it seems, Appcelerator has added a new setting to the TiApp.XML
<property name="run-on-main-thread" type="bool">true</property>
Put that with the other properties before <ios> declaration and it should fix it.

@MarcoDuff
Copy link
Author

Hi @Marchief
I sorry, but i don't understand. Which setting i must add to tiapp.xml?

@trkfabi
Copy link

trkfabi commented Nov 23, 2017

I have this module working with 6.3.0.GA on both iOS and Android (out of the box).

@Marchief
Copy link

Marchief commented Nov 23, 2017

@MarcoDuff Sorry, forgot markdown, updated my comment.
@trkfabi it works with new projects as the new property is added by default, however, it is not for legacy projects that are upgrading to 6.0 +

@MarcoDuff
Copy link
Author

@Marchief It works!

Thank you!

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

3 participants