cordova-plugin-device you can get serial number for ios from a mobile app with ionic 1

0

Dear, I have not managed to capture the serial number of an ipad with the plugin cordova-plugin-device 2.0.1, Can it be captured? Greetings

    
asked by Mfmuñoz 27.02.2018 в 14:49
source

1 answer

1

According to the plugin documentation Device :

You can get the following information:

  • device.model
  • device.platform
  • device.uuid
  • device.version
  • device.manufacturer
  • device.isVirtual
  • device.serial

In this simple way

var string = device.serial;

However, within the documentation they emphasize that this function is only for Android and OSX systems. Therefore in iOS it will not work.

    
answered by 27.02.2018 в 15:19