Custom app - Error downloading SCORM

Custom app - Error downloading SCORM

by Gary Kenyon -
Number of replies: 2

Hi,

I've built a custom app, following the instructions on this site and github, it runs fine, connects to the LMS fine, but I'm having a problem with downloading courses. The .zip files download, but I'm getting an error "Error downloading SCORM: scormname".

The console is showing "File transfer finished with response code 200" and "File transfer download success".

Now, the files are downloading, as I can see the space used increases in line with the course downloaded, my guess is that they aren't being unzipped properly or are stuck as .tmp files.

I've tested the appstore version of the app, and it downloads correct, so there's not a problem with my moodle setup.

Any help would be greatly appreciated.

Average of ratings: -
In reply to Gary Kenyon

Re: Custom app - Error downloading SCORM

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Gary,

maybe you lack the plugin we use to unzip. Please make sure you have this plugin installed:

cordova-plugin-zip


Kind regards,

Dani

In reply to Dani Palou

Re: Custom app - Error downloading SCORM

by Gary Kenyon -

Hi Dani,

That has fixed it!

Thank you for the quick reply.