Hi guys, i want to make an android phone vibrate.
im using the web object to do it, but it doesnt work.
Im exporting to cocoonJS, if anyone knows why is not working i will be very thankful.
Develop games in your browser. Powerful, performant & highly capable.
Hi,
as far as I know the browser events doesn't work on cocoonJS due canvas+ isn't a complete browser. Maybe it works if you choose WebView+ instead of Canvas+
I know there is a plugin from cranberrygame for Vibration. This works for Intel XDK and the new CocoonIO, but not for CocoonJS.
Haarp, from what I recall, exporting to Android via XDK at least, you need to all the permissions for your app to USE the vibrate function, I found that I needed to specify this in the XDK setup/config even though I had already specified (permitting) it in C2 when exporting.