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

Commit

Permalink
πŸ›πŸ§ Issue #1718: cordova run android not working
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Oct 17, 2017
1 parent cef862b commit 468f600
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 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 @@ -46,6 +41,11 @@
"cordova-ios": ">=4.4.0",
"cordova-android": ">=6.2.1",
"cordova": ">=7.0.0"
},
"2.1.0": {
"cordova-ios": ">=4.4.0",
"cordova-android": ">=6.3.0",
"cordova": ">=7.1.0"
}
}
},
Expand All @@ -59,7 +59,7 @@
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
"test": "npm run build && npm run jasmine"
},
"pre-commit": [ "precommit-msg", "eslint", "test" ],
"pre-commit": ["precommit-msg", "eslint", "test"],
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
Expand Down
20 changes: 10 additions & 10 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
<?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.0.0">
<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.0.0">
<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>
<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>
<js-module src="www/push.js" name="PushNotification">
<clobbers target="PushNotification"/>
</js-module>
<engines>
<engine name="cordova" version=">=7.0.0"/>
<engine name="cordova-android" version=">=6.2.1"/>
<engine name="cordova" version=">=7.1.0"/>
<engine name="cordova-android" version=">=6.3.0"/>
<engine name="cordova-ios" version=">=4.4.0"/>
</engines>
<platform name="android">
Expand Down Expand Up @@ -45,7 +44,8 @@
</config-file>
<framework src="com.android.support:support-v13:26.0.2"/>
<framework src="me.leolin:ShortcutBadger:1.1.17@aar"/>
<framework src="com.google.firebase:firebase-messaging:11.0.1"/>
<preference name="FCM_VERSION" default="11.0.1" />
<framework src="com.google.firebase:firebase-messaging:$FCM_VERSION"/>
<framework src="push.gradle" custom="true" type="gradleReference"/>
<source-file src="src/android/com/adobe/phonegap/push/FCMService.java" target-dir="src/com/adobe/phonegap/push/"/>
<source-file src="src/android/com/adobe/phonegap/push/PushConstants.java" target-dir="src/com/adobe/phonegap/push/"/>
Expand Down

0 comments on commit 468f600

Please sign in to comment.