Skip to content

Commit 9e92c45

Browse files
committed
chore: update.
1 parent ff72cee commit 9e92c45

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

example/scripts/project_tools.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CMD=$1
88
function 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

1414
function 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" />'

0 commit comments

Comments
 (0)