Ionic Crashing On Samsung

I have developed a deals app using ionic that seems to work on all modern phones except Samsung S models.
The app has a CMS that allows store owners to add and change deals dynamically and customers can the click the deal allowing a qr scanner to pop up and scan the deal in store.
This is not an android issue as the same version works as long as the phone is not a Samsung.
I am using Ionic http, and believe I have CORS set up correctly.
However the app crashes when opened.
I have tried in Chrome but it only occurs in production on some phones.
If anyone has experienced Samsung specific issues with ionic I would love to get to the bottom of this.


“cordova-sqlite-storage”: {},
“ionic-plugin-keyboard”: {},
“cordova-plugin-whitelist”: {},
“cordova-plugin-device”: {},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-ionic-webview”: {},
“cordova-plugin-dialogs”: {},
“cordova-plugin-qrscanner”: {},
“cordova-plugin-android-permissions”: {},
“cordova-plugin-inappbrowser”: {},
“cordova-plugin-facebook4”: {}, //edited for confidentiality
"cordova-plugin-statusbar": {}

Ionic Info Output

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2


ios-deploy : 1.9.2
Node       : v8.9.3
npm        : 2.15.12
OS         : macOS High Sierra
Xcode      : Xcode 9.2 Build version 9C40b


backend : pro

Can you provide more Information?
What is your app roughly about(category)?
Used Plugins?
ionic info output?
Already tried to debug with chrome?

Sorry to be vague, I’ve added more details

…what are the logs from the samsung phone when it crashes? There’s no other good way for anyone to know.

That’s the problem we can’t seem to get any logs

Why? That’s your first problem, any phone connected and in debug mode should be logging absolutely everything out to logcat. I can’t understand why it wouldn’t. There is no other way to solve this other than showing the logs. I mean you could remove plugins one-by-one…but, logs seems far easier.

1 Like