giorgiofellipe / cordova-plugin-datecs-printer

Cordova plugin to print on Mobile Bluetooth ESC/POS Printers - Tested on Datecs DPP-250 Printer
MIT License
73 stars 60 forks source link

Erro android 8.1 #109

Closed oAllanWeb closed 6 years ago

oAllanWeb commented 6 years ago

Esse erro mata oaplicativo

07-25 15:03:05.693  9345  9345 E AndroidRuntime: FATAL EXCEPTION: main
07-25 15:03:05.693  9345  9345 E AndroidRuntime: Process: com.ionicframework.organon_mobile_2_local, PID: 9345
07-25 15:03:05.693  9345  9345 E AndroidRuntime: android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=null pri=-2 contentView=null vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 vis=PRIVATE)
07-25 15:03:05.693  9345  9345 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1780)
07-25 15:03:05.693  9345  9345 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
07-25 15:03:05.693  9345  9345 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:172)
07-25 15:03:05.693  9345  9345 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6590)
07-25 15:03:05.693  9345  9345 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
07-25 15:03:05.693  9345  9345 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
07-25 15:03:05.693  9345  9345 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
07-25 15:03:05.697  2405  4794 W ActivityManager:   Force finishing activity com.ionicframework.organon_mobile_2_local/.MainActivity
07-25 15:03:05.699  2405  4794 D ActivityTrigger: ActivityTrigger activityPauseTrigger
07-25 15:03:05.702  2405  2496 I ActivityManager: Showing crash dialog for package com.ionicframework.organon_mobile_2_local u0
07-25 15:03:05.709  2405  2495 D CompatibilityInfo: mCompatibilityFlags - 10
07-25 15:03:05.709  2405  2495 D CompatibilityInfo: applicationDensity - 480
07-25 15:03:05.709  2405  2495 D CompatibilityInfo: applicationScale - 1.0
07-25 15:03:05.713  2405  3958 D CompatibilityInfo: mCompatibilityFlags - 10
07-25 15:03:05.713  2405  3958 D CompatibilityInfo: applicationDensity - 480
07-25 15:03:05.713  2405  3958 D CompatibilityInfo: applicationScale - 1.0
07-25 15:03:05.714  2405  3958 D CompatibilityInfo: mCompatibilityFlags - 10
07-25 15:03:05.715  2405  3958 D CompatibilityInfo: applicationDensity - 480
07-25 15:03:05.715  2405  3958 D CompatibilityInfo: applicationScale - 1.0
07-25 15:03:05.719  2405  4792 D CompatibilityInfo: mCompatibilityFlags - 10
07-25 15:03:05.719  2405  4792 D CompatibilityInfo: applicationDensity - 480
07-25 15:03:05.719  2405  4792 D CompatibilityInfo: applicationScale - 1.0
07-25 15:03:05.723  2405  3958 D CompatibilityInfo: mCompatibilityFlags - 10
07-25 15:03:05.723  2405  3958 D CompatibilityInfo: applicationDensity - 480
07-25 15:03:05.723  2405  3958 D CompatibilityInfo: applicationScale - 1.0
07-25 15:03:05.728  2405  5778 I OpenGLRenderer: Initialized EGL, version 1.4
07-25 15:03:05.728  2405  5778 D OpenGLRenderer: Swap behavior 2
07-25 15:03:05.744  2405  6310 D CompatibilityInfo: mCompatibilityFlags - 10
07-25 15:03:05.744  2405  6310 D CompatibilityInfo: applicationDensity - 480
07-25 15:03:05.744  2405  6310 D CompatibilityInfo: applicationScale - 1.0
07-25 15:03:05.878  3796  3796 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
07-25 15:03:05.880  1026  1081 D HeadsetStateMachine: Disconnected process message: 10, size: 0
07-25 15:03:05.880  1026  1081 D HeadsetStateMachine: Enter processIntentBatteryChanged()
07-25 15:03:05.880  1026  1081 D HeadsetStateMachine: Exit processIntentBatteryChanged()
07-25 15:03:05.880  1026  1081 D HeadsetStateMachine: Exit Disconnected processMessage()
07-25 15:03:05.882  3796  3796 D KeyguardUpdateMonitor: handleBatteryUpdate
07-25 15:03:06.091  9345  9432 D BluetoothSerial: action = enable
07-25 15:03:06.093  2405  6310 I ActivityManager: START u0 {act=android.bluetooth.adapter.action.REQUEST_ENABLE cmp=com.android.settings/.bluetooth.RequestPermissionActivity} from uid 10128
07-25 15:03:06.094  2405  6310 E ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
07-25 15:03:06.097  2405  6310 D ActivityTrigger: activityStartTrigger: Activity is Triggerred in full screen ApplicationInfo{80c157c com.android.settings}
07-25 15:03:06.097  2405  6310 E ActivityTrigger: activityStartTrigger: not whiteListedcom.android.settings/com.android.settings.bluetooth.RequestPermissionActivity/27
07-25 15:03:06.097  2405  6310 D CompatibilityInfo: mCompatibilityFlags - 0
07-25 15:03:06.097  2405  6310 D CompatibilityInfo: applicationDensity - 480
07-25 15:03:06.097  2405  6310 D CompatibilityInfo: applicationScale - 1.0
giorgiofellipe commented 6 years ago

It doesn't seem to have any relation with this plugin.