Skip to content
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

cordova plugin remove command still gives variable missing for variables already specified #578

Open
3 tasks done
premedios-i9 opened this issue Apr 11, 2022 · 4 comments

Comments

@premedios-i9
Copy link

Bug Report

Problem

cordova plugin rm gives variables missing error for variables already specified in command.

What is expected to happen?

It should not give the error because I have specified all required variables.

What does actually happen?

It gives a variables missing error for variables that are already specified in the command line.

Information

Command or Code

cordova plugin rm cordova-plugin-teladoc --variable CALENDARS_USAGE_DESCRIPTION="description" --variable CAMERA_USAGE_DESCRIPTION="description" --variable LOCATION_ALWAYS_AND_WHEN_IN_USE_DESCRIPTION="description" --variable LOCATION_ALWAYS_USAGE_DESCRIPTION="description" --variable LOCATION_WHEN_IN_USE_DESCRIPTION="description" --variable MICROPHONE_USAGE_DESCRIPTION="description" --variable PHOTO_LIBRARY_USAGE_DESCRIPTION="description"

Environment, Platform, Device

macOS 12.3.1 Monterey

Version information

Cordova 11, cordova-ios 6.2.0

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@erisu
Copy link
Member

erisu commented Apr 11, 2022

I will be closing out this issue because it is a duplicate of #446.

@erisu erisu closed this as completed Apr 11, 2022
@erisu
Copy link
Member

erisu commented Apr 11, 2022

I will re-opening the issue again. At first glance, it looked like a duplicate of the other ticket. Further checking, your ticket says all variables were provided and the uninstalling still failed. The other ticket is more around the process, where the ticket author believes the variables should not be required as part of the uninstalling command.

@erisu erisu reopened this Apr 11, 2022
@erisu
Copy link
Member

erisu commented Apr 11, 2022

Can you provide steps to reproduce this issue?

It appears the plugin is not in the npm registry and can not be installed.

If you can provide the same issue with a publicly available plugin, that will help us better trace the bug.

@JackRo
Copy link

JackRo commented Apr 11, 2022

@erisu The same issue to me.

I create a plugin, the plugin.xml has 3 preference variables that required when install this plugin. like below:

<platform name="android">
    <preference name="A_B_C"/>
</platform>
<platform name="ios">
    <preference name="D_E_F"/>
     <preference name="L_M_N"/>
</platform>

my environment like below:

macOS 12.3.1 Monterey

cordova-cli 9.0.0

i have added [email protected] and [email protected] in my Cordova App project

when install this plugin, i provide 3 variables, it success. But when remove this plugin, i provide 3 same variables, it failed, and show me same issue like below:

Variable(s) missing: D_E_F, L_M_N

I try upgrade cordova-cli to 11.0.0, but it still show me same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants