Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9974

openDatabaseSync() not working in web worker Cordova iOS 9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.9.0
    • None
    • cordova-ios
    • Important

    Description

      Cordova cli version: 5.3.3
      Cordova iOS platform version: 3.9.1
      Xcode version: 7 - iOS 9

      ~ worker.js
      var db = openDatabaseSync("MyDb", "1.0", "My Description", 50*1024*1024);

      When i try to create a database from within a web worker its throwing a js error as below.

      ~output
      [Error] ReferenceError: Can't find variable: openDatabaseSync (worker.js, line 7)

      But the same code working in iOS 8. Any help would be much appreciated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mail2zam Zam Abdul Vahid
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: