flutter_vibration icon indicating copy to clipboard operation
flutter_vibration copied to clipboard

hasVibrator() throws exceptions on MacOS

Open fotiDim opened this issue 1 year ago • 5 comments

I'd live to avoid surrounding the calls to this package with try catch when running on Mac. Currently hasVibrator() throws unimplemented method exception. It would be great if it just returned false. Same would probably apply for the rest of the unsupported platforms.

fotiDim avatar May 07 '23 22:05 fotiDim