Closed lukerayman closed 4 years ago
I removed all the unnecessary installation steps. For Android there is just info about changing min SDK version. I checked in 3 different projects and it works.
If removing minSdk
is a must for Flutter lib then we could use this approach but we should then add some graceful handling of such situation.
Why to remove minSDK
?
Dunno, to make the integration easier ;P
To be honest I do think that the user would need to specify the minSdk
at all. It should be merged properly rxandroidble
=> mba
=> flutter_ble_lib
=> user's app. Doesn't it?
Do you mean removing minSdkVersion
completely? I just checked it and it looks like the default value is 1
, so still the same error. 😄 I think we can't get rid of it until Flutter changes its Android project template.
minSdk
should be 18 because of using MBA which uses RxAndroidBle which states minSdk 18
. I will come to you
I have added installation guide for both Android and iOS. It is quite detailed because I assumed that some Flutter developers may not have much experience in native development for both platform.
Preview: https://github.com/Polidea/FlutterBleLib/tree/docs/installation
Some of the changes come from auto-formatter in Visual Studio Code.