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

helixToken undefined in mobile apps #455

Closed
freaktechnik opened this issue Jul 24, 2021 · 8 comments
Closed

helixToken undefined in mobile apps #455

freaktechnik opened this issue Jul 24, 2021 · 8 comments

Comments

@freaktechnik
Copy link

Brief description
Extensions now get a helixToken to make calls to the Twitch API from the front-end. However, this token is not passed in the Android app (yet).

How to reproduce
Output helixToken in the onAuthorized callback when the extension is loaded in the Android app.

Expected behavior
helixToken is documented without caveats of availability, so it should be available everywhere the extension is loaded.

Screenshots

Additional context or questions
The Twitch app on Android I'm using is Version 11.1.0 and Google Play offers me no update. I have also had matching reports from users of the extension.

@BarryCarlyon
Copy link
Contributor

I have confirmed that this bug is present on the Twitch iOS App as well

Twitch App Release: 11.1
TestFlight: Twitch App Beta: version 11.2

@BarryCarlyon
Copy link
Contributor

BarryCarlyon commented Jul 26, 2021

Same code tested on Different Platforms

iOS Desktop/Chrome
image

@freaktechnik freaktechnik changed the title helixToken undefined in Android app helixToken undefined in mobile apps Jul 26, 2021
@lleadbet
Copy link
Contributor

👋 - We're aware of this and looking to get it included in an upcoming mobile release. I'll close this when that's gone out.

Tandashi added a commit to Tandashi/JDR-Twitch that referenced this issue Sep 20, 2021
helixToken in auth is undefined on mobile: twitchdev/issues#455
@Tandashi
Copy link

👋 Any updates on this topic so far? Like when a release might come out / if any release is planned yet since it's been about 2 months now.

@ryanpf
Copy link

ryanpf commented Dec 30, 2021

Is there a recommended workaround for getting a user's display name while this bug exists?

@BarryCarlyon
Copy link
Contributor

Is there a recommended workaround for getting a user's display name while this bug exists?

The same way we did before helixToken was introduced: use an EBS/backend service

@JosePascual
Copy link

Any update?

@BarryCarlyon
Copy link
Contributor

Update:

seems it has a key in the object but the value is undefined

IMG_9491

@Xemdo Xemdo closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants