forked from kogateamdev/monaca_push_plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
executable file
·164 lines (158 loc) · 10.5 KB
/
plugin.xml
File metadata and controls
executable file
·164 lines (158 loc) · 10.5 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?xml version="1.0" encoding="UTF-8"?>
<!--
Nifty Cloud Mobile Backend Push Notification Plugin
Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
GooglePlayServices library
Copyright (c) 2013 The Chromium Authors. All rights reserved.
-->
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="plugin.push.nifty"
version="2.0.7">
<name>NiftyMB</name>
<description>Nifty Cloud Mobile Backend Push Notification Plugin</description>
<license>Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/nifty.js" name="NiftyCloud">
<clobbers target="NCMB.monaca" />
<runs/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="NiftyPushPlugin" >
<param name="android-package" value="plugin.push.nifty.NiftyPushPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver
android:name="com.nifty.cloud.mb.core.NCMBGcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
<category android:name="$PACKAGE_NAME"/>
</intent-filter>
</receiver>
<service
android:name="com.nifty.cloud.mb.core.NCMBGcmListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
</intent-filter>
</service>
<meta-data android:name="openPushStartActivity" android:value=".MainActivity"/>
<meta-data android:name="notificationOverlap" android:value="1"/>
</config-file>
<framework src="ncmb.gradle" custom="true" type="gradleReference"/>
<framework src="com.google.android.gms:play-services-gcm:8.1.0" />
<framework src="com.google.code.gson:gson:2.4" />
<lib-file src="src/android/libs/NCMB.jar" />
<source-file src="src/android/NiftyData.java" target-dir="src/plugin/push/nifty/" />
<source-file src="src/android/NiftyPushPlugin.java" target-dir="src/plugin/push/nifty/" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="NiftyPushPlugin">
<param name="ios-package" value="NiftyPushNotification"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<config-file target="*-Debug.plist" parent="aps-environment">
<string>development</string>
</config-file>
<config-file target="*-Release.plist" parent="aps-environment">
<string>production</string>
</config-file>
<header-file src="src/ios/AppDelegate+NiftyCloud.h" />
<source-file src="src/ios/AppDelegate+NiftyCloud.m" />
<header-file src="src/ios/NiftyPushNotification.h" />
<source-file src="src/ios/NiftyPushNotification.m" />
<header-file src="src/ios/NiftyQueue.h" />
<source-file src="src/ios/NiftyQueue.m" />
<header-file src="src/ios/NCMB/NCMB.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMB.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBACL.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBACL.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBAnalytics.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBAnalytics.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBAnonymousUtils.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBAnonymousUtils.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBConstants.h" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBError.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBError.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBFile.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBFile.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBGeoPoint.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBGeoPoint.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBInstallation.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBInstallation.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBObject+Subclass.h" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBObject.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBObject.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBPush.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBPush.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBQuery.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBQuery.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBRelation.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBRelation.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBRole.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBRole.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBSubclassing.h" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBScript.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBScript.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBUser.h" target-dir="NCMB/" />
<source-file src="src/ios/NCMB/NCMBUser.m" target-dir="NCMB/" />
<header-file src="src/ios/NCMB/NCMBReachability/NCMBReachability.h" target-dir="NCMB/NCMBReachability/" />
<source-file src="src/ios/NCMB/NCMBReachability/NCMBReachability.m" target-dir="NCMB/NCMBReachability/" />
<header-file src="src/ios/NCMB/NCMBRichPush/NCMBCloseImageView.h" target-dir="NCMB/NCMBRichPush/" />
<source-file src="src/ios/NCMB/NCMBRichPush/NCMBCloseImageView.m" target-dir="NCMB/NCMBRichPush/" />
<header-file src="src/ios/NCMB/NCMBRichPush/NCMBRichPushView.h" target-dir="NCMB/NCMBRichPush/" />
<source-file src="src/ios/NCMB/NCMBRichPush/NCMBRichPushView.m" target-dir="NCMB/NCMBRichPush/" />
<header-file src="src/ios/NCMB/NCMBRequest/NCMBRequest.h" target-dir="NCMB/NCMBRequest/" />
<source-file src="src/ios/NCMB/NCMBRequest/NCMBRequest.m" target-dir="NCMB/NCMBRequest/" />
<header-file src="src/ios/NCMB/NCMBScriptService/NCMBScriptService.h" target-dir="NCMB/NCMBScriptService/" />
<source-file src="src/ios/NCMB/NCMBScriptService/NCMBScriptService.m" target-dir="NCMB/NCMBScriptService/" />
<header-file src="src/ios/NCMB/NCMBURLConnection/NCMBURLConnection.h" target-dir="NCMB/NCMBURLConnection/" />
<source-file src="src/ios/NCMB/NCMBURLConnection/NCMBURLConnection.m" target-dir="NCMB/NCMBURLConnection/" />
<header-file src="src/ios/NCMB/NSDataBase64Encode/NSDataBase64Encode.h" target-dir="NCMB/NSDataBase64Encode/" />
<source-file src="src/ios/NCMB/NSDataBase64Encode/NSDataBase64Encode.m" target-dir="NCMB/NSDataBase64Encode/" />
<header-file src="src/ios/NCMB/Operations/NCMBAddOperation.h" target-dir="NCMB/Operations/" />
<source-file src="src/ios/NCMB/Operations/NCMBAddOperation.m" target-dir="NCMB/Operations/" />
<header-file src="src/ios/NCMB/Operations/NCMBAddUniqueOperation.h" target-dir="NCMB/Operations/" />
<source-file src="src/ios/NCMB/Operations/NCMBAddUniqueOperation.m" target-dir="NCMB/Operations/" />
<header-file src="src/ios/NCMB/Operations/NCMBDeleteOperation.h" target-dir="NCMB/Operations/" />
<source-file src="src/ios/NCMB/Operations/NCMBDeleteOperation.m" target-dir="NCMB/Operations/" />
<header-file src="src/ios/NCMB/Operations/NCMBIncrementOperation.h" target-dir="NCMB/Operations/" />
<source-file src="src/ios/NCMB/Operations/NCMBIncrementOperation.m" target-dir="NCMB/Operations/" />
<header-file src="src/ios/NCMB/Operations/NCMBRelationOperation.h" target-dir="NCMB/Operations/" />
<source-file src="src/ios/NCMB/Operations/NCMBRelationOperation.m" target-dir="NCMB/Operations/" />
<header-file src="src/ios/NCMB/Operations/NCMBRemoveOperation.h" target-dir="NCMB/Operations/" />
<source-file src="src/ios/NCMB/Operations/NCMBRemoveOperation.m" target-dir="NCMB/Operations/" />
<header-file src="src/ios/NCMB/Operations/NCMBSetOperation.h" target-dir="NCMB/Operations/" />
<source-file src="src/ios/NCMB/Operations/NCMBSetOperation.m" target-dir="NCMB/Operations/" />
<header-file src="src/ios/NCMB/PrivateHeaders/NCMBObject+Private.h" target-dir="NCMB/PrivateHeaders/" />
<header-file src="src/ios/NCMB/PrivateHeaders/NCMBQuery+Private.h" target-dir="NCMB/PrivateHeaders/" />
<header-file src="src/ios/NCMB/PrivateHeaders/NCMBRelation+Private.h" target-dir="NCMB/PrivateHeaders/" />
<header-file src="src/ios/NCMB/PrivateHeaders/NCMBUser+Private.h" target-dir="NCMB/PrivateHeaders/" />
<header-file src="src/ios/NCMB/SubClassHandler/SubClassHandler.h" target-dir="NCMB/SubClassHandler/" />
<source-file src="src/ios/NCMB/SubClassHandler/SubClassHandler.m" target-dir="NCMB/SubClassHandler/" />
<framework src="AudioToolbox.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="CoreLocation.framework" />
</platform>
</plugin>