In this docs it says that one should not rely on Constants.manifest.releaseChannel but should use Updates instead.
But what would/could the value of Constants.manifest.releaseChannel be (for first install) if it is not up to date. Would be it be empty?
From the docs >>>
Constants.manifest
does not include update related fields until updated
Given that we no longer publish the app prior to builds, there is no update manifest available until the app has download an update. Usually this means that at least for the first launch of the app you won’t have some fields available. If you are using Constants.manifest
to access update fields, in particular Constants.manifest.releaseChannel
, you should switch to Updates.releaseChannel
instead.