Moodle for mobile

Moodle Mobile App stuck on loading pages for all course content

 
Picture of Kendel Giddens
Moodle Mobile App stuck on loading pages for all course content
 

Hi, 

The entire course that I am part of are now unable to access our course content via the Moodle Mobile App.  We can login, see the courses and section, but when we click on them there is a perpetual loading screen that never goes away.  This was not a problem last week, and has only become an issue in the past few days.    The moodle app is updated.  I have tried http and https.  

Our site is https://moodle.rehabessentials.com

I have searched thoroughly through this site and not found any similar questions.


Please let me know what we can do to fix this because we use this app every day, 

Thanks 

Kendel Giddens

 
Average of ratings: -
Picture of Kelson Colbo
Re: Moodle Mobile App stuck on loading pages for all course content
 

Kendel:

I have been working on this problem for Rehab Essentials.  I have not been able to resolve this problem using moodle mobile.  The solution for me was to remove moodle mobile, and install the Moodle Classic app.  All course content works fine using Moodle Classic.


Kelson

 
Average of ratings: -
Picture of Dani Palou
Re: Moodle Mobile App stuck on loading pages for all course content
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi,

can you please tell us which course format are you using in the courses that are failing? If it's a single activity format, which type of activity does it contain?

Kind regards,

Dani

 
Average of ratings: -
Picture of Joseph Bianchi
Re: Moodle Mobile App stuck on loading pages for all course content
 

Were you able to find a workaround?

 
Average of ratings: -
Picture of Juan Leyva
Re: Moodle Mobile App stuck on loading pages for all course content
Core developersMoodle HQParticularly helpful MoodlersPlugin developersTesters

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

 
Average of ratings: -
Picture of Joseph Bianchi
Re: Moodle Mobile App stuck on loading pages for all course content
 

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, 

 
Average of ratings: -
Picture of Dani Palou
Re: Moodle Mobile App stuck on loading pages for all course content
Core developersMoodle HQParticularly helpful MoodlersPlugin 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

 
Average of ratings: -
Picture of Joseph Bianchi
Re: Moodle Mobile App stuck on loading pages for all course content
 

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

 
Average of ratings: -
Picture of Joseph Bianchi
Re: Moodle Mobile App stuck on loading pages for all course content
 

also my version code: 3501 - version name: 3.5.0

 
Average of ratings: -
Picture of Joseph Bianchi
Re: Moodle Mobile App stuck on loading pages for all course content
 

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

 
Average of ratings: -
Picture of Dani Palou
Re: Moodle Mobile App stuck on loading pages for all course content
Core developersMoodle HQParticularly helpful MoodlersPlugin 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

 
Average of ratings: -
Picture of Joseph Bianchi
Re: Moodle Mobile App stuck on loading pages for all course content
 

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!

 
Average of ratings: -
Picture of Joseph Bianchi
Re: Moodle Mobile App stuck on loading pages for all course content
 

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!

 
Average of ratings: -
Picture of Dani Palou
Re: Moodle Mobile App stuck on loading pages for all course content
Core developersMoodle HQParticularly helpful MoodlersPlugin 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

 
Average of ratings: -
Picture of Joseph Bianchi
Re: Moodle Mobile App stuck on loading pages for all course content
 

Hey Dani,


I was referring to the developer app - https://blog.phonegap.com/update-on-the-phonegap-developer-app-ios-99e07e3309dd .


No longer available in the apple app store - so it's become quite difficult to test builds on IOS .

 
Average of ratings: -
Picture of Joy Deb
Re: Moodle Mobile App stuck on loading pages for all course content
 

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


 
Average of ratings: -
Picture of Joy Deb
Re: Moodle Mobile App stuck on loading pages for all course content
 

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

 
Average of ratings: -