Ionic Barcode Scanning Process Crash in Android
I have used the cordova plugin https://ionicframework.com/docs/native/barcode-scanner/
Where I need to scan multiple barcodes but after a scan or more the Android App crashes. It works fine on IOS devices.
Here is crash log:
11-20 18:45:39.923 30115-30115/com.xyz.optilockdev
E/BoostFramework: BoostFramework() : Exception_1 =
java.lang.ClassNotFoundException: Didn't find class
"com.qualcomm.qti.Performance" on path:
DexPathList[,nativeLibraryDirectories=[/system/lib, /vendor/lib]]
11-20 18:45:53.258 30115-30115/com.xyx.optilockdev
E/ViewRootImpl@940705f[MainActivity]: ViewRootImpl #2 Surface is not
valid. 11-20 18:46:06.928 30115-30188/com.xyz.optilockdev
E/PluginManager: Uncaught exception from plugin
java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1352)
at android.app.ContextImpl.unbindService(ContextImpl.java:1553)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:723)
at de.appplant.cordova.plugin.background.BackgroundMode.stopService(BackgroundMode.java:256)
at de.appplant.cordova.plugin.background.BackgroundMode.disableMode(BackgroundMode.java:166)
at de.appplant.cordova.plugin.background.BackgroundMode.execute(BackgroundMode.java:107)
at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:323)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61) 11-20 18:46:45.624 30115-30115/com.xyz.optilockdev E/AndroidRuntime: FATAL
EXCEPTION: main Process: com.xyx.optilockdev, PID: 30115
java.lang.RuntimeException: Unable to resume activity
{com.xyz.optilockdev/com.xyz.optilockdev.MainActivity}:
java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3844)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3885)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) Caused by: java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1352)
at android.app.ContextImpl.unbindService(ContextImpl.java:1553)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:723)
at de.appplant.cordova.plugin.background.BackgroundMode.stopService(BackgroundMode.java:256)
at de.appplant.cordova.plugin.background.BackgroundMode.onResume(BackgroundMode.java:139)
at org.apache.cordova.PluginManager.onResume(PluginManager.java:264)
at org.apache.cordova.CordovaWebViewImpl.handleResume(CordovaWebViewImpl.java:450)
at org.apache.cordova.CordovaActivity.onResume(CordovaActivity.java:275)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1277)
at android.app.Activity.performResume(Activity.java:7115)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3821)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3885)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:67
java

add a comment |
I have used the cordova plugin https://ionicframework.com/docs/native/barcode-scanner/
Where I need to scan multiple barcodes but after a scan or more the Android App crashes. It works fine on IOS devices.
Here is crash log:
11-20 18:45:39.923 30115-30115/com.xyz.optilockdev
E/BoostFramework: BoostFramework() : Exception_1 =
java.lang.ClassNotFoundException: Didn't find class
"com.qualcomm.qti.Performance" on path:
DexPathList[,nativeLibraryDirectories=[/system/lib, /vendor/lib]]
11-20 18:45:53.258 30115-30115/com.xyx.optilockdev
E/ViewRootImpl@940705f[MainActivity]: ViewRootImpl #2 Surface is not
valid. 11-20 18:46:06.928 30115-30188/com.xyz.optilockdev
E/PluginManager: Uncaught exception from plugin
java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1352)
at android.app.ContextImpl.unbindService(ContextImpl.java:1553)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:723)
at de.appplant.cordova.plugin.background.BackgroundMode.stopService(BackgroundMode.java:256)
at de.appplant.cordova.plugin.background.BackgroundMode.disableMode(BackgroundMode.java:166)
at de.appplant.cordova.plugin.background.BackgroundMode.execute(BackgroundMode.java:107)
at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:323)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61) 11-20 18:46:45.624 30115-30115/com.xyz.optilockdev E/AndroidRuntime: FATAL
EXCEPTION: main Process: com.xyx.optilockdev, PID: 30115
java.lang.RuntimeException: Unable to resume activity
{com.xyz.optilockdev/com.xyz.optilockdev.MainActivity}:
java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3844)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3885)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) Caused by: java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1352)
at android.app.ContextImpl.unbindService(ContextImpl.java:1553)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:723)
at de.appplant.cordova.plugin.background.BackgroundMode.stopService(BackgroundMode.java:256)
at de.appplant.cordova.plugin.background.BackgroundMode.onResume(BackgroundMode.java:139)
at org.apache.cordova.PluginManager.onResume(PluginManager.java:264)
at org.apache.cordova.CordovaWebViewImpl.handleResume(CordovaWebViewImpl.java:450)
at org.apache.cordova.CordovaActivity.onResume(CordovaActivity.java:275)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1277)
at android.app.Activity.performResume(Activity.java:7115)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3821)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3885)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:67
java

