1 Reply
      Latest reply on Aug 7, 2015 1:34 PM by gc.
      eramsey1 Level 1 Level 1 (0 points)

        I have app that is just for enterprise and supports ios7/ios8. I need to programmatically get device serial number. This id is visible to user and it uniquely identifies device. UUID will not work because it is not visible to user. Is there a way to programmatically get serial number of device? I would settle for IMEI too.

        • Re: Get Device Serial Number
          gc. Apple Staff Apple Staff (255 points)

          There are no APIs that allow an iOS app to fetch this information. However, since you're writing an enterprise app, mobile device management (MDM) servers can query managed devices for device attributes such as the serial number using the DeviceInformation MDM command.

           

          Once your MDM server has that data, the MDM server can use Managed App Configuration to push a configuration dictionary to your app. The app can then inspect that dictionary and use that information as required.

           

          Please see DeviceInformation on page 40 and Managed App Configuration and Feedback starting on page 69 of MDM Protocol Reference for details. There is also the Managed App Configuration sample code demonstrating how this works.

           

          If you are a member of the Apple Developer Enterprise Program, you should be able to see MDM Protocol Reference located at https://developer.apple.com/downloads/index.action?name=Mobile%20Device.

           

          If you are not able to see the documentation as described above, please contact the Apple Developer Program support team at <https://developer.apple.com/contact/submit.php>.

           

          --gc