MoodleApp 3.9.0 Android "Not allowed to load local resource"

MoodleApp 3.9.0 Android "Not allowed to load local resource"

by Arkadiusz Malkowski -
Number of replies: 4
Picture of Testers

Hi,

Have any of you encountered the problem of loading graphics?

I am testing built app on version 3.9.0 and some graphics stop loading in dashboard "Not allowed to load local resource".

I don't know what the problem is...




Ionic:


   Ionic CLI          : 6.10.1 (C:\Users\Arkadiusz\AppData\Roaming\npm\node_modules\@ionic\cli)

   Ionic Framework    : ionic-angular 3.9.9

   @ionic/app-scripts : 3.2.3


Cordova:


   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)

   Cordova Platforms : android 8.1.0, ios 5.1.1

   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.3, (and 29 other plugins)


Utility:


   cordova-res : 0.15.1

   native-run  : 1.0.0


System:


   Android SDK Tools : 26.1.1 (C:\Users\Arkadiusz\AppData\Local\Android\Sdk)

   NodeJS            : v11.14.0 (C:\Program Files\nodejs\node.exe)

   npm               : 6.7.0

   OS                : Windows 10


Test device: Android 10, Samsung Galaxy S9+

Average of ratings: -
In reply to Arkadiusz Malkowski

Re: MoodleApp 3.9.0 Android "Not allowed to load local resource"

by Ardian Deari -
Same issue here... I tried from MAC and from windows no results. Images are not displayed nor customized mobile themes...
Maybe moodle app developers can help us with this one
In reply to Ardian Deari

Re: MoodleApp 3.9.0 Android "Not allowed to load local resource"

by Ardian Deari -

I have no idea why and how but I got it working by just removing this: 

ionic cordova plugins rm cordova-plugin-ionic-webview


Now it works like a charm... but I am not sure if this is the right way to do it or not.. could anyone else verify it, please?

In reply to Ardian Deari

Re: MoodleApp 3.9.0 Android "Not allowed to load local resource"

by Noel De Martin -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers

Yes that is correct, that plugin should not be installed in Android. There is an open issue about this: MOBILE-3471

In reply to Noel De Martin

Re: MoodleApp 3.9.0 Android "Not allowed to load local resource"

by Ardian Deari -
Thanks a lot @Noel De Martin for your response. Also, I'd like to thank the whole Moodle staff for doing such a wonderful job!