We have been trying to submit an update to a Windows Store Desktop/Tablet App for a few weeks now. The app fails to properly initialize when being tested, but we are unable to reproduce any issues locally.
This is a Javascript WebApp, and we are using Cordova to make it cross-platform.
After adding some remote error logging, we have noticed that on testers' machines there is an IndexedDB initialization error.
The code we that seems to fail is:
var dbOpenRequest = indexedDB.open('CustomDBName', 1);
This seems to fail immediately, and calls our error handler (dbOpenRequest.onerror = ...).
What could cause this?
- We have tried several devices and admin/guest modes on the OS, etc.
Could this be a test machine issue?
- Our previously approved and released app also seems to now have this issue. We tried resubmitting our old app and it failed certification (strange!).
Is there any reason that we are not noticing this on any of our devices? We have tested the app on the following devices using the same build we submitted to the store:
- ASUS T100 Transformer, Win 8.1
- Dell Venue Pro 11, Win 8.1
- Digiland 8" Tablet on Win 8.1
- Misc Surface Tablet
- Several laptops on Windows 8.1 and 10
The closest support issue I've found related to this seems to be an OS issue: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/7771e681-724c-4229-912c-06b627ce4c16/uwphtml-win10-build-10547-javascript-uwp-indexeddb-cannot-be-opened?forum=wpdevelop
Do you have any ideas or suggestions on what to try next?
indexedDB
is actually a variable holdingwindow.indexedDB
because to open a IDB you needwindow.indexedDB.open
– hagrawalevent.target.error.name
,event.target.source.name
,event.target.error.message
etc., which can be crucial for RCA .. – hagrawal