We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a0c0dd commit 4bb47f3Copy full SHA for 4bb47f3
platform/platform.ios.ts
@@ -58,11 +58,8 @@ export class device implements definition.device {
58
59
static get uuid(): string {
60
if (!device._uuid) {
61
- /*NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
62
- var UUID_KEY = @"CDVUUID";
63
- CFUUIDRef uuidRef = CFUUIDCreate(kCFAllocatorDefault);
64
- CFStringRef uuidString = CFUUIDCreateString(kCFAllocatorDefault, uuidRef);
65
- */
+ var uuidRef = CFUUIDCreate(kCFAllocatorDefault);
+ device._uuid = CFUUIDCreateString(kCFAllocatorDefault, uuidRef);
66
}
67
68
return device._uuid;
0 commit comments