-
Notifications
You must be signed in to change notification settings - Fork 409
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
Android P Error on 2.xx #493
Comments
Thank you for raising this. But unfortunately 2.x will not working on Oreo
or later, due changes in notifications system. 3.x should be working fine.
…On Thu, Oct 11, 2018 at 10:14 PM Rodrigo Sene ***@***.***> wrote:
With 2.xx version when running on android P system crash with stacktrace:
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=0x00000000 vis=PRIVATE)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1724)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6649)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:826)
E/UncaughtException: 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=0x00000000
vis=PRIVATE)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1724)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6649)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:826)
Your Environment
- Ionic 3.xx project
- Plugin version: 2.3.6
- Platform: Android
- OS version: P
- Device manufacturer and model:
- Cordova version (cordova -v): 8.0.0
- Cordova platform version (cordova platform ls): 7.1.0
- Plugin configuration options:
- Link to your project:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#493>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAV8Gg4LdgxC_Zk5iN6ZGgEjncNPVSUeks5uj6a_gaJpZM4XYSdS>
.
|
Hi @mauron85 , it would be better if the Ionic team gets informed about this |
This was referenced Oct 15, 2018
Action needed in ionic side. Closing, as there is not much we can do here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With 2.xx version when running on android P system crash with stacktrace:
android.app.RemoteServiceException: Bad notification for startForeground:
Your Environment
cordova -v
): 8.0.0cordova platform ls
): 7.1.0The text was updated successfully, but these errors were encountered: