eval is also forbidden in Chrome apps and MapReduce plugin for PouchDB makes use of it. We might be able to use pouchdb.mapreduce.noeval as an alternative.
Right now, the app version information is taken only for Firefox OS apps. It seems that we will also be able to get the app version for Chrome apps via chrome.runtime.getManifest().
It seems that there are some issues that needs to be solved in order to make
eventpouch
run in Chrome apps. The ones that I could identify so far are:onbeforeunload
is not allowed in Chrome apps. We might be able to usechrome.runtime.onSuspend
instead.eval
is also forbidden in Chrome apps andMapReduce
plugin for PouchDB makes use of it. We might be able to use pouchdb.mapreduce.noeval as an alternative.chrome.runtime.getManifest()
.