1) Is there a way to add or modify custom plugin repository url programmatically?
2) Can a plugin be uninstalled programmatically?
I have a requirement to uninstall my older plugin(A) and install my newer plugin(B). Both plugins have different plugin id.
I came across PluginReplacement extension point. The problem is I haven't defined the plugin replacement extension in my older plugin(A). Even if I release one more version of plugin (A) with PluginReplacement. The user might not be on the latest version.