Skip to content

[DX-2757] fix: android custom tabs dismiss callback #178

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

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

nattb8
Copy link
Collaborator

@nattb8 nattb8 commented Mar 12, 2024

Summary

As mentioned in #177, in some Android devices and newer Android versions, the on-dismiss callback for Chrome Custom Tabs is triggered prematurely before the user is redirected to a game via deep links. This leads to the completion source for PKCE being nullified before the SDK can use it to inform the consumer of the PKCE result.

To solve this, the SDK now detects how Chrome Custom Tabs were dismissed differently.

Customer Impact

Some Android devices and newer Android versions may prevent customers from logging in using the PKCE flow.

  • Replied to GitHub issues

@nattb8 nattb8 requested a review from a team March 12, 2024 22:13
@nattb8 nattb8 mentioned this pull request Mar 12, 2024
@nattb8 nattb8 force-pushed the fix/android-on-dismissed branch from 0b82c08 to 7fe8bb1 Compare March 14, 2024 02:51
@nattb8 nattb8 changed the title [DX-2757] fix: android custom tabs dismiss callback called before deeplink [DX-2757] fix: android custom tabs dismiss callback Mar 14, 2024
@nattb8 nattb8 merged commit 79988f2 into main Mar 14, 2024
@nattb8 nattb8 deleted the fix/android-on-dismissed branch March 14, 2024 03:00
@github-actions github-actions bot added the fix label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants