I'm a passionate, self-taught full-stack developer based in Torino, Italy. 🇮🇹 🤌
I work mainly with 🐍 Python
, 🦄 Django
and Vue.js
.
I love Open Source, I published and actively maintain many 📦 libraries.
View all my libraries
:iphone: :id: iOS UUID / Universally Unique Identifiers library as alternative to UDID and identifierForVendor.
License: MIT License
I'm a passionate, self-taught full-stack developer based in Torino, Italy. 🇮🇹 🤌
I work mainly with 🐍 Python
, 🦄 Django
and Vue.js
.
I love Open Source, I published and actively maintain many 📦 libraries.
At these conditions:
Hi,
we're currently seeing the case where 2 different iPads, which use the same apple ID would generate the same UUID, which is obviously not what one wants.
We don't know for sure, but it seems it all started with around iOS ~16.6.1.
Is anybody else seeing this, or even knows a fix for it?
Thanks a lot!
Key-value storage enabled (target / Capabilities / iCloud / Key-value storage)
Does it possible to keep device id when i transfer app to another developer account?
Before using i want to ensure does this plugin support ios7 and ios8. what it will return as UUID ? is it macid?
Same device, different signature,got different id?
[FCUUID uuidForDevice]
how to set the "Keychain Access Groups"?
Hi Team,
First, thanks for the work!
Would you consider an update if I do a PR with Carthage support?
Cheers,
Vincent
Will two different apps in two different devices generate the same id?
ps: Key-value storage disabled ,two different bundle IDs
whether this library is limited on iOS 14.5?
thanks !
Why is the ID generated by the two devices the same?
ios11 will release , new device will come
"uuidForDeviceInMemory" is nil and calling "isEqualToString" on it causing crash.
EDIT:
So here the scenario to generate
Use the UUIDForDevice, and then delete the app and reinstall it again,
同一个设备登录多个appid,同步了keychain信息的话,会导致获取的uuid发生变化吗?会被新的appid中的keychain信息覆盖掉?
Hey @fabiocaccamo, I'm having an issue when restoring a device using iCloud.
So, we are using uuidForDevice to have a unique id per user per device, but we are facing some issues when people are cloning their devices and as the uuidForDevice is the same (they do a full backup with encrypted data and everything), then for our system, the "new" app is the same user/same device.
Is there any chance to prevent this behavior? we might have users paying just for one device when they could be using several ones.
Thanks in advance!
When i want to get uuid after the system is reinstalled, i must log in to iCloud ?
Not sure if I'm getting it right but based on the persistence table, the uuidForInstallation is expected to be removed when the app is uninstalled. However, that's not the case (tested on iOS 9 and 10). Probably because of the following line:
_uuidForInstallation = [self _getOrCreateValueForKey:_uuidForInstallationKey defaultValue:nil userDefaults:YES keychain:YES service:nil accessGroup:nil synchronizable:NO];
I believe keychain argument should be NO here.
The following build commands failed:
CompileC /Users/ec2-user/Library/Developer/Xcode/DerivedData/jar-ios-brpycscsvwakwygpjzwyzfoxvdzj/SourcePackages/checkouts/FCUUID/build/FCUUID.build/Release-iphoneos/FCUUID.build/Objects-normal/arm64/UIDevice+FCUUID.o /Users/ec2-user/Library/Developer/Xcode/DerivedData/jar-ios-brpycscsvwakwygpjzwyzfoxvdzj/SourcePackages/checkouts/FCUUID/FCUUID/UIDevice+FCUUID.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'FCUUID' from project 'FCUUID')
(1 failure)
Build step 'Execute shell' marked build as failure
Finished: FAILURE
What Happens if iCloud is Sync Keychain and try to get device ID on 2 devices with same iCloud account.
I use FCUUID as NSString *deviceUUID = [FCUUID uuidForDevice];
,but` same ID,one iphone ,two UDID,log is NSUbiquitousKeyValueStore error: com.xxx.xxx has no valid com.apple.developer.ubiquity-kvstore-identifier entitlement,can you help me?
Hi, I find your library is perfect to accomplish my client's app requirements and identify users. I'd need to use the uuidForDevice method to identify the user device. However I have a few questions:
-As I understand your library, it relies in NSUbiquitousKeyValueStore to persist across installations but, what happens if the user is logged out or even never created a iCloud account? This app is meant to be used mostly by old people so this can be an usual scenario. If this is the case, there's nothing to do, Am I right? Or there is any kind of automatically generated iCloud id created on iPhone activation?
-Can you identify just the current device instead of every user devices?
Thank you very much
Ricardo Mantero
When I upgrade my device system, will uuid change?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.