Alternate for UUID or UDID in ionic 1


I want to capture iOS device information such as the device should be unique for 1 registered user. In iOS I am not getting the unique device ID. The UUID is deprecated by the apple team. What is the alternative to UUID in iOS. I’ve tried CFUUID, Secure UDID and OpenUDID. But they are all native things and they keep changing after app reinstall, phone format etc. Is there any alternative to this or else how to implement them in the ionic 1 code?