According to the docs, the extension won’t render until the broadcaster, who uses the extension, has configured it. Source:
If you do require configuration, the extension won’t render until the broadcaster has configured it. In this case, you must specify versions of the broadcaster and developer configuration segments in two places. First, set the required versions on the Extensions manager Capabilities tab. Second, on the extension side, set versions when you set configuration (via the helper method or the API). Note that these two settings are compared when the channel is loaded. If they do not match, the extension will not load.
I dont know if this really is what you are looking for. So please specify a bit what you want to do, what you expect it to do and what it actually does
This is true, because you set the “Broadcaster Writable Channel Segment Version” to a value. You can leave this blank if you don’t require the extension to be configured to function.
The problem here is you set the developer and broadcaster required versions to “1”, but in your code, you set the global version and config.
This causes a number of issues.
First. you cannot set the “global” config via .set that’s restricted to the API for security reasons, otherwise everyone that installs your extension can change everyone elses configuration.
Second, you never set the developer and broadcaster segments version to “1” which is required because you set this value in the console.
Fixes:
Remove the value from the developer setting in the console
Change you code to set the broadcaster segment, not global
Also this is bad because the moment you load the configuration you are then changing the configuration. So the cached configuration is immediately out of date.
onChanged loads/populates the configuration from Twitch into your code, and can be called only once per page load
Is the ID broadcaster or ID CHannel necessary in Service Configuration?
i don’t understand
another problem…If I don’t configure a version “Developer / broadcaster Writable Channel segment”, I don’t have to indicate in .set function a version, or segment,