solana-mobile / Minty-fresh

An open source mobile first implementation of NFT minting on solana
https://solanamobile.com/
Apache License 2.0
45 stars 18 forks source link

Update proguard rule to keep constructors from Builder classes #370

Closed ankur2136 closed 1 year ago

ankur2136 commented 1 year ago

In metaplex library the code is being invoked indirectly from internal java methods by accessing constructor list

See https://github.com/metaplex-foundation/metaplex-android/blob/1.4.1/lib/src/main/java/com/metaplex/lib/shared/GpaBuilder.kt#L52

Proguard assumes the constructors to be unused and strip those out of build causing runtime failures.