Skip to content

Commit c1e460b

Browse files
authored
[flutter_local_notifications] fixed Android example app build to work with current Flutter stable version (3.32) (#2640)
* set ndkVersion to align with Flutter's NDK version * changed android example build task to do release build * Revert "changed android example build task to do release build" This reverts commit 621a6cf. * specify target platforms for example app build * restrict apk builds to arm64 and x64 * Revert "restrict apk builds to arm64 and x64" This reverts commit 1161ab7. * Revert "specify target platforms for example app build" This reverts commit f16767e. * updated jvm args to match defaults from Flutter 3.32 apps
1 parent f1e18cc commit c1e460b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

flutter_local_notifications/example/android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ if (flutterVersionName == null) {
2525
android {
2626
namespace 'com.dexterous.flutter_local_notifications_example'
2727
compileSdk 35
28+
ndkVersion = flutter.ndkVersion
2829

2930
sourceSets {
3031
main.java.srcDirs += 'src/main/kotlin'

flutter_local_notifications/example/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
org.gradle.jvmargs=-Xmx1536M
1+
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
22
android.useAndroidX=true
33
android.enableJetifier=true
44
android.enableR8=true

0 commit comments

Comments
 (0)