3

The app_debug.apk of my app works well. I can login with oauth. But the oauth of app_release.apk of the same app doesn't work. I tried using minifyEnabled false and the app-release.apk runs perfect. So it must be a proguard issue. Please suggest me some proguard rules to overcome this issue.

Aakash Venkat
  • 105
  • 1
  • 7

1 Answers1

2

You have to tell ProGuard to keep all your code files and not to remove those code while shrinking.

Go to proguard-rules.pro and make the below changes

-keep class <package-name>.** {*;}