Document caveats of `OS.get_unique_id()`

(cherry picked from commit 7350f90c57)
This commit is contained in:
Hugo Locurcio 2021-05-09 13:23:53 +02:00 committed by Rémi Verschelde
parent 9f31877e15
commit cb2cb46907
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -530,6 +530,7 @@
</return> </return>
<description> <description>
Returns a string that is unique to the device. Returns a string that is unique to the device.
[b]Note:[/b] This string may change without notice if the user reinstalls/upgrades their operating system or changes their hardware. This means it should generally not be used to encrypt persistent data as the data saved prior to an unexpected ID change would become inaccessible. The returned string may also be falsified using external programs, so do not rely on the string returned by [method get_unique_id] for security purposes.
[b]Note:[/b] Returns an empty string on HTML5 and UWP, as this method isn't implemented on those platforms yet. [b]Note:[/b] Returns an empty string on HTML5 and UWP, as this method isn't implemented on those platforms yet.
</description> </description>
</method> </method>