Skip to content

Commit 3b0ac7c

Browse files
committed
Update default Android default minApiLevel to 21
1 parent 036f687 commit 3b0ac7c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

templates/android/PROJ-gradle/app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ dependencies {
104104

105105
::if NME_FIREBASE::
106106
// Add the dependency for the Performance Monitoring library
107-
implementation 'com.google.firebase:firebase-analytics:17.2.2'
107+
implementation 'com.google.firebase:firebase-analytics:22.0.1'
108108

109109
::if NME_FIREBASE_PERFORMANCE::
110-
implementation 'com.google.firebase:firebase-perf:19.0.7'
110+
implementation 'com.google.firebase:firebase-perf:21.0.1'
111111
::end::
112112

113113
::if NME_FIREBASE_CRASHLYTICS::
114-
implementation 'com.google.firebase:firebase-crashlytics-ndk:17.1.0'
114+
implementation 'com.google.firebase:firebase-crashlytics-ndk:19.0.1'
115115
::end::
116116
::end::
117117

templates/android/extension-api/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ android {
66

77
compileSdkVersion ::ANDROID_TARGET_SDK_VERSION::
88
defaultConfig {
9+
minSdkVersion ::ANDROID_MIN_API_LEVEL::
910
targetSdkVersion ::ANDROID_TARGET_SDK_VERSION::
1011
}
1112
buildToolsVersion "34.0.0"

tools/nme/src/project/NMEProject.hx

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class AndroidConfig
3131
public function new()
3232
{
3333
installLocation = "preferExternal";
34-
minApiLevel = 16;
35-
addV4Compat = true;
34+
minApiLevel = 21;
35+
addV4Compat = false;
3636
universalApk = false;
3737
appHeader = [];
3838
appIntent = [];

0 commit comments

Comments
 (0)