forked from tioSupport/cordova-plugin-azure-notificationhub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
77 lines (61 loc) · 3.13 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="msopentech.azure.NotificationHub" version="0.0.1">
<name>Azure Notification Hub</name>
<description>Cordova Azure Notification Hub Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova, azure, push, notifications, hub</keywords>
<repo>https://github.com/sgrebnov/cordova-plugin-azure-notificationhub</repo>
<issue>https://github.com/sgrebnov/cordova-plugin-azure-notificationhub/issues</issue>
<js-module src="www/Promise.js" name="Promise"/>
<js-module src="www/NotificationHub.js" name="NotificationHub">
<!--<clobbers target="WindowsAzure.Messaging.NotificationHub" />-->
<!--Azure Mobile Services override-->
<clobbers target="WindowsAzureHub.NotificationHub" />
</js-module>
<!-- Windows Phone -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="NotificationHub">
<param name="wp-package" value="NotificationHub"/>
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
</config-file>
<framework src="src/wp/Microsoft.WindowsAzure.Messaging.dll" custom="true"/>
<source-file src="src/wp/NotificationHub.cs" />
</platform>
<!-- windows8 -->
<platform name="windows8">
<framework src="src/windows8/Microsoft.WindowsAzure.Messaging.Managed.dll" custom="true"/>
<framework src="src/windows8/NotificationHubRuntimeProxy.winmd" custom="true"/>
<js-module src="src/windows8/NotificationHubProxy.js" name="NotificationHubProxy" >
<clobbers target="" />
</js-module>
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="NotificationHub">
<param name="android-package" value="msopentech.azure.NotificationHub" />
</feature>
</config-file>
<framework src="com.android.support:support-v13:23+" />
<framework src="com.google.android.gms:play-services-gcm:+" />
<source-file src="src/android/NotificationHub.java" target-dir="src/msopentech/azure" />
<lib-file src="src/android/notification-hubs-android-sdk-0.4.jar" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="NotificationHub">
<param name="ios-package" value="NotificationHub" />
</feature>
</config-file>
<header-file src="src/ios/NotificationHub.h" />
<source-file src="src/ios/NotificationHub.m" />
<header-file src="src/ios/AppDelegate+AzureNotifications.h" />
<source-file src="src/ios/AppDelegate+AzureNotifications.m" />
<framework src="src/ios/WindowsAzureMessaging.framework" custom="true" />
</platform>
</plugin>