The extension set value when submit form, I tried with different version values, and I enabled configuration service on extension options and tried with different options for Developer Writable Channel Segment Version and Broadcaster setting to empty both, “broadcaster” and “1”… etc
Doing a set will not cause a reload of the configuration service.
Either update twitch.configuration yourself or reload the page.
So you would do a set
Reload the extension
Then check if the data is now present (which it should be)
.onChanged can only be called once it’s not recalled when the configuration service is updated. Since configuration is only loaded once, if you set it’s not loaded again
I tend to load configuration with onChanged, then copy the values into my own JS Object.
then if I do a set I’ll update my object as well as calling .set
If it’s not populated on load then you are not calling onChanged to populate