Can you post your code please? and also your Manifest
– Ümañg ßürmån
Nov 26 '18 at 6:03
@SunnyShah Looks to be an issue with cordova-plugin-background-mode not barcode scanning plugin as per the trace. plz check out - github.com/katzer/cordova-plugin-background-mode/issues/204
– Gandhi
Nov 26 '18 at 6:35
@SunnyShah Can you confirm whether you are using background plugin?
– Gandhi
Nov 27 '18 at 5:58
@Gandhi yes i am using background plugin and it works fine when i remove code of enable background mode. Thanks
– Sunny Shah
Nov 27 '18 at 6:44
@SunnyShah Have posted the answer Sunny. Please accept the answer and close in on the bounty. Thanks.
– Gandhi
Nov 27 '18 at 7:34
add a comment |
I have used the cordova plugin https://ionicframework.com/docs/native/barcode-scanner/
Where I need to scan multiple barcodes but after a scan or more the Android App crashes. It works fine on IOS devices.
Here is crash log:
11-20 18:45:39.923 30115-30115/com.xyz.optilockdev
E/BoostFramework: BoostFramework() : Exception_1 =
java.lang.ClassNotFoundException: Didn't find class
"com.qualcomm.qti.Performance" on path:
DexPathList[,nativeLibraryDirectories=[/system/lib, /vendor/lib]]
11-20 18:45:53.258 30115-30115/com.xyx.optilockdev
E/ViewRootImpl@940705f[MainActivity]: ViewRootImpl #2 Surface is not
valid. 11-20 18:46:06.928 30115-30188/com.xyz.optilockdev
E/PluginManager: Uncaught exception from plugin
java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1352)
at android.app.ContextImpl.unbindService(ContextImpl.java:1553)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:723)
at de.appplant.cordova.plugin.background.BackgroundMode.stopService(BackgroundMode.java:256)
at de.appplant.cordova.plugin.background.BackgroundMode.disableMode(BackgroundMode.java:166)
at de.appplant.cordova.plugin.background.BackgroundMode.execute(BackgroundMode.java:107)
at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:323)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61) 11-20 18:46:45.624 30115-30115/com.xyz.optilockdev E/AndroidRuntime: FATAL
EXCEPTION: main Process: com.xyx.optilockdev, PID: 30115
java.lang.RuntimeException: Unable to resume activity
{com.xyz.optilockdev/com.xyz.optilockdev.MainActivity}:
java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3844)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3885)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) Caused by: java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1352)
at android.app.ContextImpl.unbindService(ContextImpl.java:1553)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:723)
at de.appplant.cordova.plugin.background.BackgroundMode.stopService(BackgroundMode.java:256)
at de.appplant.cordova.plugin.background.BackgroundMode.onResume(BackgroundMode.java:139)
at org.apache.cordova.PluginManager.onResume(PluginManager.java:264)
at org.apache.cordova.CordovaWebViewImpl.handleResume(CordovaWebViewImpl.java:450)
at org.apache.cordova.CordovaActivity.onResume(CordovaActivity.java:275)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1277)
at android.app.Activity.performResume(Activity.java:7115)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3821)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3885)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:67
java

