Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Notification plugin android crash — Gideros Forum

Notification plugin android crash

lsouchetlsouchet Member
edited November 2015 in General questions
Hello,
I am trying to use notification plugin on Gideros 2015.10.
I installed the libs, added the gcm.jar and imported the sources for the plugin.

When I run the example project (https://github.com/gideros/gideros/tree/master/plugins/notification/examples/GiderosNotification), I get the following error, that looks similar to an error I encountered with facebook plugin:
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: the return type of CallStaticObjectMethodV does not match void com.giderosmobile.android.plugins.notification.NotificationClass.registerForPushNotifications(java.lang.String)
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] in call to CallStaticObjectMethodV
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] from void com.giderosmobile.android.player.GiderosApplication.nativeDrawFrame()
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] "GLThread 35447" prio=5 tid=10 Runnable
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | group="main" sCount=0 dsCount=0 obj=0x32c08080 self=0xb40d7e00
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | sysTid=8969 nice=0 cgrp=default sched=0/0 handle=0xaee3f930
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | state=R schedstat=( 7508331311 2315044992 19174 ) utm=662 stm=88 core=1 HZ=100
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | stack=0xaed3d000-0xaed3f000 stackSize=1038KB
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | held mutexes= "mutator lock"(shared held)
It only concerns the "push notification feature". If I comment out the registerForPushNotifications(Id), the project works fine.
Any thoughts?

Thanks in advance!

Comments

Sign In or Register to comment.