Let – is a library that provides annotation based simple API flavoured with AOP to handle new Android runtime permission model.
ProGuard rules for Let
A shrinking phase is also applied after each optimization phase, since some optimizations open the possibility to remove more classes, methods. In the obfuscation step, ProGuard renames classes and class members that are not entry points. You have to set up a ProGuard configuration.
# Let -keep class com.canelmas.let.** { *; } -keepnames class * implements com.canelmas.let.RuntimePermissionListener -keepclassmembers class * implements com.canelmas.let.RuntimePermissionListener { public void onRequestPermissionsResult(***); } -keepclasseswithmembernames class * { @com.canelmas.let.*; }
For more information about Let please see the website.