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

Bug: PWAs deployed to the Play Store on Samsung A52 need to use local storage #31

Open
4 tasks done
DaveOrDead opened this issue Jun 30, 2023 · 0 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@DaveOrDead
Copy link
Member

Prerequisites

Describe the issue

We are seeing an issue when the following conditions are met:

  • App is a PWA deployed to the Play Store
  • Samsung mobile device which is either A42, A52 or S22
  • Android version 12
  • Custom domain applied

In this case the cookie seems to be unreadable by the device. It is fine when viewing in the browser, just not when installed as a PWA.

You can work around this by using the is_dangerously_use_local_storage escape hatch but this isn't recommended (as the name implies!)

Suggest we detect if the SDK is running on an installed PWA and fallback to local storage in that instance only.

Library URL

https://github.com/kinde-oss/kinde-auth-pkce-js/

Library version

3.0.16

Operating system(s)

Android

Operating system version(s)

Android v12

Further environment details

  • App is a PWA deployed to the Play Store
  • Samsung mobile device which is either A42, A52 or S22
  • Using custom domains

Reproducible test case URL

No response

Additional information

No response

@DaveOrDead DaveOrDead added the bug Something isn't working label Jun 30, 2023
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