Mobile App Restrictions Result in Corrupt Files

Re: Mobile App Restrictions Result in Corrupt Files

de către Juan Leyva-
Număr de răspunsuri: 0
Imaginea Core developers Imaginea Moodle HQ Imaginea Plugin developers Imaginea Testers
Hi Cory,

I think Dani has found the line of code causing the issue, this line in availability/condition/mobile/classes/condition.php

if (strpos($ME, "webservice/") !== false) {

should be replaced with

if (strpos($ME, "webservice/") !== false || strpos($ME, "tokenpluginfile.php") !== false) {

That should fix the issue, I will try to provide a new version of the plugin during next week, in the meantime, you can manually apply the patch

Regards, Juan