Ionic v3 app stopped working on some Samsung devices

Hi guys,

I have an app that’s been working for a couple of years now and about a week ago I started receiving reports about the app not working on some Samsung devices. There is not a specific model as they range from S6 to S10 and most of the Samsung users can still use the app ok. One user reported that after resetting the phone to factory settings, it started working again. Want to mention that the same app worked for ages on all these devices.
I tested on an affected Samsung S10 and it looks like the app is doing what it’s supposed to, only it runs incredibly slow. All the actions to do with file system(delete,create) and event emitters are taking ages to run.
Database transactions are also slow.
Have you got any idea what might cause this?

cli packages:

@ionic/cli-utils  : 1.6.0 (C:\curo360 Git\CrossPlatform\ionic3\curo360\node_modules\ionic\node_modules\@ionic\cli-utils)
ionic (Ionic CLI) : 3.6.0 (C:\curo360 Git\CrossPlatform\ionic3\curo360\node_modules\ionic)

global packages:

Cordova CLI : 8.0.0

local packages:

@ionic/app-scripts              : 1.3.12
@ionic/cli-plugin-cordova       : 1.4.1
@ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms               : android 5.1.1
Ionic Framework                 : ionic-angular 3.5.0

System:

Android SDK Tools : 25.2.3
Node              : v6.11.0
OS                : Windows 10
npm               : 3.10.10

cordova-plugin-android-permissions 1.0.2 “Permissions”
cordova-plugin-app-event 1.2.0 “Application Events”
cordova-plugin-app-version 0.1.9 “AppVersion”
cordova-plugin-background-mode 0.7.2 “BackgroundMode”
cordova-plugin-camera 2.4.1 “Camera”
cordova-plugin-compat 1.1.0 “Compat”
cordova-plugin-console 1.0.5 “Console”
cordova-plugin-device 1.1.4 “Device”
cordova-plugin-file 4.3.3 “File”
cordova-plugin-file-transfer 1.6.3 “File Transfer”
cordova-plugin-geolocation 2.4.3 “Geolocation”
cordova-plugin-inappbrowser 3.0.0 “InAppBrowser”
cordova-plugin-network-information 1.3.3 “Network Information”
cordova-plugin-screen-orientation 3.0.1 “Screen Orientation”
cordova-plugin-splashscreen 4.0.3 “Splashscreen”
cordova-plugin-statusbar 2.2.2 “StatusBar”
cordova-plugin-whitelist 1.3.1 “Whitelist”
cordova-plugin-zip 3.1.0 “cordova-plugin-zip”
cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”
de.appplant.cordova.plugin.local-notification 0.8.5 “LocalNotification”
es6-promise-plugin 4.2.2 “Promise”
ionic-plugin-keyboard 2.2.1 “Keyboard”

Hi,

I have same problem with tablets Samsung TAB A. I think is something wrong with april update by samsung because i have other tablet where the auto update is disabled and app still working well, then i do the april update and then the app dont work anymore. If i reset the tablet to factory settings its working, but of course i dont want to do this for all clients that use the app. Any solution?

Hi,

The solution for me was to upgrade to the latest Ionic

Hi, tks for your help

I dont even use ionic. My app is just cordova + plugins…
i use many plugins but i think the problem is one of this:
-cordova-plugin-android-permissions 1.0.2
-cordova-sqlite-legacy-build-support 1.3.5

on debug i see the code below dont work, and i dont get any callback error.
tr.executeSql(“SQL”, , function (tr, rs) {