AppAuth-Android
AppAuth-Android copied to clipboard
Unable to create AuthorizationService object in Android studio
Configuration
- Version: 0.11.1
- Integration: (Java)
Description
When attempting to create an AuthorizationService object, I get this error: "Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.browser.customtabs.CustomTabsServiceConnection"".
Code for reference: AuthorizationService authService = new AuthorizationService(this);
Attempted to use context from Main as well as context from custom LoginActivity. Neither work.
Do you use ProGuard? Have you tried keeping the class? -keep class androidx.browser.customtabs.CustomTabsServiceConnection { *; }