I have used the cordova plugin https://ionicframework.com/docs/native/barcode-scanner/
Where I need to scan multiple barcodes but after a scan or more the Android App crashes. It works fine on IOS devices.
Here is crash log:
11-20 18:45:39.923 30115-30115/com.xyz.optilockdev
E/BoostFramework: BoostFramework() : Exception_1 =
java.lang.ClassNotFoundException: Didn't find class
"com.qualcomm.qti.Performance" on path:
DexPathList[,nativeLibraryDirectories=[/system/lib, /vendor/lib]]
11-20 18:45:53.258 30115-30115/com.xyx.optilockdev
E/ViewRootImpl@940705f[MainActivity]: ViewRootImpl #2 Surface is not
valid. 11-20 18:46:06.928 30115-30188/com.xyz.optilockdev
E/PluginManager: Uncaught exception from plugin
java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1352)
at android.app.ContextImpl.unbindService(ContextImpl.java:1553)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:723)
at de.appplant.cordova.plugin.background.BackgroundMode.stopService(BackgroundMode.java:256)
at de.appplant.cordova.plugin.background.BackgroundMode.disableMode(BackgroundMode.java:166)
at de.appplant.cordova.plugin.background.BackgroundMode.execute(BackgroundMode.java:107)
at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:323)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61) 11-20 18:46:45.624 30115-30115/com.xyz.optilockdev E/AndroidRuntime: FATAL
EXCEPTION: main Process: com.xyx.optilockdev, PID: 30115
java.lang.RuntimeException: Unable to resume activity
{com.xyz.optilockdev/com.xyz.optilockdev.MainActivity}:
java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3844)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3885)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) Caused by: java.lang.IllegalArgumentException: Service not registered:
de.appplant.cordova.plugin.background.BackgroundMode$1@7c72892
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1352)
at android.app.ContextImpl.unbindService(ContextImpl.java:1553)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:723)
at de.appplant.cordova.plugin.background.BackgroundMode.stopService(BackgroundMode.java:256)
at de.appplant.cordova.plugin.background.BackgroundMode.onResume(BackgroundMode.java:139)
at org.apache.cordova.PluginManager.onResume(PluginManager.java:264)
at org.apache.cordova.CordovaWebViewImpl.handleResume(CordovaWebViewImpl.java:450)
at org.apache.cordova.CordovaActivity.onResume(CordovaActivity.java:275)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1277)
at android.app.Activity.performResume(Activity.java:7115)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3821)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3885)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:67
java

java

edited Dec 3 '18 at 9:08


3rd Battalion
237
237
asked Nov 21 '18 at 4:58


