When API >= 26 you have to use NotificationChannel#92
When API >= 26 you have to use NotificationChannel#92michielvaneerd wants to merge 1 commit intobenbahrenburg:masterfrom
Conversation
…ations don't work anymore
|
I think people are going to run into this more now that Google is starting to require min api 26. Previous version of the module will fail silently. |
|
Yes I have experiences. I have build an other module with PN, Next days I will look into. |
|
Maybe TaskScheduler is a better idea for starting processes later. |
|
Thanks @michielvaneerd your PR works fine, but I've an issue: when I click on the notification icon, the app shows this alert dialog:
and the app don't restart anymore |
|
@Astrovic For me it's working. If you can share the code for a runnable example I can have a look. |
|
@michielvaneerd I solved by adding this property on
|
|
Is someone merging this? |
|
thanks for sharing @Astrovic and @michielvaneerd , maybe someone could have the official github repo and make it the upstream version later? |
When API >= 26 you have to use NotificationChannel otherwise notifications don't work anymore. This pull request adds NotificationChannel support and makes notifications work again. Other small changes: