How can I cache siteurl and others settings for moodlemobile-phonegapbuild

How can I cache siteurl and others settings for moodlemobile-phonegapbuild

Napisane przez: Dmitry Gorsky ()
Liczba odpowiedzi: 3

I use moodlemobile-phonegapbuild fork and Adobe PhoneGap to build Mobile Aplication, but I cannot find how I can to change siteurl and othe settings in config.json (like moodlemobile2). Settings in config.json  are ignored.

Please help me.

W odpowiedzi na Dmitry Gorsky

Re: How can I cache siteurl and others settings for moodlemobile-phonegapbuild

Napisane przez: Alba Paola de la Cruz Solano ()

It is because it is already compiled so ignore what you put in config.json, because you have the constants stored in the main.js file that is in build, there you are looking for CoreConfigConstants.siteurl = "", and you enter the address of your site. Although I had read that it should not be modified directly.