Sunny ShahSunny Shah
10.8k83671
10.8k83671
Can you post your code please? and also your Manifest
– Ümañg ßürmån
Nov 26 '18 at 6:03
@SunnyShah Looks to be an issue with cordova-plugin-background-mode not barcode scanning plugin as per the trace. plz check out - github.com/katzer/cordova-plugin-background-mode/issues/204
– Gandhi
Nov 26 '18 at 6:35
@SunnyShah Can you confirm whether you are using background plugin?
– Gandhi
Nov 27 '18 at 5:58
@Gandhi yes i am using background plugin and it works fine when i remove code of enable background mode. Thanks
– Sunny Shah
Nov 27 '18 at 6:44
@SunnyShah Have posted the answer Sunny. Please accept the answer and close in on the bounty. Thanks.
– Gandhi
Nov 27 '18 at 7:34
add a comment |
Can you post your code please? and also your Manifest
– Ümañg ßürmån
Nov 26 '18 at 6:03
@SunnyShah Looks to be an issue with cordova-plugin-background-mode not barcode scanning plugin as per the trace. plz check out - github.com/katzer/cordova-plugin-background-mode/issues/204
– Gandhi
Nov 26 '18 at 6:35
@SunnyShah Can you confirm whether you are using background plugin?
– Gandhi
Nov 27 '18 at 5:58
@Gandhi yes i am using background plugin and it works fine when i remove code of enable background mode. Thanks
– Sunny Shah
Nov 27 '18 at 6:44
@SunnyShah Have posted the answer Sunny. Please accept the answer and close in on the bounty. Thanks.
– Gandhi
Nov 27 '18 at 7:34
Can you post your code please? and also your Manifest
– Ümañg ßürmån
Nov 26 '18 at 6:03
Can you post your code please? and also your Manifest
– Ümañg ßürmån
Nov 26 '18 at 6:03
@SunnyShah Looks to be an issue with cordova-plugin-background-mode not barcode scanning plugin as per the trace. plz check out - github.com/katzer/cordova-plugin-background-mode/issues/204
– Gandhi
Nov 26 '18 at 6:35
@SunnyShah Looks to be an issue with cordova-plugin-background-mode not barcode scanning plugin as per the trace. plz check out - github.com/katzer/cordova-plugin-background-mode/issues/204
– Gandhi
Nov 26 '18 at 6:35
@SunnyShah Can you confirm whether you are using background plugin?
– Gandhi
Nov 27 '18 at 5:58
@SunnyShah Can you confirm whether you are using background plugin?
– Gandhi
Nov 27 '18 at 5:58
@Gandhi yes i am using background plugin and it works fine when i remove code of enable background mode. Thanks
– Sunny Shah
Nov 27 '18 at 6:44
@Gandhi yes i am using background plugin and it works fine when i remove code of enable background mode. Thanks
– Sunny Shah
Nov 27 '18 at 6:44
@SunnyShah Have posted the answer Sunny. Please accept the answer and close in on the bounty. Thanks.
– Gandhi
Nov 27 '18 at 7:34
@SunnyShah Have posted the answer Sunny. Please accept the answer and close in on the bounty. Thanks.
– Gandhi
Nov 27 '18 at 7:34
add a comment |
1 Answer
1
active
oldest
votes
It is as issue with background plugin not bar-code scanning plugin as per the error trace mentioned by OP.
The crash issue is still open in background plugin as per the issue link with no resolution on this yet.
Removing the background plugin for now should resolve the crash issue while bar-code scanning.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53405513%2fionic-barcode-scanning-process-crash-in-android%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It is as issue with background plugin not bar-code scanning plugin as per the error trace mentioned by OP.
The crash issue is still open in background plugin as per the issue link with no resolution on this yet.
Removing the background plugin for now should resolve the crash issue while bar-code scanning.
add a comment |
It is as issue with background plugin not bar-code scanning plugin as per the error trace mentioned by OP.
The crash issue is still open in background plugin as per the issue link with no resolution on this yet.
Removing the background plugin for now should resolve the crash issue while bar-code scanning.
add a comment |
It is as issue with background plugin not bar-code scanning plugin as per the error trace mentioned by OP.
The crash issue is still open in background plugin as per the issue link with no resolution on this yet.
Removing the background plugin for now should resolve the crash issue while bar-code scanning.
It is as issue with background plugin not bar-code scanning plugin as per the error trace mentioned by OP.
The crash issue is still open in background plugin as per the issue link with no resolution on this yet.
Removing the background plugin for now should resolve the crash issue while bar-code scanning.
answered Nov 27 '18 at 7:33


GandhiGandhi
9,95532845
9,95532845
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53405513%2fionic-barcode-scanning-process-crash-in-android%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you post your code please? and also your Manifest
– Ümañg ßürmån
Nov 26 '18 at 6:03
@SunnyShah Looks to be an issue with cordova-plugin-background-mode not barcode scanning plugin as per the trace. plz check out - github.com/katzer/cordova-plugin-background-mode/issues/204
– Gandhi
Nov 26 '18 at 6:35
@SunnyShah Can you confirm whether you are using background plugin?
– Gandhi
Nov 27 '18 at 5:58
@Gandhi yes i am using background plugin and it works fine when i remove code of enable background mode. Thanks
– Sunny Shah
Nov 27 '18 at 6:44
@SunnyShah Have posted the answer Sunny. Please accept the answer and close in on the bounty. Thanks.
– Gandhi
Nov 27 '18 at 7:34