The initial post has been updated following testing the transition from WebSQL available to disabled using settings in the current version of Chrome. The final behaviour has been confirmed in Google Chrome Beta channel which has the WebSQL removal.
Updates from this test:
To carry out this test in your own environment:
Notes on Potential Outbox Recovery:
The Chrome Beta channel version of Chome has the default value for the chrome://flags "Allows access to WebSQL APIs" to Disabled. You can set the value to "Enabled" and on relaunch of Chrome BlueWorx will start up and regain access to the standard Neptune data cache, allowing outbox content to be synced. Once the content is synced, chrome://flags would be set back to default so that when WebSQL is fully removed there will be no impact to the user. While there is no guarantee that this option will exist in the final release, the Chrome dev channel is representative of what is coming to the stable channel, and I'd expect the option to remain for the short term.
The initial post has been updated following testing the update of the Android WebView from version 117 to 119 (Beta). Version 119 turns the WebSQL support off by default. Cordova application use the WebView provided by the operating system.
By enrolling in the Google Testing program you can update the device's WebView and switch between them. Information here => https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/prerelease.md
Testing was carried out on a Samsung Galaxy S21 FE phone running and app build from DXP 22.10.0020.
The app had the hard required SQLite plugin "cordova-sqlite-evcore-extbuild-free" as has been a hard dependency for BlueWorx since the introduction of SQL batch processing functionality specific to the plugin with Support Pack 04 in 2017.
Testing:
The mobile app continues to run as usual after the update to the Chrome WebView. This is expected as the plugin provides the SQLite database for BlueWorx compatible mobile applications, and has been a hard dependency since 2017.
The initial post has been updated following testing the DXP 22 Upgrade from 22.10.0009 to 22.10.0010. Version 22.10.0010 has support for browser SQLite via Web Assembly.
Web Assembly delivered SQLite may be useful for applications which use the Neptune AppSync framework. It is not a drop-in replacement for WebSQL and is not needed (or used when available) for BlueWorx on Browser. It is not used by the storage methods used in BlueWorx, and does not migrate any data from WebSQL.
See the notes in the first reply regarding recovering WebSQL data, such as BlueWorx outbox objects. The new Neptune version and Web Assembly SQLite support does not have any role in recovering or retaining data stored in WebSQL. This is noted in the Neptune post and has been confirmed in our system updated to DXP 22.10.0010.
Steve Campbell
Many of you will have seen the post from Neptune regarding the removal of WebSQL from Chromium based browsers, that's mainly Chrome and Microsoft's Edge in our environments. The post is here => https://community.neptune-software.com/topics/planet-8/blogs/chrome-removes-websql.
In Summary Cordova Mobile Apps are not impacted, whereas BlueWorx running in the web browser requires the user to sync prior to the Chrome update and on update the application will perform a full sync.
Cordova Mobile Apps
BlueWorx on Browser
Neptune DXP 22.10.0010 with SQLite Addition
Outbox Recovery
The Chrome Beta channel version of Chrome sets the default value for the chrome://flags "Allows access to WebSQL APIs" to Disabled. You can change this value to "Enabled" and on relaunch of Chrome BlueWorx will start up and regain access to the WebSQL Neptune data cache. This will retrieve the outbox content and allow it be synced. Once the content is synced, chrome://flags should be set back to "Default" so that when WebSQL is fully removed there will be no impact to the user. While there is no guarantee that this option will exist in the final release, the Chrome Beta channel is representative of what is coming to the stable channel, and I'd expect the option to remain for the short term.
See the various notes made in replies to this post which give some more detail on the testing performed and the conclusions reached.
This post will be updated should there be any new information, however I believe that we've covered 99% of the questions for BlueWorx. Please feel free to post questions here, noting that this is a public forum so do not post confidential information.