LittleLightForDestiny / littlelight

Little Light is an inventory manager/companion app for Destiny 2 for both iOS and Android. It helps guardians move their gear and track their ingame progress.
MIT License
159 stars 32 forks source link

Login workflow not working on the Android app on Chromebook #129

Closed ozone closed 2 years ago

ozone commented 2 years ago

The app lets me choose the language, then it downloads the Destiny manifest, then asks me to authorize the app on my Bungie account. This open a webpage in Chrome (the native app, not an Android version) on bungie.net. At this point I approved the app from my Stadia account and my PSN account, and get returned to the login page asking me to authorize the app. I've cleared the cache and storage between attempts. I suspect the problem comes from the jump between the native browser and the Android app. This worked on other apps, like the Destiny companion app.

(Big thank you for maintaining this amazing app, and happy new year!)

ozone commented 2 years ago

I found a workaround by installing the Firefox Focus Android app, and by making it the default browser. The workflow works with this app. I guess the Little Light URLs aren't being redirected to the app from the native browser.

joaopmarquesini commented 2 years ago

Hi ozone, that's it. I'm not sure why but for some reason Chrome OS system browser won't forward the login code to LL. I'm doing a major rework on the login process right now and that "may" fix it, but I can't tell for sure as I don't have a Chromebook to test it.

ozone commented 2 years ago

I should be able to help with this. Happy to test it for you when you think it's ready.

joaopmarquesini commented 2 years ago

Hey @ozone I think I fixed it on the login flow rewrite, but forgot about the GH issue... can you test it?

ozone commented 2 years ago

It works perfectly! Thank you for fixing this, and apologies for taking so long to test it!