I'm trying to get realtime data model with gapi.drive.realtime.load method in my Chrome Packaged App :
gapi.drive.realtime.load(fileId, onLoad)
but I'm caught an EvalError:
Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' apis.google.com drive.google.com".
Of courcse, I can just add 'unsafe-eval' to manifest, but I guess it is bad way to solve this problem. Can you suggest better solution ?