Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Issue #2051: Plugin not working on android 4.4 but working in 5,6 and 7
Browse files Browse the repository at this point in the history
⬆️ Bump dependency for cordova-android to 7.1.0 which forces the use of version 3.0.1 gradle tools.
  • Loading branch information
macdonst committed Feb 27, 2018
1 parent 69e86d9 commit 6888467
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@
},
"cordova": {
"id": "phonegap-plugin-push",
"platforms": [
"ios",
"android",
"windows",
"browser"
]
"platforms": ["ios", "android", "windows", "browser"]
},
"keywords": [
"ecosystem:cordova",
Expand Down Expand Up @@ -52,10 +47,15 @@
"cordova-android": ">=6.3.0",
"cordova": ">=7.1.0"
},
"2.1.2": {
"<2.2.0": {
"cordova-ios": ">=4.5.0",
"cordova-android": ">=6.3.0",
"cordova": ">=7.1.0"
},
"2.2.0": {
"cordova-ios": ">=4.5.0",
"cordova-android": ">=7.1.0",
"cordova": ">=7.1.0"
}
}
},
Expand Down
8 changes: 6 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:amazon="http://schemas.android.com/apk/lib/com.amazon.device.ads" xmlns:rim="http://www.blackberry.com/ns/widgets" id="phonegap-plugin-push" version="2.1.3">
<plugin
xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:amazon="http://schemas.android.com/apk/lib/com.amazon.device.ads"
xmlns:rim="http://www.blackberry.com/ns/widgets" id="phonegap-plugin-push" version="2.1.3">
<name>PushPlugin</name>
<description> This plugin allows your application to receive push notifications on Android, iOS and Windows devices. Android uses Firebase Cloud Messaging. iOS uses Apple APNS Notifications. Windows uses Microsoft WNS Notifications. </description>
<license>MIT</license>
Expand All @@ -8,7 +12,7 @@
</js-module>
<engines>
<engine name="cordova" version=">=7.1.0"/>
<engine name="cordova-android" version=">=6.3.0"/>
<engine name="cordova-android" version=">=7.1.0"/>
<engine name="cordova-ios" version=">=4.5.0"/>
</engines>
<platform name="android">
Expand Down

0 comments on commit 6888467

Please sign in to comment.