1

I am trying to remove this "background audio" cordova/phonegap plugin from my project by using the below command, but it is failing for some reason.

$ sudo phonegap plugin remove "nl.x-services.plugins.backgroundaudio"

Uninstalling nl.x-services.plugins.backgroundaudio from ios

Error: Cannot read property 'buffer' of undefined

I am using Phonegap CLI 6.0.1 (cordova build version 4.0.1) testing on iOS8/9. Please let me know if i am missing something.

DevD
  • 1,201
  • 2
  • 12
  • 20
  • I tried this command and works like a charm in corodva - "cordova plugin rm nl.x-services.plugins.backgroundaudio" could you try removing double quote and check once? – Gandhi May 21 '16 at 05:55
  • @Gandhi Thanks for the response, I tried without quotes `phonegap plugin remove nl.x-services.plugins.backgroundaudio` but it does not work. For the above command it says `cordova: command not found`. – DevD May 21 '16 at 06:00
  • I tried out using Cordova CLI 6.1.1 in windows. Could you check out phonegap equivalent command for the same? In worst case, you can remove the plugin folder manually by deleting it and removing its corresponding entry from fetch.json inside plugins folder. You may also have to remove and re- add your platform once – Gandhi May 21 '16 at 07:45
  • @Gandhi No same issue :( I will try rebuilding the platform. Thanks again. – DevD May 21 '16 at 07:49

0 Answers0