I'm building an android app in buildozer with plyer. It seems that the notification don't work.
The notification code in main.py:
notification.notify(title='WARNING!', message='This is a sample warning!')
It works on my computer running Linux Fedora 34 Workstation, but when I built it for android and run it on my phone, the app crashes when it tries to send a notification. It says that there's no attribute icon for the app in _set_icons.py. I tried to look into it, but I don't know what should I do.
requirements = python3,kivy,plyer
icon.filename = %(source.dir)s/icon/warning_icon.png
AttributeError: type object 'com.test.notification.R$drawable' has no attribute 'icon'
Python for android ended.
I've researching for a while now, but can't find a solution. If this not really working, is there other alternative to push a notification on android?