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

Crahs on Android 8.1.0 #22

Open
jondediego opened this issue Dec 17, 2018 · 5 comments
Open

Crahs on Android 8.1.0 #22

jondediego opened this issue Dec 17, 2018 · 5 comments

Comments

@jondediego
Copy link

jondediego commented Dec 17, 2018

Hi,
Should this plugin work on Andoid 8.1.0?. For 7.x version it is working for me, but for 8.1.0, the app crashes whenever I call to start method of this plugin.
This is the error I get on Android Studio logcat:

E/AndroidRuntime: FATAL EXCEPTION: main
                                                                      Process: com.suez.galiaMovile, PID: 31963
                                                                      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 number=0 vis=PRIVATE semFlags=0x0 semPriority=0 semMissedCount=0)
                                                                          at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1893)
                                                                          at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                          at android.os.Looper.loop(Looper.java:164)
                                                                          at android.app.ActivityThread.main(ActivityThread.java:6960)
                                                                          at java.lang.reflect.Method.invoke(Native Method)
                                                                          at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
                                                                          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
@ThibertT
Copy link

Same Here, not on a particular Android Version but for some devices running Android.
App crashes when calling start method.

@tavor8
Copy link

tavor8 commented Dec 31, 2018

+1

@jondediego
Copy link
Author

It works for me using the new alpha version of this plugin

@tavor8
Copy link

tavor8 commented Jan 1, 2019

thanks a lot, I was using v2.3.6, now issue is gone after using the alpha version. thx for letting me know that.

@marcosvcr84
Copy link

@tavor8 how did you install alpha version that worked for you?

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

4 participants