-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashs on API 29 - API 28 #29
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello people.
I have an IONIC 4 application and to perform the migration to meet API 28 and 29, I upgraded the version of cordova-plugin-background-geolocation to 3.0.1 (previously used 2.3.6).
I am getting the error below on Android:
Process: br.com.kdcare.professional, PID: 8005
android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification (channel = null pri = 0 contentView = null vibrate = null sound = null defaults = 0x0 flags = 0x62 color = 0xffff0000 vis = PRIVATE)
at android.app.ActivityThread $ H.handleMessage (ActivityThread.java:1938)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7319)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit $ MethodAndArgsCaller.run (RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.ja
va: 934)
My AndroidManifest.xml already contains the line below:
Anyone else with this problem that can help?
Thanks!
The text was updated successfully, but these errors were encountered: