1

I recently updated my ipad to iOS8 and the HTML/Javascript app stopped working because safari on iOS8 cannot recognize ydn-db object.

Has anybody else also facing this issue? Any workaround?

user976508
  • 167
  • 4
  • 16

1 Answers1

2

Have you seen this issue? Safari 7.1 (also Safari 8) has a bug (currently unconfirmed) that could not create transaction with multiple Object Stores.

As a workaround, use WebSQL instead, as follow:

var db = new ydn.db.Storage('db name', schema, {mechanisms: ['websql', 'indexeddb']);
Kyaw Tun
  • 12,447
  • 10
  • 56
  • 83
  • This also worked for me - the problem started when adding the icon to the home screen... - as described in [this Apple support article](https://discussions.apple.com/thread/6549513) – John Dalsgaard Jan 06 '15 at 20:37