I got a problem with the site policy in Moodle mobile. I am using the Moodle 3.3 and Moodle 3.2. The Moodle mobile is the latest version (Moodle mobile 3.3.0) downloaded from the Apple Store.
I am using the Moodle 3.3 and Moodle 3.2. I put the site policy file in /var/www/html/moodle/policy.html and give it the maximum file permission and owner. The policy can be shown in the website successfully.
However, when a student loges in to the Moodle mobile app, it appears the error message below in the screen shot and jumps to the re-connection page.
I also tried the .txt and .htm files. They all have the same problem.
I also tested it with Moodle 3.2 website. When a student loges in to the Moodle mobile app, there is no courses in the "course overview". When click the "timeline" tab in the "course overview" page, it appears the error message and jumps back to the re-connection page, just like the situation I describe above.
I opened the index.html file in the Firefox browser. Below is the error message from the browser. It seems there is something missing in the code.
Since our institution is using site policy and a big amount of students are using the Moodle mobile app. I wondered whether anyone can help to solve the problem. Thank you very much!