<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Without native code, how to get iOS and Android device id?]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am trying to get device unique id of android and iOS, how to get that without native code?<br />
I used</p>
<pre><code>    qDebug() &lt;&lt; "Machine ID:" &lt;&lt; QSysInfo::machineUniqueId();
</code></pre>
<p dir="auto">I worked well on MacOS with display "Machine ID: "B4AC7FB2-555D-5F77-BA59-D38B28F9821F"" but return "" on mobile devices.<br />
I searched on Internet but it seems must use native code for each mobile os.</p>
]]></description><link>https://forum.qt.io/topic/164968/without-native-code-how-to-get-ios-and-android-device-id</link><generator>RSS for Node</generator><lastBuildDate>Thu, 17 Sep 2026 10:24:03 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164968.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Aug 2026 12:24:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Without native code, how to get iOS and Android device id? on Tue, 04 Aug 2026 18:07:11 GMT]]></title><description><![CDATA[<p dir="auto">Write a small native JNI layer for Android, Objective-C++ for iOS to access Android ID / identifierForVendor, because <code>QSysInfo::machineUniqueId()</code> is not implemented on mobile platforms in Qt</p>
]]></description><link>https://forum.qt.io/post/839527</link><guid isPermaLink="true">https://forum.qt.io/post/839527</guid><dc:creator><![CDATA[Nils Sjoberg]]></dc:creator><pubDate>Tue, 04 Aug 2026 18:07:11 GMT</pubDate></item></channel></rss>