Zebra: Wrong UDID sent to server when downloading a package

Created on 11 May 2019  ·  2Comments  ·  Source: zbrateam/Zebra

Describe the bug
When the headers are built, you use [[UIDevice currentDevice] identifierForVendor].UUIString as a way to get a unique identifier.
This format is not the one that is used "commonly" which causes verifications to fail on repositories end.

Expected behavior
I found this bit of code and tested it and it returns the "right" UDID.

# Declare
OBJC_EXTERN CFStringRef MGCopyAnswer(CFStringRef key) WEAK_IMPORT_ATTRIBUTE;

# Use this to get the UDID
CFStringRef UDID = MGCopyAnswer(CFSTR("UniqueDeviceID"));
bug

Most helpful comment

Good to know, I'll fix this for the next beta.

All 2 comments

Good to know, I'll fix this for the next beta.

Fixed as of ad9aa0e

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jailbreaker92 picture Jailbreaker92  ·  5Comments

baobaoit picture baobaoit  ·  4Comments

WenaWindows picture WenaWindows  ·  4Comments

trismegis7os picture trismegis7os  ·  4Comments

worldlydev picture worldlydev  ·  6Comments