Add a `supportCustomVibrations` method
Closed this issue · 3 comments
Skyost commented
Hey.
I love the latest plugin update that added the CoreHaptics support. Would it be possible for you to create a method (can be named supportCustomVibrations
or whatever) which would return :
true
on Android.true
on CoreHaptics iOS devices (andfalse
on older devices).
This way, we could have a better control on which devices we can play custom vibrations, and on which devices it's not possible to do so.
Thanks !
benjamindean commented
Sure! Good idea. Will implement it as soon as I can.
Skyost commented
Just submitted a pull request that should do the job.
benjamindean commented
Closed in #35