This is a migrated thread and some comments may be shown as answers.

How to remove Cordova plugins in plugins directory

1 Answer 95 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Idan
Top achievements
Rank 1
Idan asked on 18 Mar 2014, 03:53 PM
I have a cordova.android.js and cordova.ios.js (under cordova.js) in my plugins directory. I have no idea how it got there, probably due to a specific custom plugin installation.

I want to remove it by using right click and delete, but I don't have this option available -- only 'open' and 'version control'. How can I remove those two files, as I already have both files in the root of the project. Thanks.

1 Answer, 1 is accepted

Sort by
0
Iva Koevska
Telerik team
answered on 19 Mar 2014, 10:37 AM
Hi Idan,

Since cordova.android.js and cordova.ios.js are read-only in AppBuilder, you can only remove these files using one of these workarounds.
  • Via GitHub: this will preserve your project settings and will contain your work within your project.
    1. Configure a remote repository for the project and push it there. (Version Control -> Configure Remote Repository)
    2. Locally, clone the repo and in a file explorer, remove the unneeded files.
    3. Push the local copy.
    4. In the Windows client, pull changes from the remote repository and continue your work.
    5. If needed, disconnect from the remote repository. (Version Control -> Configure Remote Repository)
  • Via export/import: this will not preserve project settings and requires you to create a new project.
    1. From the dashboard, click the Export icon for your project.
    2. Edit the archive to remove unnecessary files (depending on your available tools, you might need to recreate the archive).
    3. In the dashboard, create a new project.
    4. In the Project Navigator, right-click the project node (the first one nested under Workspace) and select Add -> From archive.
    5. Navigate to the archive, select it, and click Open.
    6. Confirm the operation.
    7. Continue your work in this new project.
  • Via copy/paste.
    1. In the Project Navigator, select all folders and files that you want to keep and press Ctrl+C.
    2. Return to the dashboard and create a new project.
    3. In the Project Navigator, select the project node and press Ctrl+V.
    4. Confirm the operation, if prompted, and continue your work in this new project.

Regards,
Iva Koevska
Telerik
 
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!
Tags
AppBuilder Windows client
Asked by
Idan
Top achievements
Rank 1
Answers by
Iva Koevska
Telerik team
Share this question
or