today, I try the "currentVersion" function, i found a question.
Coding :
................
localServer = google.gears.factory.create('beta.localserver', '1.0');
store = localServer.createManagedStore('LocalDBUpdata');
alert("The user local version:"+store.currentVersion);
store.manifestUrl = '/localdbupdata.json';
store.checkForUpdate();
..................
localdbupdata.json ....
{
"betaManifestVersion": 1,
"version": "20080707_v123",
"entries": [
{ "url": "/js/gears/localdbupdata.js" }
]
};
Every time,i updata the localdbupdata.json 's version name, i
refresh the IE ,then, go to click Offline button . the
"store.currentVersion" get my service's manifestUrl file's
version !!!! Not, the local offline version