Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
platform.node() does not return anymore the device (user) name
-
@osamu In the past platform.node() returned the name assigned by the user to its device.
I guess platform.node() uses ObjectiveC UIDevice.name but this has changed in iOS 16In iOS, the user-assigned device name is available in the Settings app under General > About > Name. In iOS 15 and earlier, the name property returns this name. In iOS 16 and later, the name property returns a generic device name by default instead.
-
@cvp thank you for your reply.
platform.node() still returned user-assigned name in iOS 16. it changed in iOS 17.
anyway we've got to find some other way in iOS 17. -
@osamu said
anyway we've got to find some other way in
Not sure it is possible if the app needs to be modified to allow that
Of course, you can always ask the user to enter his device name