[Urgent] Site URL not working for the Moodle Mobile (Phonegap build)

[Urgent] Site URL not working for the Moodle Mobile (Phonegap build)

by Sarath P -
Number of replies: 0

Hello everyone. I am trying to make a custom Moodle mobile app and found the code for Phonegap builds https://github.com/moodlehq/moodlemobile-phonegapbuild. I downloaded the code and I am able to run the app using the Chromium browser. As of now, the user needs to enter the site URL first. I do not want the user to specify the site URL and log in. Instead, when a user clicks on the app it should directly load the login page where the user enters the login credentials. 

I found a line in the config.json to mention the "siteurl": and "sitename":  but even after specifying the site URL, and site name, it still asks the user to enter the site URL first.

Can anyone please tell me how to do that?

Thanks in advance.


Average of ratings: -