So if you look at the coordinator file at line 183, the
https://github.com/twitchdev/developer-rig/blob/master/public/coordinator.js
iframe.style.display = ‘none’ property;
the iframe object already comes with the style property initialized in none
If you analyze the code ( at line 202-211), the condition for this not being true is when:
else if (data.action === 'extension-frame-authorize') { iframe.style.removeProperty('display'); }
So there are some possible solutions
-
developer rig is in some conflict, or there are updates that you have not picked up in the master branch (git pull)
-
you are letting some incorrect configuration pass
-
README developer rig:
Troubleshooting
The Extension I have specified is not appearing the Developer Rig.
There are a number of things that can create problems. The most common causes are: invalid NPM or NodeJS installations; a missing host file entry for the Developer Rig; misconfigured Environment variables being passed to the Developer Rig; or Extension configuration that does not match the contents of the Twitch Developer Site.
I am certain that my Developer Rig Configuration is correct, but my Extension is still not working.
Clear your browser cache and local storage, restart the Developer Rig, and cross your fingers. To delete its local storage, use your browser’s developer tools to do so then refresh your browser. Ensure you’ve included the Twitch Extension Helper in your front-end files.
If you have tried everything and still can not resolve it, and you think the problem is in developer rig, there is a way to report your problem here:
https://github.com/twitchdev/developer-rig/issues
Without seeing code and configuration it is difficult to understand what is happening, we hope you can complete your project without major problems, any problem can come back here that everyone will help you.