Skip to content

Commit 68c12a2

Browse files
author
Burak
committed
chore: add build configuration for example app
1 parent 6c1bbb1 commit 68c12a2

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

example/android/app/proguard-rules.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
# For more details, see
88
# http://developer.android.com/guide/developing/tools/proguard.html
99

10+
-keep class com.facebook.hermes.unicode.** { *; }
11+
-keep class com.facebook.jni.** { *; }
12+
-keep class com.facebook.react.turbomodule.** { *; }
13+
1014
# Add any project specific keep options here:

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"private": true,
66
"scripts": {
77
"android": "react-native run-android",
8+
"android - testRelease": "cd android && ./gradlew clean && cd .. && react-native run-android --variant=release",
89
"ios": "react-native run-ios",
910
"start": "react-native start"
1011
},

0 commit comments

Comments
 (0)