fix node not loading correct env files

This commit is contained in:
heyethereum
2024-08-03 10:29:35 +08:00
parent 28f6ab3553
commit 1fdfd94baf
30 changed files with 180 additions and 155 deletions

View File

@@ -110,6 +110,7 @@ android {
shrinkResources (findProperty('android.enableShrinkResourcesInReleaseBuilds')?.toBoolean() ?: false)
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
crunchPngs (findProperty('android.enablePngCrunchInReleaseBuilds')?.toBoolean() ?: true)
}
}
packagingOptions {

View File

@@ -1,6 +1,3 @@
import android.os.Bundle;
package com.safeqr.safeqr
import android.os.Build

View File

@@ -25,6 +25,9 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
# Enable AAPT2 PNG crunching
android.enablePngCrunchInReleaseBuilds=true
# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using
# ./gradlew <task> -PreactNativeArchitectures=x86_64