Open arizonal2014 opened 1 year ago
If anyone else is facing this issue, here's a step-by-step solution:
Clone or download the flutter_sms plugin from its GitHub repository to your local machine.
git clone [repository_url] path/to/local/flutter_sms
dependencies:
flutter_sms:
path: path/to/local/flutter_sms
Navigate to path/to/local/flutter_sms/android/build.gradle and update the Kotlin version to match the version required by your project.
Run flutter pub get
in your terminal.
Clean and Rebuild: Ensure everything compiles correctly:
flutter clean
flutter run
I hope this helps others who might be facing the same issue! Would be great if the maintainer could update the Kotlin version in the official repository to cater to the wider audience.
Any Alternative of this Library ?
Could the author please consider updating the kotlin-gradle-plugin for this?
This issue was resolved 10 months ago, but it doesn't seem to have been properly reflected in the repository. Applying the following to the pubspec.yaml should resolve it.
flutter_sms:
git:
url: https://github.com/fluttercommunity/flutter_sms.git
ref: master
This issue was resolved 10 months ago, but it doesn't seem to have been properly reflected in the repository. Applying the following to the pubspec.yaml should resolve it.
flutter_sms: git: url: https://github.com/fluttercommunity/flutter_sms.git ref: master
This worked for me many thanks !!
This issue was resolved 10 months ago, but it doesn't seem to have been properly reflected in the repository. Applying the following to the pubspec.yaml should resolve it.
flutter_sms: git: url: https://github.com/fluttercommunity/flutter_sms.git ref: master
This worked for me many thanks !!
working
flutter_sms: git: url: https://github.com/fluttercommunity/flutter_sms.git ref: master
works
not working
This issue was resolved 10 months ago, but it doesn't seem to have been properly reflected in the repository. Applying the following to the pubspec.yaml should resolve it.
flutter_sms: git: url: https://github.com/fluttercommunity/flutter_sms.git ref: master
not working
Hello,
I recently integrated the flutter_sms package into my Flutter project and encountered a build error related to the Kotlin Gradle plugin version.
Error Message:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':flutter_sms' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
Upon inspection, it seems that the flutter_sms package is using Kotlin Gradle plugin version 1.3.50, which is not compatible with the latest Android Gradle plugin versions.