Skip to content

Commit 1e1e755

Browse files
committed
chore: add consumer-rules to avoid required function name strip
1 parent c43e82d commit 1e1e755

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/brownie/android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ android {
4141
defaultConfig {
4242
minSdkVersion getExtOrDefault("minSdkVersion")
4343
targetSdkVersion getExtOrDefault("targetSdkVersion")
44+
consumerProguardFiles "consumer-rules.pro"
4445

4546
externalNativeBuild {
4647
cmake {
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-keep class com.callstack.brownie.BrownieStoreBridge {
2+
void onStoreDidChange(java.lang.String);
3+
native <methods>;
4+
}

0 commit comments

Comments
 (0)