SandroMachado / openalpr-android

Android Automatic License Plate Recognition library (http://www.openalpr.com) ported for android.
Apache License 2.0
770 stars 272 forks source link

avoid class minification and obfuscation #52

Closed picce closed 7 years ago

picce commented 7 years ago

https://stackoverflow.com/questions/30001674/gson-deserialize-null-pointer-in-released-apk in release mode proguard change props names and then final Results results = new Gson().fromJson(result, Results.class); returns null value. Solved problem for release mode scan -- issue was due gson.fromJson with minified/obfuscated class model

SandroMachado commented 7 years ago

Thanks 👍