How to get the unique device ID

Does SDKBOX have any package with a helper that returns the unique device ID?
Cocos2d-x does not have this, and I’m certain that one or more Sdkbox packages already use the device ID internally.

Thanks.

Apple has banned the use of unique ID, such as mac address or device ID, the only thing you can get that’s close to unique ID, is IDFA, which you can only get if you enable advertising in your game.

For android, you can get android ID and IDFA as well, note since android 6.0 they will return random mac address, so that’s not reliable.

Thank you for the reply, nite!