Google Drive Realtime API in a Chrome Packaged App
Has anyone figured out how to use the Google Drive Realtime API in a Chrome Packaged App ? Loading gapi in a sandboxed iframe results in: Uncaught TypeError: Cannot read property 'prototype' of undefined cb=gapi.loaded_0:6 gapi.load("auth:client,drive-realtime,drive-share", function(){...}); Please see my example repo at: https://github.com/damondouglas/sandbox-cpa-drive-rt Damon - I took the example you posted on GitHub and changed it to use a webview which works fine. I think you are restricting yourself to not using one for artificial reasons. It may still be possible to solve this issue