Adds support for device vibration service in Defold.
The currently supported platforms are: iOS and Android
Add the package link (https://github.com/adamwestman/extension-vibrate/archive/master.zip)
to the project setting project.dependencies
, and you should be good to go.
See the manual for further info.
if vibrate then
vibrate.trigger()
end
Invoke the device specific vibration service.