Android OAuth Client – is a library that helps to easily add an OAuth flow to an existing Android application.
It automatically shows a customizable Android dialog with WebView to guide the user to eventually grant you an access token.
ProGuard rules for Android OAuth Client
Add the following lines to your ProGuard configuration proguard.cfg file in project.
# Android OAuth Client # Needed to keep generic types and @Key annotations accessed via reflection -keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault -keepclasseswithmembers class * { @com.google.api.client.util.Key; } -keepclasseswithmembers class * { @com.google.api.client.util.Value ; } -keepnames class com.google.api.client.http.HttpTransport # Needed by google-http-client-android when linking against an older platform version -dontwarn com.google.api.client.extensions.android.** # Needed by google-api-client-android when linking against an older platform version -dontwarn com.google.api.client.googleapis.extensions.android.** # Do not obfuscate but allow shrinking of android-oauth-client -keepnames class com.wuman.android.auth.** { *; }
For more information about Android OAuth Client please see the website.