I'm undertaking an effort to add mobile support to my questionnaire plugin (see CONTRIB-6222), and documenting the efforts as I go. I am using all of the developer documentation, but I have and will run into questions, so I'm going to ask them here. Hopefully this effort will help make it easier for others to do the same.
I have some questions, that are based on trying to understand the mechanics of what I am doing... I'm using the quiz module as my example, as it seems to do similar thing in the mobile app that I would like the questionnaire to do. When I look at a quiz in the mobile app, I see a screen that shows me something like the attached image:
What service provides that screen? It looks like a formatted version of the standard quiz view screen, but what makes that happen? If I do the same for an unsupported plugin (e.g. Feedback), I just get a screen telling me that it is unsupported. What "unlocks" a plugin to make this display happen? Nothing in the 'classes/external.php' file seems to provide display information. Is it the existence of the 'view_quiz' function in the mod_quiz_external class?
If there is a document that better explains this, you can just point me to that.
Thanks in advance.