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

Android P Error on 2.xx #493

Closed
rodrigoords opened this issue Oct 11, 2018 · 3 comments
Closed

Android P Error on 2.xx #493

rodrigoords opened this issue Oct 11, 2018 · 3 comments

Comments

@rodrigoords
Copy link

rodrigoords commented Oct 11, 2018

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:
@mauron85
Copy link
Owner

mauron85 commented Oct 11, 2018 via email

@dreadnautxbuddha
Copy link

Hi @mauron85 , it would be better if the Ionic team gets informed about this

@mauron85
Copy link
Owner

mauron85 commented Nov 4, 2018

Action needed in ionic side. Closing, as there is not much we can do here.

@mauron85 mauron85 closed this as completed Nov 4, 2018
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

3 participants