Hi Dan Marsden ,
I have a query:-
Why this newer method does not provide support for offline access ? Is there any technical constraints or it is purposefully left out ?
As Attendance plugin use CoreCourseModuleDelegate in newer method to add support in moodle mobile app.
CoreCourseModuleDelegate has option for offlinefunctions, where we can specify list of function to prefetch the module. Thus we can pre download
the views of attendance for offline purposes.
(Also we can create our own prefetch handler to determine what needs to be download
What is your opinion to use offlinefunctions option to provide offline support ?
After prefetching of views, if teacher is offline, the attendance response will be stored in SQL
(it is already used in moodle app) untill teacher is offline.
When teacher got internet, attendance will be synchronise with moodle site database
What is your opinion about this approach ?
Is their any other approach better than above?
If yes please let me know.
Any suggestion will be highly appreciated.
Also please let me know if I missed anything.
Thanks and Regards