okta-oidc-android icon indicating copy to clipboard operation
okta-oidc-android copied to clipboard

When R8 full mode is enabled user profile callback is failing

Open Balaji-Android opened this issue 5 months ago • 0 comments

Describe the bug?

As of Android Gradle Plugin (AGP) 8.0 and later, R8 full mode is enabled by default. After enabling code obfuscation with R8 full mode fetching user profile function is not calling at all.

void getUserProfile(RequestCallback<UserInfo, AuthorizationException> cb);

What is expected to happen?

After enabled R8 full mode getUserProfile function to be called as usual

What is the actual behavior?

After enabled R8 full mode getUserProfile function is not calling

Reproduction Steps?

Just change AGP version above 8.0 and make R8 full mode is enabled. Run the project with code obfuscation turned ON after that getUserProfile function will not work

Additional Information?

No response

SDK Version

implementation 'com.okta.android:okta-oidc-android:1.3.4'

Build Information

No response

Balaji-Android avatar Sep 05 '24 03:09 Balaji-Android