diff --git a/.easignore b/.easignore new file mode 100644 index 0000000..79a56c9 --- /dev/null +++ b/.easignore @@ -0,0 +1,17 @@ +# General cleanup +node_modules +.expo +build +dist +*.log + +# Native directories (if you're not customizing them) +ios +android + +# Big assets (only if unused in app) +*.mp4 +*.zip +*.psd +*.mov +*.avi \ No newline at end of file diff --git a/.gitignore b/.gitignore index d16e1ef..f7c2b63 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,8 @@ expo-env.d.ts *.p12 *.key *.mobileprovision +android/ +ios/ # Metro .metro-health-check* diff --git a/android/app/build.gradle b/android/app/build.gradle index 1db7777..dc4e424 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -87,16 +87,6 @@ android { compileSdk rootProject.ext.compileSdkVersion namespace 'com.nuvio.app' - - splits { - abi { - enable true - reset() - include "armeabi-v7a", "arm64-v8a" - universalApk false - } - } - defaultConfig { applicationId 'com.nuvio.app' minSdkVersion rootProject.ext.minSdkVersion @@ -120,8 +110,8 @@ android { // Caution! In production, you need to generate your own keystore file. // see https://reactnative.dev/docs/signed-apk-android. signingConfig signingConfigs.debug - shrinkResources true - minifyEnabled true + shrinkResources (findProperty('android.enableShrinkResourcesInReleaseBuilds')?.toBoolean() ?: false) + minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" crunchPngs (findProperty('android.enablePngCrunchInReleaseBuilds')?.toBoolean() ?: true) }