From 39c73a842f0489b1d860bc16f9e15d65136f6019 Mon Sep 17 00:00:00 2001 From: Minjang Kim Date: Wed, 26 Apr 2017 16:23:17 -0700 Subject: [PATCH] A (better) fix for t17513908: IG(Android) crash when tapping "Comments" at Settings Reviewed By: martinbigio Differential Revision: D4956022 fbshipit-source-id: 0f9cc1c9ecf28c95fe192f41fd3e75cd7409dd27 --- .../src/main/java/com/facebook/react/bridge/NativeModule.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeModule.java b/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeModule.java index 886c34f76..8dffd27ba 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeModule.java +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeModule.java @@ -9,6 +9,7 @@ package com.facebook.react.bridge; +import com.facebook.proguard.annotations.DoNotStrip; /** @@ -18,6 +19,7 @@ package com.facebook.react.bridge; * must not provide any Java code (so they can be reused on other platforms), and instead should * register themselves using {@link CxxModuleWrapper}. */ +@DoNotStrip public interface NativeModule { interface NativeMethod { void invoke(JSInstance jsInstance, ReadableNativeArray parameters);