istornz / flutter_gaimon

A Flutter plugin to fully support Haptic feedback with custom pattern 📳
MIT License
27 stars 6 forks source link

Build failed because of a typo in the Android plugin code. #3

Closed GwonHyeok closed 1 year ago

GwonHyeok commented 1 year ago

Android build fails since version 1.1.0

The placement of the parameter name and type is incorrect.

https://github.com/istornz/flutter_gaimon/blob/937f0116c66fb2362305c4e62a05305c198eaa5c/android/src/main/kotlin/com/dimitridessus/gaimon/GaimonPlugin.kt#L122

It should be changed to:

fun vibrate(effect: VibrationEffect) { 
istornz commented 1 year ago

Thanks ! Fixed 👍