New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readout of deviceId crashes runtime #124
Comments
Ok, this here works as a workaround: const _SYS_NAMELEN = 256; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello together,
I have the following code snipped which I used to read out the deviceId. The last line now crashes the runtime. If someone know of a workaround, would be great to have it mentioned here. Thanks!
"@nativescript/ios":
"version": "8.1.0-rc.1",
const systemInfo = new interop.Reference();
uname(systemInfo);
deviceId = NSString.stringWithUTF8String(systemInfo.value.machine).toString();
The text was updated successfully, but these errors were encountered: