Skip to content

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

@Balaji-Android

Description

@Balaji-Android

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions