rootbeer icon indicating copy to clipboard operation
rootbeer copied to clipboard

Proguard rules

Open francescogatto opened this issue 6 years ago • 2 comments

Are there any proguard rules? because is not working woth proguard activated Thanks

francescogatto avatar Mar 20 '18 16:03 francescogatto

@francescogatto I've tested the sample app with proguard enabled and it works correctly. Have you made sure to include the default android proguard rules? If so can you submit the error that your getting on compilation or runtime? Thanks

android {
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

stealthcopter avatar Jun 15 '18 12:06 stealthcopter

@stealthcopter thx!I don't have any more the error.. but in my case didn't work, so i added. -keep class com.scottyab.rootbeer.** { *; } -dontwarn com.scottyab.rootbeer.**

francescogatto avatar Jun 17 '18 10:06 francescogatto