The Mobile Moodle Application is no longer able to load the content so the User can visualize the Course and interact with it.
1- Clone the official Mobile Moodle Git repository, follow the Developer installation procedure and have the application launching in your localhost with the Desktop Google Chrome Web Browser.
2- Launch the Application: connect to a Moodle Demo Website, like school.demo.moodle.net (this is a demo site, credentials are available on the web). Image attached.
Result: You cannot see the Scorm Content itself, you are blocked by different behaviors among these:
a- Nothing happens when you click.
b- You get a pop-up Message "A URI supplied to the API was malformed, or the resulting Data URL has excedded the URL Length limitations for Data URLs"
c- No pop-up, nothing on the Front-end. Error in console log: "A URI supplied to the API was malformed, or the resulting Data URL has excedded the URL Length limitations for Data URLs"
Has anybody seen this ?
This is preventing our development team to work on the MobileMoodle git Project and implement features for our organization. This has started happening friday14sept2018 (has not been observed before that date).
Your answer will be appreciated. Thanks!
We applied some CSS styling that were requiring the Chrome Web Browser to be in Emulation Mode. The problem when you emulate a Mobile Device in the Browser, is that the filesystem used by the App to store/retrieve content is then completely different. The App will no longer be able to create and retrieve files.
Lesson is: Be careful if you have to use the Google Chrome Device Emulator in your development phases. MobileMoodle use the Browser FileSystem API to store files (files that are actual Course materials). When you enable the Emulator, you completely confuse the Filesystem API which seems to not be able to retrieve what has previously been created.