Diagnostic step 1
Add known community-recommended minimal ProGuard keep rules for React Native (keep com.facebook.react.** and JNI/reflective method signatures) and rebuild. Test on representative devices and verify startup works.
Generated Oct 15, 2026, 9:17:34 AM
Add known community-recommended minimal ProGuard keep rules for React Native (keep com.facebook.react.** and JNI/reflective method signatures) and rebuild. Test on representative devices and verify startup works.
Audit third-party native modules for reflective/JNI entry points and add keep rules for their package namespaces (keep class <module-package>.** { *; }).
Use R8's printmapping and shrinking reports to identify which classes/methods were removed and iteratively relax keep rules to find minimal set that prevents crashes while allowing shrinkage.
Automate mapping file upload and deobfuscation in CI to make crash investigation reproducible. If narrowing rules is hard, consider enabling minification but disabling obfuscation (keepnames) temporarily to retain size benefits while keeping symbols stable.
If uncertain about native/JNI boundaries or crashes continue on specific device models, collect full deobfuscated stack traces and escalate to React Native community or library authors with mapping.txt and repro APK attached.