Moodle for mobile

Moodle 3.5 Mobile app how to pass site url dynamically

 
Picture of chamarthi Praveen
Moodle 3.5 Mobile app how to pass site url dynamically
 

Hi All,

how we can pass moodle site url dynamically through coding.

once app open it need to go Login screen, how we can skip site url page.


Thanks,

P

 
Average of ratings: -
Picture of behnaz ranjbar
Re: Moodle 3.5 Mobile app how to pass site url dynamically
 

you can change config.json file by clearing demo sites line and write your url in siteurl line then if these things doesn't work for you change the last part of mm.bundle.js too

 
Average of ratings: -
Picture of chamarthi Praveen
Re: Moodle 3.5 Mobile app how to pass site url dynamically
 

Thanks for your replay,

BUT  mm.bundle.js Not available on Moodle 3.5 App Code this is complete based on type script(.ts)

also i have added siteurl in congig.json but not working again it's asking siteurl.

Regards,

-P

 
Average of ratings: -
Picture of behnaz ranjbar
Re: Moodle 3.5 Mobile app how to pass site url dynamically
 

yeah unfortunately mixed

so we should wait for admin's guides

 
Average of ratings: -
Picture of chamarthi Praveen
Re: Moodle 3.5 Mobile app how to pass site url dynamically
 

Hi All,

Finally I got and it's working Now.

Thanks,

-P

 
Average of ratings: -
Picture of behnaz ranjbar
Re: Moodle 3.5 Mobile app how to pass site url dynamically
 

can you tell us how?

 
Average of ratings: -
Picture of chamarthi Praveen
Re: Moodle 3.5 Mobile app how to pass site url dynamically
 

Hi ,

You need to add url in configconstants.ts file 

static siteurl = 'Here add your site URl';


Thanks,

-P

 
Average of ratings: -