Issues with Twitch Extension Configuration and Mobile

Hey!

I’m developing an extension which requires the streamer to configure some stuff.
I got everything working fine on desktop, but the configuration doesn’t seem to be loading on my phone.

The first weird issue I noticed (in desktop) is this one:

  • In the sample twitch projects, they always wait for the callback set with window.Twitch.ext.configuration.onChanged. But if the configuration has already loaded before you call it (you could be waiting for something else to load before you set this callback), it will never fire. You have about 40ms, depending on your internet connection.
    That can be worked around, even though it’s very unintuitive (and the onChanged name makes it seem like it will fire every time a configuration change is made, in real time)

The real problem is that the configuration straight up doesn’t load for me on mobile. I tested it with in a real device with both an approved version, hosted test, and local URI (using http and a subdomain that points to my pc’s local address).

I took a couple of screenshots to illustrate this issue:
image

The code for the screenshots tests is very simple can be found here: <!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <meta name= - Pastebin.com. It won’t work for a hosted test, but I moved the js to it’s own file and tested it with the same result.

Am I missing something? I think it could be an issue with my extension, since other extensions seem to be able to load configs fine.

Bump?
The problem still persists

Thanks for reaching out. What version of the app are you using?

7.0.1

Unfortunately configuration service is only enabled post version 7.1.

That’s weird, since I can’t seem to be able to update the app on the playstore. Why would you publish the configuration service if it’s not even available for mobile devices, and with no warning?

I’ll remove mobile support for a couple of months, and then try again. Hopefuly 7.1 will have enough adoption rate by then

So you want Twitch to wait on a feature because Google PlayStore is slow in accepting/publishing a update (ditto for iOS)

You’re right, but I’d at least mention it in the announcement post and/or documentation.
Anyway, thanks for the help!

1 Like

7.1 Is going to be officially released Monday (barring any problems). Its in beta right now.

1 Like