Mobile app & website version compatability

Re: Mobile app & website version compatability

by Rekha C -
Number of replies: 4

Received a reply on Github "Moodle Mobile is compatible with Moodle 2.4 onwards, no matter the version. We take care of making the app compatible with all versions since 2.4" - which means, I can upgrade the website to 3.2 and have an app on 3.1

However,  when I upgrade the website to 3.2.1, many essential plugins are not yet available, like authentication, enrollment, and security.  There is a lag with the latest moodle install version provided by web hosts - what is the workaround?

In reply to Rekha C

Re: Mobile app & website version compatability

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

Hi Rekham,

could you elaborate a little bit more? I don't really understand which features are you missing in the app.

Regards, Juan 

In reply to Juan Leyva

Re: Mobile app & website version compatability

by Rekha C -

Hi Juan,

I upgraded from 2.9.2 to 3.2.1 

I made a custom app from github/lean moodle by forking and changing the site urls.

In 3.2.1, a few third party plugins are not yet upgraded by their developers, am waiting for those 

1) Authentication: Enrolment key based self-registration at https://moodle.org/plugins/auth_enrolkey

Presently, I am losing 75% visitors to the app who do not complete the sign-up process cause they have  to sign-up in the browser, go to email and click verification link, and enter login name password in the app. This enroll key feature reduces the steps but the key has to show in the text.

2) Custom app - is only till 3.1.2 and does not have in-app sign-up. I am thinking of recommending the moodle mobile app instead of my custom app

3) Enrolment: Auto enrolment at https://moodle.org/plugins/enrol_auto

The custom app does not have a Search courses feature as courses do not download on the app. As a workaround, I had installed the auto-enroll plugin, so that free Demos are in the app as soon as they sign-up. Presently, when ppl sign-up in the app, they do not have any courses to see. They have to visit the moodle site in the browser and enroll in free courses to make them appear in the app.

4) Authentication: Anti-hammering / Login blocker at https://moodle.org/plugins/auth_antihammer 

This site plugin is only till 3.0, not yet for 3.2.1


NEW PROBLEM AFTER UPGRADE

https://moodle.org/mod/forum/discuss.php?d=346132 

I have audio based courses with 15,000 audio files. The site version was 2.9.3 for a year, and I had made a custom app from Github/Learn Moodle. Audio files showed in a player on the website, and as a hyperlink named 'AUDIO' in the mobile app. I was uploading .mp3 audio as in TinyMce editor, Insert Media, upload new file from desktop (no new save as name).

Example of source code with hyperlink 'AUDIO':

<a href="http://www.mysitename.in/draftfile.php/5/user/draft/275561128/nanna%20hesaru%20vivek.mp3">AUDIO</a></span></p>


I upgraded to 3.2.1 last week. 

Error: In the latest 3.2 moodle mobile app android from playstore, and my custom app [of 2.9.3 and 3.1.2 from github], the audio files hyperlink 'AUDIO' has vanished and a horizontal player shows with 25% being a square black box with a white arrow. This player is not clickable. In the website, audio show in an audio player and play okay. 

I tried many combinations in the VideoJS player - upload from embedded media/desktop, Caption Track URL, Caption Label, one word filename/ phrase, etc.

- I have 2 android smartphones, versions 4.2 and 4.4 - some combinations would work with 4.2 but not in 4.4 - ie, the player would be non-clickable. 

2 solutions work:

1) Upload from Embedded files+ file name is a phrase + Caption URL + Caption Label - but this does not work in all courses; not sure what the course settings are

2) I checked the source code in the TinyMce Poodll, and found a way to add an href before each audio file code - then, the player appears in the mobile app, and opens in the mobile's player.

I found by trial & error the code which works on these 2 smartphones is (for existing embedded files):

<a href="http://www.mysitename.in/draftfile.php/5/user/draft/129325999/K%20gotta%3F.mp3">&nbsp;

<audio controls="true"><source src="http://www.mysitename.in/draftfile.php/5/user/draft/129325999/K%20gotta%3F.mp3">

http://www.mysitename.in/draftfile.php/5/user/draft/129325999/K%20gotta%3F.mp3</audio>&nbsp;<br></a>;


---> I have to add the first line code <a href=... before the existing code


Upload a new audio file from desktop is not working. I have to upload from desktop, get an error, re-upload from Embedded files/ change the code with a href.

I have only 2 smartphones, so I am not sure whether this above code is compatible with all versions.

I am thinking of adding the one line code to all 15,000 files manually.

This happened around new year too, I am wondering whether it was due to Poodll becoming paid on 1 Jan 2017.


I appreciate your figuring out what is happening and finding a working permanent solution. I will be adding many more audio files, and having to redo all next time on my live site will be difficult.

I can give you site access.

Regards

Rekha


In reply to Rekha C

Re: Mobile app & website version compatability

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

It is not clear from your post if you are asking about Moodle mobile compatibility or moodle web compatibility. Moodle. As a general rule (in life as much as in Moodle), you might be better asking one question at a time.

In reply to Rekha C

Re: Mobile app & website version compatability

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

Hello,

regarding your questions, audio and video works generally well in the latest Mobile version in sites with Moodle 3.2, in previous sites you may encounter this kind of problems.

Unfortunately our core team do not have the resources here to help people use the open source code version. We provide a service where we can customise the app for anyone who needs it.  This service helps fund the improvement of the app in general: https://moodle.com/mobileapp/

Regards, Juan