Hi everyone,
we would like to use Shiny Apps in quizzes at our universities learning management system (Moodle). Therefore, we have to embed the Shiny App in our quiz questions (e.g. as iframe). Locally we managed this by listening on a shiny:inputchanged event and then use postMessage command to send a message to the parent window.
But on our Shiny Server (and shinyapp.io) all messages get discarded from buffer. Can we change this behaviour and allow messages that go out to our Moodle instance?
Thanks for your hint. Locally I can run my app and have it communicate with a parent div now. But when I deploy the app on shinyapp.io the messages get discarded from the buffer.
Is there a setting I can change so that the messages are not discarded but send to the parent div also when the app is hosted on shinyapp_io?