Currently, functionality in Chrome Applications is pretty rudimentary.
Actually, that was sort of a lie. Here's the explanation:
Nearly all of PouchDB works fine on Chrome Apps, except for the fact that the latest manifest version (manifest version 2) absolutely bans the use of eval()
in Chrome applications. Makes sense, because eval()
is insecure, but it means that the parts of our code that uses eval()
just don't work unless you use an older manifest version.
To complicate matters, the older manifest version has actually been phased out in the newer versions of Chrome.
You can actually work around this using sandboxing.
I have a working example of a Chrome app that doesn't use eval()
at chromepouch.com.
How to test or use the functionality for Chrome Apps: