Moodle for mobile

how to pass siteurl when using phonegapbuild for building

 
Picture of behnaz ranjbar
how to pass siteurl when using phonegapbuild for building
 

hi everyone,cause of some errors in building app with sdk i returned to phonegap build way.

but as i realise now there is not any file related to site url like configconstants.ts in moodle 3.5 phonegap directory.

what should i do?

 
Average of ratings: -
Picture of Dani Palou
Re: how to pass siteurl when using phonegapbuild for building
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi,

compiling the code in your local machine will create all the needed files inside www. Just copy those files to your phonegap build repo, they will include the code with the siteurl.

 
Average of ratings: -
Picture of behnaz ranjbar
Re: how to pass siteurl when using phonegapbuild for building
 

hi,

i did that. i mean i changed the siteurl in configconstants.ts and build it again but i didn't see the changes. i will try it again.

 
Average of ratings: -