omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    2
    3
    28
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cvp
      cvp last edited by

      @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 16

      read this

      In 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.

      osamu 1 Reply Last reply Reply Quote 0
      • osamu
        osamu @cvp last edited by

        @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.

        cvp 1 Reply Last reply Reply Quote 0
        • cvp
          cvp @osamu last edited by cvp

          @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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors