You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/19 16:30:36 UTC

[GitHub] [cordova-plugin-device] jcesarmobile commented on issue #103: device.uuid=NULL on IOS 12.3.1

jcesarmobile commented on issue #103: device.uuid=NULL on IOS 12.3.1
URL: https://github.com/apache/cordova-plugin-device/issues/103#issuecomment-513293175
 
 
   I can't reproduce neither, even if trying to return `NULL` or `nil` from native makes the app crash instead of returning `NULL`, the only way of returning a null value is by returning `[NSNull null]`, but that returns `null`, not `NULL`.
   
   Anyway, looks like the identifierForVendor can return nil in rare cases, that could cause a crash as mentioned earlier
   
   > If the value is nil, wait and get the value again later. This happens, for example, after the device has been restarted but before the user has unlocked the device.
   
   https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org