Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

In the documentation page: Moodle Mobile development using Chrome or Chromium.

1.- I don't understand this passage:

How to open the browser:

"Path to chrome\chrome.exe" --allow-file-access-from-files --disable-web-security --allow-running-insecure-content --no-referrers --unlimited-storage --auto-open-devtools-for-tabs  --user-data-dir=PATH_TO_DATA_DIR

That's not how you open a browser in Windows.

2.- The doc is missing an important information on how to retrieve user-data-dir=PATH_TO_DATA_DIR

Found the info on this page (for Chromium): https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md

3.- The docs says (about the parameters) "NOTE: Since Moodle 3.0 an onwards this shouldn't be necessary since the Web Service layer supports CORS requests apart from download assets such as your branded css."

So, are those parameters necessary or not necessary (I'm using Moodle 3.10)?

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Dani,

For the GapFill question type they are defined at question\type\gapfill\mobile\styles_app.css

and for my own RegExp question type they are defined at question\type\regexp\mobile\styles_app.css

Note that for RegExp question type the css rules work OK on the Moodle App on an Android tablet but do not at all in https://mobileapp.moodledemo.net/

Thanks for your help,

Joseph

Picture of Développeurs Picture of Développeurs de plugins Picture of Testeurs Picture of Traducteurs
Bonjour,
Pour me permettre de faire des essais, j'aurais besoin d'utiliser ton questionnaire. Peux-tu l'exporter et, s'il n'y a rien de confidentiel l'attacher à ta réponse ici, sinon me l'envoyer attaché à un mail. Mon adresse de courriel est dans mon profil.
Merci