File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ android {
3636 defaultConfig {
3737 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3838 applicationId " com.cloudwebrtc.flutterwhip.example.flutter_whip_example_app"
39- minSdkVersion 21
40- targetSdkVersion 31
39+ minSdkVersion 23
40+ targetSdkVersion 30
4141 versionCode flutterVersionCode. toInteger()
4242 versionName flutterVersionName
4343 }
Original file line number Diff line number Diff line change 88function cleanup() {
99 echo " Cleanup project [$FLUTTER_APP_PROJECT_NAME ] files ..."
1010 cd $FLUTTER_APP_FOLDER
11- rm -rf android build * .iml ios pubspec.lock test .flutter-plugins .metadata .packages .idea macos web
11+ rm -rf android build * .iml ios pubspec.lock test .dart_tool . flutter-plugins* .metadata .packages .idea macos web windows linux
1212}
1313
1414function create() {
@@ -37,7 +37,9 @@ function add_permission_label() {
3737 echo " "
3838 echo " Add permission labels to AndroidManifest.xml."
3939 echo " "
40- python add-line.py -i ../android/app/build.gradle -s ' minSdkVersion 16' -t ' minSdkVersion 21' -r
40+ python add-line.py -i ../android/app/build.gradle -s ' minSdkVersion flutter.minSdkVersion' -t ' minSdkVersion 23' -r
41+ python add-line.py -i ../android/app/build.gradle -s ' compileSdkVersion flutter.compileSdkVersion' -t ' compileSdkVersion 31' -r
42+ python add-line.py -i ../android/app/build.gradle -s ' targetSdkVersion flutter.targetSdkVersion' -t ' targetSdkVersion 30' -r
4143 python add-line.py -i ../android/app/src/main/AndroidManifest.xml -s " <application" -t ' <uses-permission android:name="android.permission.CAMERA" />'
4244 python add-line.py -i ../android/app/src/main/AndroidManifest.xml -s " <application" -t ' <uses-permission android:name="android.permission.RECORD_AUDIO" />'
4345 python add-line.py -i ../android/app/src/main/AndroidManifest.xml -s " <application" -t ' <uses-permission android:name="android.permission.WAKE_LOCK" />'
You can’t perform that action at this time.
0 commit comments