I am trying to create the mobile support for a course format plugin. I use the Delegate CoreCourseFormatDelegate for this.
I wonder how to implement still showing the default mobile frontend Course Page View from the mobile app code 3.5.0 and not use an own template, right now I am rendering the content with a mustache template in the Web Service Callback.
'templates' => array(
'id' => 'main',
'html' => $OUTPUT->render_from_template('format_flex_eduwerkstatt/simple_mobile_course_format', $data),