Skip to content

Calling notification.notify() raises "No Usable Implementation Found!" Error on Android #575

Closed
@onodnawij

Description

Like the title said, it raises error if notification imported from plyer.

from plyer import notification
notification.notify(title="foo", message="bar", app_icon=".kivy/icon/kivy-icon-64.ico")
#This raises error
#Tried calling notification() but raises TypeError: 'Proxy' object is not callable

but, it will work flawlessly if imported from plyer.platforms.android.notification

from plyer.platforms.android.notification import AndroidNotification as notification
notification().notify(title="foo", message="bar", app_icon=".kivy/icon/kivy-icon64.ico")
#This works

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions