Before the release of app v9.0.0, ok pkg update transforms the app var file. This will make ok pkg install fail as the current latest app template does not support for instance ApexDomain.
This means we need to check whether the app template supports ApexDomain, which means we need to check its version. This version check is added in the AddApexDomainSupport function.
This PR also switches from using the schema config for determining package version. This is not reliable. A more robust way is simply using the package manifest.
Description
Before the release of app v9.0.0,
ok pkg update
transforms the app var file. This will makeok pkg install
fail as the current latest app template does not support for instanceApexDomain
.This means we need to check whether the app template supports
ApexDomain
, which means we need to check its version. This version check is added in the AddApexDomainSupport function.This PR also switches from using the schema config for determining package version. This is not reliable. A more robust way is simply using the package manifest.
Motivation