feat: ship Wave 5-6 multi-surface hygiene, optimization, and bug fixes

This commit is contained in:
Yun Chan 2026-11-14 11:51:41 +09:00
parent 01ef3293cf
commit 66b6b45ba9
399 changed files with 17828 additions and 11330 deletions

View file

@ -278,7 +278,7 @@ react {
debuggableVariants = ["debug"]
}
def enableProguardInReleaseBuilds = false
def enableProguardInReleaseBuilds = true
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
android {
@ -294,6 +294,7 @@ android {
androidResources {
noCompress += ["bin"]
localeFilters += ["ko", "en", "ja", "zh", "b+zh+TW", "es", "fr", "de", "pt", "ru", "vi", "th"]
}
defaultConfig {
@ -383,7 +384,8 @@ android {
abiFilters "arm64-v8a"
}
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
shrinkResources enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}

View file

@ -1,12 +1,80 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# D3RO Voice Android R8 / ProGuard Configuration
# Applied alongside getDefaultProguardFile("proguard-android-optimize.txt") in release builds.
# Preserve readable crash stack traces with file & line numbers
-keepattributes SourceFile,LineNumberTable,*Annotation*,Signature,Exceptions,InnerClasses,EnclosingMethod
-renamesourcefileattribute SourceFile
# D3RO Voice first-party native modules, services, activities, and BuildConfig
-keep class com.d3ro.voice.** { *; }
# React Native 0.85 / Hermes / JSI / TurboModules
-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStripAny
-keep,allowobfuscation @interface com.facebook.jni.annotations.DoNotStrip
-keep,allowobfuscation @interface com.facebook.jni.annotations.DoNotStripAny
-keep,allowobfuscation @interface com.facebook.yoga.annotations.DoNotStrip
-keep @com.facebook.proguard.annotations.DoNotStrip class *
-keepclassmembers class * {
@com.facebook.proguard.annotations.DoNotStrip *;
}
-keep @com.facebook.proguard.annotations.DoNotStripAny class * { *; }
-keep @com.facebook.jni.annotations.DoNotStrip class *
-keepclassmembers class * {
@com.facebook.jni.annotations.DoNotStrip *;
}
-keep @com.facebook.jni.annotations.DoNotStripAny class * { *; }
-keep @com.facebook.yoga.annotations.DoNotStrip class *
-keepclassmembers class * {
@com.facebook.yoga.annotations.DoNotStrip *;
}
-keep class * implements com.facebook.react.bridge.JavaScriptModule { *; }
-keep class * implements com.facebook.react.bridge.NativeModule { *; }
-keepclassmembers,includedescriptorclasses class * { native <methods>; }
-keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp <methods>; }
-keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup <methods>; }
-dontwarn com.facebook.react.**
-keep,includedescriptorclasses class com.facebook.react.bridge.** { *; }
-keep,includedescriptorclasses class com.facebook.react.turbomodule.core.** { *; }
-keep,includedescriptorclasses class com.facebook.react.internal.turbomodule.core.** { *; }
-keep class com.facebook.jni.** { *; }
-keep class com.facebook.hermes.** { *; }
-keep class com.facebook.soloader.** { *; }
# Add any project specific keep options here:
# whisper.rn JSI and TurboModule entry points
-keep class com.rnwhisper.** { *; }
# Nitro Modules (react-native-nitro-modules, react-native-nitro-sound, react-native-iap)
-keep class com.margelo.nitro.** { *; }
-keep class * extends com.margelo.nitro.core.HybridObject { *; }
-keep class * implements com.margelo.nitro.HybridObject { *; }
-dontwarn com.margelo.nitro.**
# Keychain & Google Tink reflective crypto primitives
-keep class com.oblador.keychain.** { *; }
-keep class com.google.crypto.tink.** { *; }
-dontwarn com.google.crypto.tink.**
# Google Mobile Ads, UMP Consent, and Firebase Messaging
-keep class io.invertase.googlemobileads.** { *; }
-keep class com.google.android.gms.ads.** { *; }
-keep class com.google.android.ump.** { *; }
-keep class com.google.firebase.** { *; }
# React Navigation & community native bridges
-keep class com.swmansion.gesturehandler.** { *; }
-keep class com.swmansion.rnscreens.** { *; }
-keep class com.th3rdwave.safeareacontext.** { *; }
-keep class com.alpha0010.fs.** { *; }
-keep class com.reactnativedocumentpicker.** { *; }
-keep class com.proyecto26.inappbrowser.** { *; }
-keep class com.reactnativecommunity.asyncstorage.** { *; }
# Okio / Kotlin / Android standard warnings
-keep class sun.misc.Unsafe { *; }
-dontwarn java.nio.file.*
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
-dontwarn okio.**