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 {
36
36
defaultConfig {
37
37
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
38
38
applicationId " com.cloudwebrtc.flutterwhip.example.flutter_whip_example_app"
39
- minSdkVersion 21
40
- targetSdkVersion 31
39
+ minSdkVersion 23
40
+ targetSdkVersion 30
41
41
versionCode flutterVersionCode. toInteger()
42
42
versionName flutterVersionName
43
43
}
Original file line number Diff line number Diff line change 8
8
function cleanup() {
9
9
echo " Cleanup project [$FLUTTER_APP_PROJECT_NAME ] files ..."
10
10
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
12
12
}
13
13
14
14
function create() {
@@ -37,7 +37,9 @@ function add_permission_label() {
37
37
echo " "
38
38
echo " Add permission labels to AndroidManifest.xml."
39
39
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
41
43
python add-line.py -i ../android/app/src/main/AndroidManifest.xml -s " <application" -t ' <uses-permission android:name="android.permission.CAMERA" />'
42
44
python add-line.py -i ../android/app/src/main/AndroidManifest.xml -s " <application" -t ' <uses-permission android:name="android.permission.RECORD_AUDIO" />'
43
45
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