Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When R8 full mode is enabled user profile callback is failing #361

Open
Balaji-Android opened this issue Sep 5, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Balaji-Android
Copy link

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 Balaji-Android added the bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant