Get MAC Address or ESN

Is there an easy way to obtain the MAC address (or alternatively the ESN) of a device from App Studio code? I was hoping that SYSINFO() might be the ticket, but it appears that is not an option.

The only way to do this is by compiling your app as a native app using VoltBuilder.

You can then use the cordova-plugin-device plugin to get at some device information.

Look at the notes for iOS carefully. Apple does not want you to do anything which would identify the device using a hardware id - and will reject your app if it does.

Good to know - I think for my purposes I will rethink my approach and move in another direction. Thanks.

If your need is more towards uniquely identifying a browser/device, you can try another approach: