Hello,
In the past I've been successfully using the API when running from the app (HTML5 game), testing for the Itch object existence from javascript as documented:
if (typeof Itch === 'undefined') { console.log('no Itch context'); } else { ... }
This no longer works (I always get 'no itch context', both when running in the app and the itch.io website). I also tried with this sample project (replacing the files in my own project) https://github.com/fasterthanlime/sample-html-app and it also does not find the Itch object.
Is there now an additional step to take besides the manifest?
Thank you!
Best regards -