Skip to content
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

Open
lemosadiego opened this issue Jan 9, 2020 · 0 comments
Open

Crashs on API 29 - API 28 #29

lemosadiego opened this issue Jan 9, 2020 · 0 comments

Comments

@lemosadiego
Copy link

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!

@lemosadiego lemosadiego changed the title Crahs on API 29 - API 28 Crashs on API 29 - API 28 Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant