This is a way to get device uniqueId. 1. iOS is use keychain to get uniqueId, if you want to keep defrient app has same uniqueId, please input the bundleId in "Keychain Sharing" in info.plist. 2.