LWA not working on android 14 phones (Moto g84 and Pixel 6)

For login, I am making the following API call

AuthorizationManager.authorize(
                AuthorizeRequest.Builder(requestContext)
                    .addScopes(*scopes)
                    .build()
            )
private val scopes = arrayOf(
        ProfileScope.profile(),
        ScopeFactory.scopeNamed("photos::images:read")
    )

The authorize call works fine on android 13 and below, but on some android 14 devices (Moto g84 and Pixel 6), I do not receive any response back.

On debugging the amazon library, I found that inside

ThirdPartyAuthorizationHelper class, the call

results = this.startAuthorizationWithService(context, allScopes, extraParameters);
doesn’t return any response, however for android 13 devices the same API call returns an empty Bundle object.

Because of this, the below line fails to execute in android 14 devices, which is responsible for launching the browser for SSO:

ThirdPartyAuthorizationHelper.this.authorizeWithBrowser(originalRequest, context, context.getPackageName(), clientId, allScopes, listener, extraParameters, appInfo);

Note: Target SDK for our app is 34

Hi Swati,

Thank you for posting .

Can you please check once if you have the correct version of Appstore SDK to work with LWA in Android 14 with targetSDKVersion: 34?
ReF: Release Notes | Login with Amazon

Additionally, you can also login to your Developer Portal account, click Contact Us and provide all those details there (your app name / ID, device model, OS and SDK versions, a snippet of code, log files), and the LWA team will look into it.

Thanks!

Hi Swati,

We have released a new Login with Amazon SDK on Oct 25 to support Android 14, could you please check if the new version mitigates your issue? Release Notes | Login with Amazon