getVersion

open suspend override fun getVersion(): String?(source)

Returns the version name, or version code when unnamed; null when not installed. Unexpected platform failures are thrown to the caller.