Skip to content

Commit 2b30e9c

Browse files
committed
add proguard file with explanation
1 parent 8b618b6 commit 2b30e9c

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Plugins/Android.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Plugins/Android/proguard-user.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Enabling Minify in Android causes native libraries in ReactUnity to break
2+
# To solve this, you first need to enable "Custom Proguard file" option in Project Settings
3+
# Then, either copy this file into "Assets/Plugins/Android/proguard-user.txt", or merge the code below with your existing file
4+
5+
-keep class com.facebook.yoga.** { *; }

Plugins/Android/proguard-user.txt.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)