Skip to content

Commit

Permalink
Update default Android default minApiLevel to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsando committed Jun 9, 2024
1 parent 036f687 commit 3b0ac7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions templates/android/PROJ-gradle/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ dependencies {

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

::if NME_FIREBASE_PERFORMANCE::
implementation 'com.google.firebase:firebase-perf:19.0.7'
implementation 'com.google.firebase:firebase-perf:21.0.1'
::end::

::if NME_FIREBASE_CRASHLYTICS::
implementation 'com.google.firebase:firebase-crashlytics-ndk:17.1.0'
implementation 'com.google.firebase:firebase-crashlytics-ndk:19.0.1'
::end::
::end::

Expand Down
1 change: 1 addition & 0 deletions templates/android/extension-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ android {

compileSdkVersion ::ANDROID_TARGET_SDK_VERSION::
defaultConfig {
minSdkVersion ::ANDROID_MIN_API_LEVEL::
targetSdkVersion ::ANDROID_TARGET_SDK_VERSION::
}
buildToolsVersion "34.0.0"
Expand Down
4 changes: 2 additions & 2 deletions tools/nme/src/project/NMEProject.hx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class AndroidConfig
public function new()
{
installLocation = "preferExternal";
minApiLevel = 16;
addV4Compat = true;
minApiLevel = 21;
addV4Compat = false;
universalApk = false;
appHeader = [];
appIntent = [];
Expand Down

0 comments on commit 3b0ac7c

Please sign in to comment.