You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,14 @@ cd ios && pod install
79
79
80
80
Autolinking handles everything. No manual `MainApplication` edits required.
81
81
82
+
> [!NOTE]
83
+
> If you have ProGuard/R8 enabled (release builds), add the following rule to `android/app/proguard-rules.pro` to prevent the native Nitro class from being stripped:
84
+
> ```pro
85
+
> # react-native-inappbrowser-nitro
86
+
> -keep class com.inappbrowsernitro.** { *; }
87
+
> ```
88
+
> Without this, release builds may crash with `Couldn't find class 'com/inappbrowsernitro/HybridInappbrowserNitro'`.
0 commit comments