-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align npm package name with plugin ID in plugin.xml #199
Comments
That is suspicious. I'm not sure when this occurred. It'll be hard to change the name on NPM, but it shouldn't be too hard to change the plugin title. Do you foresee any breaking changes if we were to change the id of the plugin in terms of backwards compatibility? cc @amit-bansil |
My concern is that when you install if the plugin id changes you'll end up On Sun, Aug 14, 2016 at 2:57 PM Alex Austin notifications@github.com
|
I've tested several approaches to solving this problem and it looks like there is no way to change the plugin id without ending up with two copies of the plugin installed on update. As such, although I completely understand your concern @jakub-g, at this stage in the game I think we are stuck with the mistake. I'm closing this issue. |
Hello,
FYI, in
plugin.xml
you havehttps://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/blob/master/plugin.xml#L28
whereas the package name of the plugin in npm is
branch-cordova-sdk
This discrepancy is confusing, no other cordova plugin we're using is doing this.
We found this out because we have some tooling put in place that verifies before build if each plugin from app's
package.json
(we use ionic) is installed, and up to date, by checking./plugins/${npm-package-name}/plugin.xml
and/orpackage.json
, but in your case, the folder created inplugins
dir isio.branch.sdk
, notbranch-cordova-sdk
as the npm repo name suggests.The text was updated successfully, but these errors were encountered: