in ,

Chrome’s data disaster: Browser update wipes out Android app data, Ars Technica

Chrome’s data disaster: Browser update wipes out Android app data, Ars Technica


    

      Try testing with the beta channel next time –

             

Google changed where Chrome stores data. Chrome handles data for HTML apps. Uh oh.

      

          -Dec (************************************************************, ************************************************** 6: 50 pm UTC   

        

************************************** /Someone really likes Google Chrome.

Google’s latest Chrome update is causing a headache for users and developers of some Android apps. Chrome 475, which isrolling out across desktop and mobile OSes, has beencausing data lossfor some other seemingly unrelated Android apps. Thanks to this bug, specifically on Android, updating your browser can now do something likewipe out the datain your Finance app.

The connection between Chrome and Android app data might not be clear, but Chrome on Android isn’t always just the browser that starts up when you press on the Chrome icon. For some versions of Android, the Chrome app can also provide the built-in HTML render for the entire OS. Apps can call on the system render to display in-app Web content (the API is called “WebView”), and, in this case, an instance of Chrome would seamlessly start up and draw HTML content inside your app. Whether you want to call them “HTML apps” or “Web wrappers,” it’s not uncommon for apps to basically beonlya WebView. These apps just turn on and load a webpage, and the Web wrapper provides native Android features like an app drawer icon, full-screen interface, and Play Store distribution. These apps look and work mostly like native apps from a user’s perspective, and it’s hard for even technical users to tell the difference. Cross-platform development is a lot easier when you use HTML, though, since HTML code works everywhere.

The data loss happened becauseGoogle changedwhere Chrome stores profile data without entirely migrating the old data. WebView-based apps can store data through APIs like localstorage, WebSQL, and indexedDB, and apps that use these APIs will suddenly stop finding their data after the user upgrades to Chrome (************************************************************. The data isn’tdeleted, it’s just misplaced. But to a user, there’s no difference. Their favorite HTML-based app will reset itself to a freshly installed state, and their data won’t be visible. By default, app updates on Android happen automatically and without user interaction, so for most users, their app will just wipe itself out and they won’t know why.

If you want to get technical (and, of course, we do), only Android versions7, 8, and 9 use the “Chrome” app for the system HTML render. Google has long supported the reasonable stance of updating the Android system HTML-renderer through the Play Store, but it has flip-flopped back and forth on whether using the user-facing Chrome app for system HTML duties is a good idea. Android 5 and 6 used a separate package called ” Android System WebView”for Web content, which is very close to Chrome, as it’s based on the Chromium codebase. After three versions of using Chrome, Google went back to the purpose-built Android System WebView app for the latest version, Android (****************************************************************, saying that the Android System WebView should have”fewer weird special cases and bugs.” In this case it wouldn’t have helped, since both Chrome and Android System WebView 800 have this data-loss bug. The point is that the offending system Web renderer app will change depending on your Android version.                                 (************************************                      Page: (1) ************************************** (2) ************************************** ()(Next) **************************************************************************************************************
****************************** (Read More) ************ (******************************

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Amateur Radio, Hacker News

Some junk for sale on Amazon is very literally garbage, report finds, Ars Technica

Some junk for sale on Amazon is very literally garbage, report finds, Ars Technica