You need to add gap://ready and file: permissions to your header whitelist. The entire whitelist can be written as follows <meta http-equiv="Content-Security-Policy" content=" default-src gap://ready file:; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'unsafe-inline' 'unsafe-eval '">
Has the author found the reason? I encountered it too, please share
Sit back and study~~
You need to add gap://ready and file: permissions to your header whitelist. The entire whitelist can be written as follows
<meta http-equiv="Content-Security-Policy" content=" default-src gap://ready file:; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'unsafe-inline' 'unsafe-eval '">
Reference: http://stackoverflow.com/ques...