Replies: 6 comments 5 replies
-
I note that "Notifications" was a common item that people thought needed work in the recent survey. |
Beta Was this translation helpful? Give feedback.
-
Как починить PUSH оповещения в foreground service для Android API >= 31 (RU)
Проблему я решал следующим образом
чтобы код отработал возможно придется импортировать api_version Из нюансов
у себя я переименовал класс
|
Beta Was this translation helpful? Give feedback.
-
How to fix PUSH notifications in foreground service for Android API >= 31 (EN)
I solved the problem as follows
For the code to work, you may have to import api_version Of the nuances
I renamed the class
|
Beta Was this translation helpful? Give feedback.
-
This part need to be added into buildozer.spec
Full code of notificator.py (modificated)
|
Beta Was this translation helpful? Give feedback.
-
@Julian-O check pls |
Beta Was this translation helpful? Give feedback.
-
Hope this solution to send Android notifications using Plyer can be helpful to someone: |
Beta Was this translation helpful? Give feedback.
-
I have some trouble with foreground service push notifications
I've tried use many ways (PyJnius, KVDroid, Plyer) it is not working
all of this working on main app(and Plyer and PyJnius only on old version not on api >=31)
This is my case( is the same on Plyer2.2.1 and 2.2.0.dev0)
on buildozer.spec I added all of this
and I have java class for this
I posted this on the main git (kivy/plyer#793) and discord channels(support/android support/kivymd) and no answer for this.
how can I call push notification from foreground service using Plyer/PyJnius or something else?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions