Closed mjaggard closed 3 weeks ago
That's because Version
is a constant on Android:
But it's also a property Version
which works for both Android & iOS.
EDIT: Improved correctness
But the documentation doesn't say that. It has Version
listed as a property in both places.
@cortinico
But the documentation doesn't say that. It has
Version
listed as a property in both places.
Sorry I wasn't 100% exact. There is a Version
property that works for both Android & iOS.
Moreover, inside the constant
property, you can access the Version
property that is Android only.
The documentation is correct as it is:
Oh I see. That's very confusing but I understand now. Thanks.
Description
The docs show a table of properties where
Version
is listed asAndroid only
and then further down the page the same property is listed as anumber
on Android and astring
on iOS.Documentation version
next