Skip to content

Commit be062a0

Browse files
committed
fix(android): ProGuard keep getId
closes tauri-apps/tauri#15311
1 parent 44e26ef commit be062a0

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changes/keep-get-id.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wry": patch
3+
---
4+
5+
Tweak ProGuard rules to keep the getId required activity method.

src/android/kotlin/proguard-wry.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
void setWebView({{package-unescaped}}.RustWebView);
1313
java.lang.Class getAppClass(...);
14+
int getId();
1415
java.lang.String getVersion();
1516
int startActivity(...);
1617
}

0 commit comments

Comments
 (0)