android-sdk
android-sdk copied to clipboard
AuthSDK: CustomTabs flow does not work on older devices
Issue found on 2020-07-04.
SDK Version:
2.0.2
OS Version:
Android Emulators API 23, 24, 25, 26 with Bromite Chromium v102 (It is easier to install it instead of Chrome, but it is actually degoogled Chrome).
Android 6, Xiaomi Mi 3W with Chrome installed
Scope(s):
CustomTabs login
Steps to reproduce:
- Have a device with Custom Tabs browser (default browser on non-Google-Play emulators does not support it).
- Checkout sample app https://github.com/CherryPerry/SpotifyAuthSDKBug
- Fill in all missing info like manifest placeholders, api key and etc.
- Start auth flow using the button.
- Login with account.
- See "TOKEN" result.
- Start auth flow again.
- A browser will automatically log in and close itself.
Expected behaviour:
"TOKEN" result.
Actual behaviour:
"EMPTY" result.
Devices with API 27+ are not affected.
Duplication of https://github.com/spotify/android-sdk/issues/325
how is it going with this case ? I have the same issue. Thankyou.