Moodle Mobile App stuck on loading pages for all course content

Re: Moodle Mobile App stuck on loading pages for all course content

by Juan Leyva -
Number of replies: 11
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Kendel,

could you send us a backup of the course (without user data) to mobile@moodle.com?

We'd  also need to know  your exact Moodle version

Thanks, Juan

In reply to Juan Leyva

Re: Moodle Mobile App stuck on loading pages for all course content

by Joseph Bianchi -

Hi, I' experiencing the same outcome - an infinite loading spinner under the 'contents' tab - is there any known fix to this?


I'm also using a singlepage activity - and rendering a SCORM file through the iFrame Scorm Player.


Thanks, 

In reply to Joseph Bianchi

Re: Moodle Mobile App stuck on loading pages for all course content

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 Joseph,

can you please verify that you're using the version 3.5.1 of the app? You can see it in the More tab (the 3 dots) > App settings > About. We fixed an issue about SCORMs in that release.

If you're using v3.5.1, then can you please send us a backup of the course to mobile@moodle.com? Please don't include user data, just the activity.

Cheers,

Dani

In reply to Dani Palou

Re: Moodle Mobile App stuck on loading pages for all course content

by Joseph Bianchi -

Hi Dani,


I looked into it I'm on 3.5.0 - I just pulled the code from moodlemobile2 git repo (https://github.com/moodlehq/moodlemobile2). I'm also hosting my site on MoodleCloud - they state they're running moodle 3.5.1. Do you have any advice or how to, in regards to upgrading moodlemobile from 3.5.0 to 3.5.1 I can't seem to find source code (is it the apps source code)?


Thanks

In reply to Dani Palou

Re: Moodle Mobile App stuck on loading pages for all course content

by Joseph Bianchi -

also my version code: 3501 - version name: 3.5.0

In reply to Joseph Bianchi

Re: Moodle Mobile App stuck on loading pages for all course content

by Joseph Bianchi -

Updated to 3.5.1 - now my only issue I'm combating is video resources not loading: 'DOMException: Failed to load because no supported source was found.'


Also, is there a fix - there's seems to be a bug in the ionic framework where scroll is awkward and the screen bounces -- I don't know if this is more so pronounced because I'm using the iframe SCORM player -- here's a good example of what I'm talking about (https://github.com/ionic-team/ionic/issues/11844).

In reply to Joseph Bianchi

Re: Moodle Mobile App stuck on loading pages for all course content

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 Joseph,

does the video error happen only on browser/desktop or it also happens in Android & iOS? We detected a bug with videos in SCORMs that affected the browser and desktop apps:

https://tracker.moodle.org/browse/MOBILE-2524

It has been integrated in 3.5.0 branch but it wasn't part of the last release.

Regarding the bounce issue, where does it happen to you? Inside the SCORM itself?

Cheers,

Dani

In reply to Dani Palou

Re: Moodle Mobile App stuck on loading pages for all course content

by Joseph Bianchi -

Hi Dani,

This issue video asset not being found only happened in the chromium browser - I thought maybe the asset was cached from 3.5.0 - and maybe that created an issue when i upgraded to 3.5.1. The app works in the chrome browser.


As for the bounce this is my main concern - I'm trying to apply a fix to - it's a known bug in the ionic framework - and makes the app extremely clunky - seems to mostly effect the scorm player. I found this online https://github.com/ionic-team/ionic/issues/11844 I was going to try and apply the fix to IOS (this issue only occurs on IOS) - but I got blocked on setup because phonegap not longer supports IOS builds -- any work arounds or tips to test or fix?


Thanks!

In reply to Dani Palou

Re: Moodle Mobile App stuck on loading pages for all course content

by Joseph Bianchi -

Hi Dani,

This issue video asset not being found only happened in the chromium browser - I thought maybe the asset was cached from 3.5.0 - and maybe that created an issue when i upgraded to 3.5.1. The app works in the chrome browser.


As for the bounce this is my main concern - I'm trying to apply a fix to - it's a known bug in the ionic framework - and makes the app extremely clunky - seems to mostly effect the scorm player. I found this online https://github.com/ionic-team/ionic/issues/11844 I was going to try and apply the fix to IOS (this issue only occurs on IOS) - but I got blocked on setup because phonegap not longer supports IOS builds -- any work arounds or tips to test or fix?


Thanks!

In reply to Joseph Bianchi

Re: Moodle Mobile App stuck on loading pages for all course content

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 Joseph,

we are able to build the app for iOS fine both using the Phonegap CLI or a tool like Phonegap Build. Please follow this guide:

https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2

Cheers,

Dani

In reply to Juan Leyva

Re: Moodle Mobile App stuck on loading pages for all course content

by Joy Deb -

I am developing custom android app of moodle mobile2. But login is not working, showing 404. whereas when i am hitting the api /login/token.php?username=a&password=b&cervice=c, it is successfully returning token?

Whats the problem