Vibration on Android/iOS

Hi all,

I did not find any valuable information about the vibration handling in Cocos Creator. As my first project, I port one of my XNA games from Windows Phone to Android (and later iOS). How can I handle the vibration?

Thanks in advance,
Zsolt

Should I remove the vibration feature?! Come on, guys! :slight_smile:

This doesnt work for you?

As far as I know there is no creator api to handle vibration, so you have to invoke java method from js, I guess.

Thanks for the hint, I will check it tomorrow. :slight_smile:

Hi, have you managed to get this feature on Cocos Creator? I am having the same issue. Appreciate if you can share some tips on how to do this.

Thanks in advance!

Hi @JustinQuang,

unfortunately I was unable to get is work. :frowning: So, I simply disabled this feature for Android. I hope some official support will be implemented in the near future.

Best regards,
Zsolt