Replies: 1 comment 1 reply
-
Thanks for the suggestion; however, I don't think there's anything extra required here in Toga. As part of the work on PEP 730 and PEP 738, you'll be able to get device detail either as part of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if it could be useful to add an API to get the current device ID or device name (if it's still doens't exist).
e.g. for windows you could use:
platform.node()
for the device nameuuid.getnode()
for the device IDAnd those two should also work on Linux (sadly, I can't test them)
For android I thought at some implementation of:
android.os.Build.MODEL
for the device name. I believe briefcase already has it implemented, since it shows it when you runbriefcase run android
, but I may get it wrongSettings.Secure.ANDROID_ID
for device IDNo clue about how to implement on macOS and iOS.
Any advice? Do you think it should be useful?
Thanks to everyone :)
Beta Was this translation helpful? Give feedback.
All reactions