levibostian / AndroidBlanky

Create a new Android app fast. Comes pre-installed with libraries you already use.
7 stars 0 forks source link

Update proguard rules. #31

Closed levibostian closed 6 years ago

levibostian commented 6 years ago
-keep class com.foo.foo.**.model.** { *; }
-keep class com.foo.foo.**.vo.** { *; }

Right now, I am using models instead of model which is a typo. Also, it doesn't work because I am storing my models in a subdirectory.

Also, add this note to the top of the SharedPrefsKeys:

// NOTE: Make sure that this file is excluded in the Proguard!
// As of right now, it is because I have it located in the 'model' directory.
// I used to store these keys in the R.strings and it worked well but got tired of requiring shared prefs all over the place.

Friendly reminder to myself :)

levibostian commented 6 years ago

Done. Will be part of the next release.