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:
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.