Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4304

WebSQL Deprecation

XMLWordPrintable

    • Hide

      The app should continue working properly, and this change should only affect browser environments. However, after this change, the app will only run on secure contexts (https://) in browsers with OPFS support.

      Please note that filesystem iframes won't work in recent versions of Chrome so H5P and SCORM activity modules won't work

      Show
      The app should continue working properly, and this change should only affect browser environments. However, after this change, the app will only run on secure contexts ( https:// ) in browsers with OPFS support. Please note that filesystem iframes won't work in r ecent versions of Chrome so H5P and SCORM activity modules won't work
    • MOODLE_404_STABLE
    • Moodle Apps - 2024 i1, Moodle Apps - 2024 i1.1, Moodle Apps - 2024 i1.2

      We are reaching out to you, as we noticed that your app may be using WebSQL API. 

      WebSQL API is soon to be removed from Chrome. What you need to do depends on how you're using Web SQL.

      • If you're just using Web SQL to detect whether a given browser is Chrome, that method will stop working when Web SQL is removed.
      • If you're using Web SQL to simply store a few data points, localStorage and sessionStorage provide easier ways to do this.
      • However, if you're using Web SQL for more complex storage, you'll need to find a proper replacement.

      Here are some migration options for more complex storage:

      • If your storage needs don't require a relational database, IndexedDB is the standard solution for structured storage on the web. Large sites rely on IndexedDB, and all major browsers support it.
      • For those who do need a relational database, we are partnering with the SQLite team to create an evergreen cross-browser Web SQL replacement. The team is adding a web backend to SQLite, using Emscripten to compile it to WebAssembly and leveraging the new File System Access Handles API as a low-level virtual file interface. We expect this to be ready for use early in 2023. For more information, see our blog post Deprecating and removing Web SQL.

       

      Chrome Storage Team

            noeldemartin Noel De Martin
            dslee414 dslee414
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.