问题
how can I get IMEI on IOS with ionic framework ?
回答1:
You can use the "Device" object from Cordova. The device object describes the device's hardware and software. Since "device" is assigned to the window object, it is implicitly in the global scope so you can easily call it in your onDeviceReady function eg:
var deviceID = device.uuid;
On iOS, no permissions are required.
This will not be possible sadly in iOS7, Apple stopped access to these details in iOS7 I believe.
来源:https://stackoverflow.com/questions/25413697/how-can-i-get-imei-on-ios-with-ionic-framework