- Add an article link about using the plugin to the readme. Thanks @kamranbekirovyz!
- Update podspec version.
- Early return if platform is not supported (instead of an exception). Supported are iOS an Android. Thanks @rizerco!
- Upgrade Android dependencies (Gradle, AGP, Java, Kotlin).
- Widen
flutter_lints
constraints.
- Update package description.
- Update example.
canVibrate()
is now a method.- Catching of native errors on Android: You can call
vibrate()
without checkingcanVibrate()
first. - Improve docs.
- Fix typo in readme. Thanks @walid-ashik!
- Update podspec version.
- Maintenance release.
- Update
gradle
,kotlin
, andmockito
.
- Update podspec version.
- Update package identifier.
- Refactor example.
- Small refactoring.
- Check API level before calling
hasAmplitudeControl()
.
- Update version in
podspec
.
- Refactor Kotlin code.
- Improve docs.
- Add private constructor to
Haptics
.
- Improve docs.
- Format Swift code.
- Call fallback methods on iOS < 13 for
.rigid
and.soft
haptics.
- Refactor
canVibrate
implementation for supporting lower iOS versions.
- Format native code.
- Refactor
canVibrate
method into a getter for improved readability and usage.
- Make methods static.
- Add
namespace
to build.gradle. - Update
Kotlin
version of example. - Upgrade
Gradle
version of example. - Upgrade
Android Gradle Plugin
version of example.
- Fine-tune Android haptics.
- Update description.
- Initial release.