summaryrefslogtreecommitdiff
path: root/plugins/android.json
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-10-10 11:28:44 -0400
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-10-10 11:28:44 -0400
commitd0d3aaf7af63afa041e9af145267b0bb04ee729f (patch)
treebe718a451ed33afeead4d87c186fe231fe09a444 /plugins/android.json
parent7b0d282994db52cc4bc6b62b33ce05efbb522fae (diff)
Notifications now have a blop sound, also handling application badges
Diffstat (limited to 'plugins/android.json')
-rw-r--r--plugins/android.json60
1 files changed, 58 insertions, 2 deletions
diff --git a/plugins/android.json b/plugins/android.json
index 869d6005..596baec2 100644
--- a/plugins/android.json
+++ b/plugins/android.json
@@ -79,6 +79,14 @@
{
"xml": "<feature name=\"WebSocket\"><param name=\"android-package\" value=\"com.knowledgecode.cordova.websocket.WebSocket\" /></feature>",
"count": 1
+ },
+ {
+ "xml": "<feature name=\"LocalNotification\"><param name=\"android-package\" value=\"de.appplant.cordova.plugin.localnotification.LocalNotification\" /></feature>",
+ "count": 1
+ },
+ {
+ "xml": "<feature name=\"Badge\"><param name=\"android-package\" value=\"de.appplant.cordova.plugin.badge.Badge\" /></feature>",
+ "count": 1
}
]
}
@@ -103,8 +111,50 @@
"count": 1
}
],
- "/manifest": [],
- "/manifest/application": []
+ "/manifest": [
+ {
+ "xml": "<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\" />",
+ "count": 1
+ },
+ {
+ "xml": "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
+ "count": 1
+ }
+ ],
+ "/manifest/application": [
+ {
+ "xml": "<receiver android:exported=\"false\" android:name=\"de.appplant.cordova.plugin.localnotification.TriggerReceiver\" />",
+ "count": 1
+ },
+ {
+ "xml": "<receiver android:exported=\"false\" android:name=\"de.appplant.cordova.plugin.localnotification.ClearReceiver\" />",
+ "count": 1
+ },
+ {
+ "xml": "<activity android:exported=\"false\" android:launchMode=\"singleInstance\" android:name=\"de.appplant.cordova.plugin.localnotification.ClickActivity\" android:theme=\"@android:style/Theme.NoDisplay\" />",
+ "count": 1
+ },
+ {
+ "xml": "<receiver android:exported=\"false\" android:name=\"de.appplant.cordova.plugin.notification.TriggerReceiver\" />",
+ "count": 1
+ },
+ {
+ "xml": "<receiver android:exported=\"false\" android:name=\"de.appplant.cordova.plugin.notification.ClearReceiver\" />",
+ "count": 1
+ },
+ {
+ "xml": "<receiver android:exported=\"false\" android:name=\"de.appplant.cordova.plugin.localnotification.RestoreReceiver\"><intent-filter><action android:name=\"android.intent.action.BOOT_COMPLETED\" /></intent-filter></receiver>",
+ "count": 1
+ },
+ {
+ "xml": "<activity android:exported=\"false\" android:launchMode=\"singleInstance\" android:name=\"de.appplant.cordova.plugin.notification.ClickActivity\" android:theme=\"@android:style/Theme.NoDisplay\" />",
+ "count": 1
+ },
+ {
+ "xml": "<activity android:exported=\"false\" android:launchMode=\"singleInstance\" android:name=\"de.appplant.cordova.plugin.badge.LaunchActivity\" android:theme=\"@android:style/Theme.Black.NoTitleBar\" />",
+ "count": 1
+ }
+ ]
}
}
}
@@ -163,6 +213,12 @@
},
"cordova-plugin-websocket": {
"PACKAGE_NAME": "com.pliablepixels.zmninja"
+ },
+ "de.appplant.cordova.plugin.local-notification": {
+ "PACKAGE_NAME": "com.pliablepixels.zmninja"
+ },
+ "de.appplant.cordova.plugin.badge": {
+ "PACKAGE_NAME": "com.pliablepixels.zmninja"
}
},
"dependent_plugins": {}