Problem with cordova phonegap-push plugin installation


#1

HI All,
When I install phonegap-push-plugin , i get this following message and after installing it… i cannot build my app on android ionic1

cordova plugin add phonegap-plugin-push --variable SENDER_ID=xxxxxxxxx
Unmet project requirements for latest version of phonegap-plugin-push:
cordova-android (5.2.2 in project, >=6.0.0 required)
Fetching highest version of phonegap-plugin-push that this project supports: 1.8.4 (latest is 1.9.0)
Fetching plugin “phonegap-plugin-push@1.8.4” via npm
Installing “phonegap-plugin-push” for android


#2

The same for me :frowning:

$ cordova --version
6.4.0

And it fails with :

$ ionic plugin add phonegap-plugin-push                        
Unmet project requirements for latest version of phonegap-plugin-push:

    cordova-ios (4.1.1 in project, >=4.3.0 required)
    cordova-android (5.2.2 in project, >=6.0.0 required)
Fetching highest version of phonegap-plugin-push that this project supports: 1.8.4 (latest is 1.9.0)

Installing "phonegap-plugin-push" for android

Plugin doesn't support this project's cordova-android version. cordova-android: 5.2.2, failed version requirement: >=6.0.0

Skipping 'phonegap-plugin-push' for android


Installing "phonegap-plugin-push" for ios

Plugin doesn't support this project's cordova-ios version. cordova-ios: 4.1.1, failed version requirement: >=4.3.0

Skipping 'phonegap-plugin-push' for ios 

Any idea ?


#3

I did this :

cordova platform update android@6.0.0
cordova platform update ios@4.3.0

But i don’t know what side effect would append.


#4

Any updates ??
I am also stuck with this problem.
I have android 4.4.1 in my project


#5

Try this:

cordova platform update android@6.1.0

I’m using the same push plugin with my RSS Reader app and it’s working perfectly fine.