How to update my custom moodle app to 3.5?

How to update my custom moodle app to 3.5?

by Atinder pal singh -
Number of replies: 15

I have a custom moodle mobile app, already released. Can someone outline the process for keeping it updated? Which rep. should i use for pulling code? I just need hints to be sure that i don't mess up. Thanks.

Average of ratings: -
In reply to Atinder pal singh

Re: How to update my custom moodle app to 3.5?

by Willian Mano -
Picture of Core developers Picture of Plugin developers

Hi, here is the official repo: https://github.com/moodlehq/moodlemobile2

In reply to Willian Mano

Re: How to update my custom moodle app to 3.5?

by Atinder pal singh -

Thank you for your reply William, but the master branch of that repo, shows version 3.4.2, and the branch with 3.5 version doesn't have all required files. Please guide me a bit, as i'm new to all this. I will be thankful.

In reply to Atinder pal singh

Re: How to update my custom moodle app to 3.5?

by Willian Mano -
Picture of Core developers Picture of Plugin developers

Take a look at the links in the readme.

You can setup your development environment following this doc: https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2

In reply to Willian Mano

Re: How to update my custom moodle app to 3.5?

by Atinder pal singh -

Thanks. i will have a look and try it. Just one more question, previously i used PhoneGap build, can i still use it? because in the current cloned folder, i don't see a www directory like previous one. Please excuse my naivety.

In reply to Atinder pal singh

Re: How to update my custom moodle app to 3.5?

by Atinder pal singh -

I have understood it. that directory appeared once i issued ionic serve. But all files are not there, like previous phonegap. I will wait until the documentation you are working on is complete. Thank you for helping.

In reply to Atinder pal singh

Re: How to update my custom moodle app to 3.5?

by Willian Mano -
Picture of Core developers Picture of Plugin developers

I don't know this answer. Maybe one of the app's developers can help you.

In reply to Atinder pal singh

Re: How to update my custom moodle app to 3.5?

by Sergio Comerón -
Picture of Core developers Picture of Plugin developers

Hi Atinder, 

with that branch of the repo has worked for me. 

it is true that I have not tried it on a device but it compiled well and I have executed it in the browser correctly.

In reply to Sergio Comerón

Re: How to update my custom moodle app to 3.5?

by Atinder pal singh -
Hi sergio. Will you please outline the steps you followed in succession, so i can know what I'm missing and also i want to use phonegap build. I will be thankful.
In reply to Atinder pal singh

Re: How to update my custom moodle app to 3.5?

by Sergio Comerón -
Picture of Core developers Picture of Plugin developers

Hi again

you have run your code in the browser with "ionic serve"?

In reply to Sergio Comerón

Re: How to update my custom moodle app to 3.5?

by Willian Mano -
Picture of Core developers Picture of Plugin developers

I spent the last two day trying to run in a device without success. mixed

In reply to Willian Mano

Re: How to update my custom moodle app to 3.5?

by Atinder pal singh -

Dear William please request some one from developers to guide us.

In reply to Atinder pal singh

Re: How to update my custom moodle app to 3.5?

by Willian Mano -
Picture of Core developers Picture of Plugin developers

Yesterday I talked with Dani but we did not find a solution for my case.

I was using: 

  • ubuntu 18.04
  • node v6.9.1
  • ionic 3.20.0
  • cordova 6.5.0

I tested the same settings in my MacBook and everything worked well.

I'll keep trying to found what is going wrong in my Linux machine but until there I will work on my mac.

In reply to Willian Mano

Re: How to update my custom moodle app to 3.5?

by Atinder pal singh -

Dear william can you please outline the whole process? How to set custom url? In previous version it was simply by editing a file. I'm in dire need of documentation, any idea when they will complete it?

In reply to Atinder pal singh

Re: How to update my custom moodle app to 3.5?

by Willian Mano -
Picture of Core developers Picture of Plugin developers

The file changed the location. Now you need to edit the src/config.json file.

In reply to Willian Mano

Re: How to update my custom moodle app to 3.5?

by Rekha C -

Hi Atinder,


Have you built the 3.5 app?

Please share the steps here or in direct message - could not send you a message - please change your settings.

Rekha