If I have a Managed Package with Namespace ns2, with package components that depend on / extend components in ns1, then ns1 must first be installed in an org before ns2 can be installed - as ns2 has become an "extension" package of the ns1 "base" package.
So my question is: if I remove the components in ns2 that depend on ns1, and then push out a new version of ns2, will the new version of ns2 still require ns1 to be installed? I believe that the answer is YES, but I have not actually tried it before. Has anyone ever tried this?
Example scenario:
ns1has aglobal virtualApex Class calledBaseControllerns2has apublicclass calledNS2ControllerImplwhich extendsns1.BaseController- Since the
ns2class is public, I can change the class signature so that it no longer extendsns1.BaseController - Assuming that this is the only remaining reference in
ns2tons1, if I push out a new version ofns2, will I be able to installns2into an org without havingns1installed in that org?