{"action":"created","issue":{"url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/247","labels_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/247/comments","events_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/247/events","html_url":"https://github.com/floatinghotpot/cordova-admob-pro/issues/247","id":114466968,"number":247,"title":"plugin not working on android 5.0 and higher","user":{"login":"balicekt","id":6289261,"avatar_url":"https://avatars.githubusercontent.com/u/6289261?v=3","gravatar_id":"","url":"https://api.github.com/users/balicekt","html_url":"https://github.com/balicekt","followers_url":"https://api.github.com/users/balicekt/followers","following_url":"https://api.github.com/users/balicekt/following{/other_user}","gists_url":"https://api.github.com/users/balicekt/gists{/gist_id}","starred_url":"https://api.github.com/users/balicekt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balicekt/subscriptions","organizations_url":"https://api.github.com/users/balicekt/orgs","repos_url":"https://api.github.com/users/balicekt/repos","events_url":"https://api.github.com/users/balicekt/events{/privacy}","received_events_url":"https://api.github.com/users/balicekt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-01T12:21:26Z","updated_at":"2015-11-02T10:10:01Z","closed_at":null,"body":"I tried this plugin on android 4.4 and 4.3 and everything is working fine but on android 5.0 and 5.1 is not working at all and I have no idea why I just found in console this: \r\n\r\n\"Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache\", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)\r\nI/chromium( 2546): [INFO:CONSOLE(0)] \"Application Cache Checking event\", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)\r\nI/chromium( 2546): [INFO:CONSOLE(0)] \"Application Cache NoUpdate event\", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)\r\n\r\nDoes anyone know what could help me? Thank a lot. \r\n\r\n\r\n//EDIT\r\nI even tried to install just this plugin to the clean cordova project without ionic: \r\n\r\n    cordova create test1 com.rjfun.test1 Test1\r\n    cd test1\r\n    cordova platform add android\r\n\r\n    cordova plugin add cordova-plugin-admobpro\r\n\r\n    rm -r www/*;\r\n    cp plugins/cordova-plugin-admobpro/test/* www/;\r\n\r\n    cordova prepare; \r\n    cordova run android; \r\n\r\nand on android 5.0 is not working just alert: \r\nerror: 0, reason: Internal error, adNetwork: AdMob, adType:banner, adEvent:onAdFailLoad. \r\n\r\nin console I can see: \r\nI/chromium( 1740): [INFO:CONSOLE(12)] \"Not allowed to load local resource: file:///android_asset/webkit/android-weberror.png\", source: data:text/html,chromewebdata (12)\r\nI/chromium(31371): [INFO:CONSOLE(25)] \"No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin.\", source: file:///android_asset/www/plugins/cordova-plugin-whitelist/whitelist.js (25)\r\n\r\nTB"},"comment":{"url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/comments/152976685","html_url":"https://github.com/floatinghotpot/cordova-admob-pro/issues/247#issuecomment-152976685","issue_url":"https://api.github.com/repos/floatinghotpot/cordova-admob-pro/issues/247","id":152976685,"user":{"login":"floatinghotpot","id":2339512,"avatar_url":"https://avatars.githubusercontent.com/u/2339512?v=3","gravatar_id":"","url":"https://api.github.com/users/floatinghotpot","html_url":"https://github.com/floatinghotpot","followers_url":"https://api.github.com/users/floatinghotpot/followers","following_url":"https://api.github.com/users/floatinghotpot/following{/other_user}","gists_url":"https://api.github.com/users/floatinghotpot/gists{/gist_id}","starred_url":"https://api.github.com/users/floatinghotpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatinghotpot/subscriptions","organizations_url":"https://api.github.com/users/floatinghotpot/orgs","repos_url":"https://api.github.com/users/floatinghotpot/repos","events_url":"https://api.github.com/users/floatinghotpot/events{/privacy}","received_events_url":"https://api.github.com/users/floatinghotpot/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T10:10:01Z","updated_at":"2015-11-02T10:10:01Z","body":"Update: Some explanation here: http: //stackoverflow.com/questions/19997146/kitkat-kills-not-allowed-to-load-local-resource-file-android-asset-webkit-a\r\n\r\n> \"Not allowed to load local resource\" is a security origin error. The KitKat WebView has stronger security restrictions and it seems like these are kicking in. FWIW I tried just loading a file:///android_asset URL and it worked fine.\r\n\r\n> Did you call any of the file-related WebSettings APIs (like setAllowFileAccess(false)) by any chance? Are you trying to load the resource from an https: URL?\r\n\r\nSeems getting closer... Continue study."}}