Moodle App for iOS Cannot Display SCORM File (White Screen)

Moodle App for iOS Cannot Display SCORM File (White Screen)

by Rhana Rhadhiyant -
Number of replies: 3

Hello,

I am using Moodle official app and build it into iOS. Of course I tweaked it's UI to match my need, but functionality related SCORM is untouched.

Everything is fine until I realised that this app cannot open SCORM page. Downloading the SCORM file is successful. But after that, it shows white screen. I have tried to run the app on emulator and iPhone, both are same (white screen).

When debugging, I got following message:

2021-01-06 15:52:24.430003+0700 -[CDVFileTransfer download:] [Line 423] File Transfer downloading file...
2021-01-06 15:52:25.721819+0700 -[CDVFileTransferDelegate connection:didReceiveResponse:] [Line 771] Streaming to file /var/mobile/Containers/Data/Application/13B24350-D40D-4E16-9824-39A8DF4232DC/Documents/sites/d18f1ddb521c52cc301ee7964ad9d66f/filepool/01. LATAR BELAKANG V.1!_0fe8919307daf3be31ac9d966ed266b2.zip.tmp
2021-01-06 15:52:59.431267+0700 [BackgroundTask] Background Task 4 ("Called by CQ Academy, from -[CDVFileTransfer download:]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_smile for your task in a timely manner to avoid this.
2021-01-06 15:53:25.128947+0700 File Transfer Finished with response code 200
2021-01-06 15:53:25.129444+0700 -[CDVFileTransferDelegate connectionDidFinishLoading:] [Line 637] File Transfer Download success
2021-01-06 15:53:26.420348+0700 [Loading] Received an unexpected URL from the web process
2021-01-06 15:53:26.420398+0700 [Process] 0x14903c018 - [pageProxyID=13, webPageID=14, PID=1655] WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox

When inspecting the element, I found this:

SCORM in iOS is Not Working 

I have tried so many attempts and spent so much time because of this issue. Will be so happy if anyone here can provide any solutions for this.

Average of ratings: -
In reply to Rhana Rhadhiyant

Re: Moodle App for iOS Cannot Display SCORM File (White Screen)

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers
Hi,

please make sure you're using the latest code of the Moodle app and that you have this Cordova plugin installed:

https://github.com/moodlemobile/cordova-plugin-ionic-webview/tree/500-moodle

Cheers,
Dani
In reply to Dani Palou

Re: Moodle App for iOS Cannot Display SCORM File (White Screen)

by Josh Willcock -
Picture of Core developers Picture of Plugin developers
Hey Dani,

Would you know is this plugin is installed by default on the iOS App Store's version of the official Moodle app?

Thanks

Josh
In reply to Josh Willcock

Re: Moodle App for iOS Cannot Display SCORM File (White Screen)

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers
Hi Josh,

the official Moodle app published in iOS App Store has this plugin installed. The author of this post was creating a custom app.

Cheers,
Dani