Skip to content
Discussion options

You must be logged in to vote

plyer's mobile backends are written for python-for-android/kivy-ios, not Flet's serious_python runtime. If you add it to your app dependencies, plyer installs and imports fine, but its device-feature facades won't work. For it to work, its Android/iOS backends would need to be ported to use Flet's Activity/Context instead of kivy's.

Recommendation: rather than using plyer, use pyjnius/pyobjus directly, as shown in this guide. Let know if you face issues with it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants