Closed hamdshah closed 8 years ago
I fixed it and I'm going to release 1.2.0 version.
Is it the correct way to fix ? https://github.com/fabiocaccamo/FCUUID/pull/10
Yes, it's correct, but I will not merge your PR because in the next version I did some code refactoring and fixed this bug differently. Thanks anyway! :)
looks need identify which app used ... like code below
NSString* _deviceKeyGenerate(NSString* suffix){ NSBundle* bundle = [NSBundle mainBundle]; NSString* identifier = [bundle objectForInfoDictionaryKey:@"CFBundleIdentifier"]; return [NSString stringWithFormat:@"%@-%@",identifier,suffix]; }
Just released 1.2.0 pod, check it.
@icoco it's an interesting request, but this is the wrong place, open another issue please.
"uuidForDeviceInMemory" is nil and calling "isEqualToString" on it causing crash.
line number in code
EDIT:
So here the scenario to generate Use the UUIDForDevice, and then delete the app and reinstall it again,