How can I get IMEI on IOS with ionic structure

how can i get IMEI on IOS with ionic framework?

+3


source to share


1 answer


You can use the Device object from Cordova . A device object describes the hardware and software of a device. Since the "device" is assigned to the window object, it is implicitly in the global scope, so you can easily call it in your onDeviceReady function, for example:

var deviceID = device.uuid;

      



On iOS, no permissions are required.

It will not be possible sadly in iOS7 , Apple stopped accessing these details in iOS7, I believe.

+7


source







All Articles