j3k0 / cordova-plugin-openwith

Get your Cordova App in the O.S. "Share" menu on iOS and Android
MIT License
138 stars 114 forks source link

Can't uninstall plugin #89

Open dmitry-salnikov opened 4 years ago

dmitry-salnikov commented 4 years ago

When trying to uninstall plugin I see Variable(s) missing: error. I've tried to specify exactly the same variables which were used on install, but it didn't help. Please check out terminal output:

$ cordova plugin add cc.fovea.cordova.openwith \
  --variable IOS_URL_SCHEME="thescheme" \
  --variable ANDROID_MIME_TYPE="image/*" \
  --variable IOS_UNIFORM_TYPE_IDENTIFIER="public.content"
Installing "cc.fovea.cordova.openwith" for android
Installing "cc.fovea.cordova.openwith" for ios
Installing "cc.fovea.cordova.openwith" dependencies
Copying "cc.fovea.cordova.openwith/ShareExtension" to ios...
Adding cc.fovea.cordova.openwith to package.json
Adding target "cc.fovea.cordova.openwith/ShareExtension" to XCode project
  - Folder containing your iOS project: /Users/mitusha/myproject/platforms/ios/
    Parsing existing project at location: /Users/mitusha/myproject/platforms/ios/MyProject.xcodeproj/project.pbxproj...
    ShareExtension group already exists.
Adding team null and provisoning profile null
Added ShareExtension to XCode project
Update IOS build setting LD_RUNPATH_SEARCH_PATHS to: @executable_path/Frameworks for build configuration Debug
Update IOS build setting LD_RUNPATH_SEARCH_PATHS to: @executable_path/Frameworks for build configuration Release
$ cordova plugin rm cc.fovea.cordova.openwith
Variable(s) missing: ANDROID_MIME_TYPE
$ cordova plugin rm cc.fovea.cordova.openwith \
  --variable IOS_URL_SCHEME="thescheme" \
  --variable ANDROID_MIME_TYPE="image/*" \
  --variable IOS_UNIFORM_TYPE_IDENTIFIER="public.content"
Uninstalling cc.fovea.cordova.openwith from android
Variable(s) missing: IOS_URL_SCHEME, IOS_UNIFORM_TYPE_IDENTIFIER

Could you please take a look?

MrXyfir commented 4 years ago

Ever figure it out?

josiahbryan commented 4 years ago

Can't uninstall either, had to manually remove it. ... :(

mbohlaender commented 4 years ago

Still nothing new about it?

MrXyfir commented 4 years ago

@mbohlaender You'll have to do it manually if I remember correctly.

luizAlbuquerqueJr commented 3 years ago

cordova plugin remove cc.fovea.cordova.openwith --variable ANDROID_MIME_TYPE="image/*"