Thanks for the response. I will try your provided repository.
But can you provide me a way to get the version of the moodle mobile app?
And please guide me how can I set the welcome page to directly go to the username and password page rather than asking me to fill the site url?
1. Now I am using the repository: https://github.com/moodlehq/moodleapp
2. I have setup the environment using this documentation: https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2
All your changes to the app functionality should be made in the src folder.
For setting a static site url (and thereby going directly to the login screen) you have to edit the src\configconstants.ts file. More specificially you should enter you site url in:
> PS. does anyone know what the purpose of config.json is, since changes here are not reflected, and since I managed to compile a perfectly working (except push notifications) customized app without touching src/config.json?
config.json file is the one you should be modifying, there is a gulp task that generates
src/configconstants.ts reading this json file. If you place your modifications in the typescript file you risk losing them, because that file is not tracked in the repository and it can be overwritten if some script regenerates it.
You can regenerate it yourself by calling the gulp task named
config, for example doing
Thanks for your help......