Skip to content

Conversation

@wmathurin
Copy link
Contributor

  • token end point response contains scope
  • this value is now captured and saved in the user account
  • tests were updated

- token end point response contains scope
- this value is now captured and saved in the user account
- tests were updated
@github-actions
Copy link

2 Warnings
⚠️ libs/SalesforceSDK/src/com/salesforce/androidsdk/accounts/UserAccountManager.java#L109 - Do not place Android context classes in static fields (static reference to UserAccountManager which has field context pointing to Context); this is a memory leak
⚠️ libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/AuthenticatorService.java#L56 - Do not place Android context classes in static fields (static reference to Authenticator which has field context pointing to Context); this is a memory leak

Generated by 🚫 Danger

*
* @return Array of scope strings (empty if scope is null/empty).
*/
public String[] parseScopes() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find Lists to be a lot easier to deal with than Arrays, especially in Kotlin. Seems like the List contains function would be useful for scopes, but you could call contains() on the String scope itself as well so really not a big deal.

Edit: Apparently I should have just kept reading, hasScope resolves the above.

@wmathurin
Copy link
Contributor Author

Only test failure (LoginActivityTest.viewModelIsUsingFrontDoorBridge_DefaultValue_onCreateWithoutQrCodeLoginIntent) is related to changes.

@wmathurin wmathurin merged commit 1962712 into forcedotcom:dev Oct 1, 2025
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants