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

Unable to disable notifications on Android Orio for latest plugin version #148

Closed
geoffbullen opened this issue May 24, 2018 · 2 comments
Closed
Assignees

Comments

@geoffbullen
Copy link

Which platform(s) does your issue occur on?

  • Android Orio

Please, tell us how to recreate the issue in as much detail as possible.

Using latest version (3.2.7) and android api v27, and setting androidDisplayNotificationProgress: false, you get the below error:

Android Oreo requires a notification configuration for the service to run. https://developer.android.com/reference/android/content/Context.html#startForegroundService(android.content.Intent

  • Using earlier versions of Android, you don't get the error
  • Setting to true, or by removing the property you don't get the error

The only way I have found that I can avoid this issue is to allow notifications.

@tgpetrov
Copy link
Contributor

@geoffbullen,
This behaviour is expected. It is due to the new Android requirement that developers must use notifications when running background tasks. Check this article for more information.

@ghost ghost removed the bug label May 28, 2018
@geoffbullen
Copy link
Author

Thanks @tgpetrov.

OK, thats a shame as I am doing lots of upload requests, so going to be a bit annoying for the user...

But thank you for the explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants