function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abhishek Sharma 36Abhishek Sharma 36 

Package Uninstallation is deleting the Standard Service Console (Lightning) App.

Hi Team,

We own a second generation package and have install it in various org without any issue. Our package contains Standard Service Console app (standard__serviceconsole).
The use case to have this in our package is that we just update this standard service console app when package gets installed in the org and the prerequisite is that this standard app should be present in the target org, which is already happening since this app is provided by salesforce service cloud by default.
 
However, we found that when we uninstall the package, the Standard Service Console app (standard__serviceconsole) which is  a salesforce service cloud product gets deleted from the org due to which we are not able to reinstall the package again.

This is a salesforce bug. Since, uninstalling the package should only delete the components that the package owns and not salesforce standard serivce console app.
Abhishek Sharma 36Abhishek Sharma 36
Any help would be really appreciated if anybody was able to sort this out.