Which branch for a production branded app?

Which branch for a production branded app?

by Christian Deligant -
Number of replies: 2

Hello all,

I am branding the app and in the "setup documentation page" it is written to use the "integration" branch, which is 3.9.3-dev, but on github the "latest" tag is still 3.9.2.

I was wondering which one of the 2 I should use (at the moment using the integration branch).

Thank you for any advice you can give me.

Chris

Average of ratings: -
In reply to Christian Deligant

Re: Which branch for a production branded app?

by Noel De Martin -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi there,

The integration branch is used during development, meaning that we haven't done all the testing that goes with a release. You can use whichever branch you prefer, but if you want stable and tested code, go with master.

I'm not sure what documentation you are referring to, but maybe it's intended for developers and that's why integration is recommended.

In reply to Noel De Martin

Ri: Re: Which branch for a production branded app?

by Christian Deligant -

Thanks Noel!

I started from here
https://docs.moodle.org/dev/Moodle_Mobile_custom_apps

which has a link to this page to set up the environment
https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2

And in that page it says to use the integration branch...
https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2#Clone_the_app_base_code

Actually, the branding I did was just changing the icons and splash screens in the /resources folder, a bit of SCSS changes, fixing the URL to login only to a specific site.
So maybe it's worth saying to clone the master branch to make a "production-ready" custom app.

Once I have the whole thing neatly working, I would like to share the steps I did to ease the process for other developers: I am writing down an .MD documento with the steps to follow on a "main" linux box (for android .aab bundle app) followed by a "migration" on a mac to create the iOS app.
Do you think it is worth?