Can't remove a plugin

  • 2
  • Problem
  • Updated 5 years ago
  • In Progress
I faced a problem while testing my custom phonegap plugin.

I wanted to re-upload the 0.0.5 version, so I removed it and tried to re-submit plugin again.

But it keeps telling me that plugin with such ID and version already exists.

Then I wanted to remove all versions, to start with a clean slate, but now it can't remove the version 0.0.2 (I tried to delete it about 20 times already).

Btw, in the top right corner there is a selector of plugin versions. All previously submitted (and some of them removed) versions still present in this selector. So when I am selecting version 0.0.5 (or any one != 0.0.2) - it says "Plugin not found".

Maybe I am doing something wrong, please tell me if it is the case.

Kind regards,
Igor
Photo of ideinko

ideinko

  • 2 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 2
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hi Ideinko

I assume it is hosted at https://build.phonegap.com/plugins. Please let us know your plugin id (e.g. com.phonegap.plugin) and URL.

Thanks.
(Edited)
Photo of ideinko

ideinko

  • 2 Posts
  • 0 Reply Likes
Hi Amir,

No, this plugin is private and I see it under https://build.phonegap.com/plugins/your

It has id "com.itad.phonegap.plugins.barcodescanner" and I see it right now under https://build.phonegap.com/plugins/2938

I hope this info is sufficient.

Kind regards.
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hi Igor

I'm not able to delete the plugin as well. Let me get someone from engineer to look into this.

Thanks and sorry for all the trouble.
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
Hey guys, this is a bug of sorts -- we'll look into it. However in the meantime is there any reason why you wouldn't just increment the version (i.e. 0.0.6) and resubmit?
Photo of Kent Willis

Kent Willis

  • 7 Posts
  • 0 Reply Likes
I'm trying to delete a set of private plugins to "release" the namespace. After I click delete, it takes me to the plugins page with a message that says the plugin was deleted. But, when I go back to my private plugin, it's still there. This has happened to some but not all of the private plugins I'm trying to delete. I even removed all the apps that referenced these plugins thinking there was a dependency issue. But even after that, I still have these private plugins.
Photo of Kent Willis

Kent Willis

  • 7 Posts
  • 0 Reply Likes
Ah, I found the reason:

The delete button says "Delete Plugin" but that's not what it does. It deletes the selected VERSION of the plugin. You have to select each version of the plugin and delete each one. After every version is deleted, the plugin will finally show up as deleted.
Photo of Kent Willis

Kent Willis

  • 7 Posts
  • 0 Reply Likes
And even after all the versions are deleted, only the "id" is released. All previously created versions are still reserved. Someone trying to use a released namespace/id will not be able to re-use version numbers even though those versions can not be found by the new plugin writer.