Open srinich-dev opened 11 months ago
cordova plugin add @havesource/cordova-plugin-push
above command failed with below error for iOS platform
Cannot find plugin.xml for plugin "cordova-plugin-push". Please try adding it again.
Should be able to add plugin
Not able to add plugin
Try adding plugin is failing
cordova platform version ios
Installed platforms: ios 7.0.1
cordova info
Node version: v18.15.0
Cordova version: 8.1.1
Config.xml file:
<?xml version='1.0' encoding='utf-8'?>
Plugins:
@havesource,cordova-plugin-add-swift-support,cordova-plugin-androidx-adapter,cordova-plugin-app-version,cordova-plugin-console,cordova-plugin-device,cordova-plugin-dialogs,cordova-plugin-file,cordova-plugin-file-opener2,cordova-plugin-inappbrowser,cordova-plugin-media-capture,cordova-plugin-network-information,cordova-plugin-ns0m-file-transfer,cordova-plugin-safariviewcontroller,cordova-plugin-statusbar
iOS platform:
Xcode 13.4.1 Build version 13F100
I ran into this issue as well. The problem was in cordova-cli version - the plugin needs at least version 10. You have 8.11.
Nope. Same problem on 12.0.0 (cordova-lib@12.0.1)
Bug Report
cordova plugin add @havesource/cordova-plugin-push
above command failed with below error for iOS platform
Cannot find plugin.xml for plugin "cordova-plugin-push". Please try adding it again.
Expected Behaviour
Should be able to add plugin
Actual Behaviour
Not able to add plugin
Reproduce Scenario (including but not limited to)
Try adding plugin is failing
Steps to Reproduce
cordova plugin add @havesource/cordova-plugin-push
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
cordova platform version ios
Installed platforms: ios 7.0.1
(Android) Device Vendor (e.g. Samsung, HTC, Sony...)
cordova info
PrintoutNode version: v18.15.0
Cordova version: 8.1.1
Config.xml file:
<?xml version='1.0' encoding='utf-8'?>
Plugins:
@havesource,cordova-plugin-add-swift-support,cordova-plugin-androidx-adapter,cordova-plugin-app-version,cordova-plugin-console,cordova-plugin-device,cordova-plugin-dialogs,cordova-plugin-file,cordova-plugin-file-opener2,cordova-plugin-inappbrowser,cordova-plugin-media-capture,cordova-plugin-network-information,cordova-plugin-ns0m-file-transfer,cordova-plugin-safariviewcontroller,cordova-plugin-statusbar
iOS platform:
Xcode 13.4.1 Build version 13F100
Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem
Cannot find plugin.xml for plugin "cordova-plugin-push". Please try adding it again.