url for our moodle pre-populated

url for our moodle pre-populated

by António Vilela -
Number of replies: 3
Picture of Plugin developers Picture of Translators

Hello, Is it possible to install the app on several iPads using Airwatch MDM, with the url for our moodle pre-populated?

If yes, what is the configuration key and value settings?


Average of ratings: -
In reply to António Vilela

Re: url for our moodle pre-populated

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Antonio,

unfortunately, the mobile app don't support Airwatch MDM and we don't have plans to support it in the short or long term.

I'm not sure if Airwatch MDM support opening apps via custom URL schemes, but you can force a URL if you use the custom URL Scheme API:

https://docs.moodle.org/dev/Moodle_Mobile#URL_scheme_API

Regards, Juan

In reply to Juan Leyva

Re: url for our moodle pre-populated

by Nicholas Donkor -

Hello Juan,

Please which file do I apply the URL Scheme. I have tried assigning it to the "customeurlscheme"  parameter in config.json like below, in a phonegap repository on github, but it is not working.


"customurlscheme": "moodlemobile://link=https://mysite.com"


Please is there anything I'm not doing right here?, I would be grateful if I am pointed towards the right direction.

Thanks,

Donkor Nicholas

In reply to Nicholas Donkor

Re: url for our moodle pre-populated

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

customurlscheme should be something like: moodlemobile, myapp, not an url

What are you trying to achieve here? If you just want to have the app to display your site by default you should add a new attribute in that file:

“siteurl”: “http://mysite.abc

Please, review: https://docs.google.com/presentation/d/1HX5h7zwtay4amaY3qyLuCLfI7kQCiD9IoWuDH-lSa_0/edit#slide=id.ga20278994_0_82

Juan