From 243184b8ce2db51b08ad6b7d05037f87c6c0754b Mon Sep 17 00:00:00 2001 From: Radek Czemerys Date: Thu, 9 Apr 2020 15:59:05 +0200 Subject: [PATCH] Add hermes ProGuard rule This adds a ProGuard so users don't have to add it manually. #28270 --- ReactAndroid/proguard-rules.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ReactAndroid/proguard-rules.pro b/ReactAndroid/proguard-rules.pro index 7eeef601f7189a..a5f032f2254db3 100644 --- a/ReactAndroid/proguard-rules.pro +++ b/ReactAndroid/proguard-rules.pro @@ -51,6 +51,9 @@ -dontwarn com.facebook.react.** -keep,includedescriptorclasses class com.facebook.react.bridge.** { *; } +# Required when using hermes +-keep class com.facebook.jni.** { *; } + # okhttp -keepattributes Signature