Moodle Mobile won't download SCORM courses offline

Moodle Mobile won't download SCORM courses offline

by Mark Chitty -
Number of replies: 6

I've been working on a custom version of the Moodle Mobile App.

I recently reconfigured the App to work using https, after which the App won't download the SCORM files for use offline and instead tries to open them via a web view.

I've had a dig around the Angular code and I've also had a good look through the settings within Moodle, specifically ensuring that the 'Protect package downloads' within the SCORM related ones is not checked.

Is there any where else within Moodle that a setting could cause this sort of behaviour?

Attachment Screen Shot 2018-03-08 at 16.21.23.png
Attachment screenshots.png
Average of ratings: -
In reply to Mark Chitty

Re: Moodle Mobile won't download SCORM courses offline

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

does it work with the official app or are you experiencing the same problem?

Please review the FAQ also, https://docs.moodle.org/34/en/Moodle_Mobile_FAQ, there are also several known issues related to certificates.

In reply to Juan Leyva

Re: Moodle Mobile won't download SCORM courses offline

by Mark Chitty -

hi Juan,

yes, I was seeing the same issue with the standard Moodle Mobile app.

What I've come to realise is that a recent move to a new sub-domain is probably causing the issue:

https://docs.moodle.org/22/en/Moodle_migration

I've run the suggested script but it hasn't helped so I'm now looking at working with the exported MySQL file and make the changes from there.

I'll report back once I've got it working!

thanks,

mark

In reply to Mark Chitty

Re: Moodle Mobile won't download SCORM courses offline

by Mark Chitty -

so. i've removed all traces of the orignal URL from the database, replacing it with the new URL.

I've then recreated a new database, and imported the new SQL file.

I've also checked all the points made in the https://docs.moodle.org/34/en/Moodle_Mobile_FAQ document.

I've even purged the caches, deleted and reinstalled the app as well (on both android and iOS).

I'm still seeing the issue as show above. I'm very close to picking apart the Mobile App build and seeing if I can't track down the issue from there...

In reply to Juan Leyva

Re: Moodle Mobile won't download SCORM courses offline

by Mark Chitty -

one interesting addition, looking at the generic moodle mobile app, I can download the course files via the main course page, but i try and open the course contents I get the same error reported.

Attachment moodlemobile-example.png
In reply to Mark Chitty

Re: Moodle Mobile won't download SCORM courses offline

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

can you check if the SCORM activity is disabled for the mobile app in Site administration > Mobile features > Disabled features

According the message, it seems that someone disabled that activity in the app

In reply to Juan Leyva

Re: Moodle Mobile won't download SCORM courses offline

by Mark Chitty -

Bingo!


That was it, thanks for helping me figure it out! The hardest part with this is knowing where to look.


regards.

Attachment Screen Shot 2018-03-20 at 14.55.45.png