No, Apple have cracked down on using the advertising ID so it can only be used for specific purposes and its use must be declared.
On iOS we use CFUUIDCreate stored in the [NSUserDefaults standardUserDefaults] object that lasts for as long as the app is installed but may change if the app is reinstalled.
On Android we use Secure.ANDROID_ID which will be the same for a particular keystore with a particular device and user. So if the device changes, or the user account on that device changes then the ANDROID_ID changes. It can also change by performing a factory reset of a device. Otherwise from what I can tell all your apps installed on a device, that are signed with the same keystore, will get the same ANDROID_ID, no matter how many times they are reinstalled.