sms_autofill
sms_autofill copied to clipboard
reduce minSdkVersion to 16 to cover all flutter apps
from flutter v2.8.0 - the project created with flutter tool sets the minSdkVersion
to version defined by flutter engine - something like below:
android {
compileSdkVersion flutter.compileSdkVersion
...
defaultConfig {
applicationId "com.example.my_proj"
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
flutter.minSdkVersion
is set to 16
:
https://github.com/flutter/flutter/blob/cf4400006550b70f28e4b4af815151d1e74846c6/packages/flutter_tools/gradle/flutter.gradle#L36
I suggest we drop min SDK to 16 and silently fail if the SDK version is less than 18 - moreover can add additional method to check if the cpability exists - something like bool SmsAutoFill.isSupported()
I'll be happy to file a PR against this if approved.
Any updates on that?