New answers tagged

3 votes

Get currently installed package version from Apex Class

Because System.requestVersion (see @sfdcfox's answer) throws an uncatchable exception on a scratch org for package development, you cannot use this code on that scratch org and any unit tests covering ...
user avatar
  • 27.3k
0 votes

InstallContext isPush method cause Install Package Failed

We contract Salesforce Support, this is a Salesforce issue, and they fixed it now.
user avatar

Top 50 recent answers are included