Skip to content

Conversation

@rdb
Copy link
Contributor

@rdb rdb commented Mar 12, 2022

Currently plyer uses the presence of the ANDROID_ARGUMENT environment variable to detect Android. As of Python 3.7, there is a sys.getandroidapilevel that can be checked instead, which is more reliable since it does not require on a particular implementation detail of p4a.

@akshayaurora akshayaurora merged commit 2179cd0 into kivy:master Apr 19, 2022
@akshayaurora
Copy link
Member

akshayaurora commented Apr 19, 2022

@rdb thanks 👍

@rdb rdb deleted the robust-android-detection branch May 5, 2022 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants