-
Notifications
You must be signed in to change notification settings - Fork 343
Support of Android 8.1 and above #164
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
Comments
We are having the same issue. @Diwei-Chen did you solve this satisfactorily? Could you share how? Maintainers - would be good to include instructions for configuring this in Android > 8.1 |
AFAIK it should be enough to enable the notification, by setting |
@NicholasIoanJones I am sorry to tell but without enough knowledge to help improve the Android code, we ended up with replacing this package with the |
I solved my problem adding this line |
Followed the solution as proposed in #59
After turning off the notification setting, now Android is throwing:
The
targetSdkVersion
in ourandroid/app/build.gradle
is 27 andcompileSdkVersion
is 28.We found some solutions on stack overflow https://stackoverflow.com/questions/47531742/startforeground-fail-after-upgrade-to-android-8-1 but not sure if we're doing the right thing.
Any ideas, please?
Related documentation:
https://developer.android.com/reference/android/content/Context.html#startForegroundService(android.content.Intent)
The text was updated successfully, but these errors were encountered: