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
Include proguard rules that will allow users to build their Android app in release mode with minify enabled.
Use case
As an Android dev you usually set isMinifyEnabled = true in your build options to reduce the apk size but doing so will break the app. Some classes should be excluded from the minify process or rust-nostr will not work. It would be nice if the lib would work from the get-go without having to figure out proguard rules.
Additional context
I don't know if this is the best solution but it works for me and it's what I'm currently using:
Describe the enhancement
Include proguard rules that will allow users to build their Android app in release mode with
minify
enabled.Use case
As an Android dev you usually set
isMinifyEnabled = true
in your build options to reduce the apk size but doing so will break the app. Some classes should be excluded from the minify process or rust-nostr will not work. It would be nice if the lib would work from the get-go without having to figure out proguard rules.Additional context
I don't know if this is the best solution but it works for me and it's what I'm currently using:
Here the file: https://github.com/dluvian/voyage/blob/master/app/proguard-rules.pro
The text was updated successfully, but these errors were encountered: