summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/android/android.json
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/android/android.json')
-rwxr-xr-xStoneIsland/platforms/android/android.json79
1 files changed, 73 insertions, 6 deletions
diff --git a/StoneIsland/platforms/android/android.json b/StoneIsland/platforms/android/android.json
index 587c7239..d345c65d 100755
--- a/StoneIsland/platforms/android/android.json
+++ b/StoneIsland/platforms/android/android.json
@@ -51,6 +51,10 @@
{
"xml": "<feature name=\"Keyboard\"><param name=\"android-package\" value=\"io.ionic.keyboard.IonicKeyboard\" /><param name=\"onload\" value=\"true\" /></feature>",
"count": 1
+ },
+ {
+ "xml": "<feature name=\"PushNotification\"><param name=\"android-package\" value=\"com.adobe.phonegap.push.PushPlugin\" /></feature>",
+ "count": 1
}
]
}
@@ -73,20 +77,44 @@
{
"xml": "<receiver android:name=\"com.parse.GcmBroadcastReceiver\" android:permission=\"com.google.android.c2dm.permission.SEND\"><intent-filter><action android:name=\"com.google.android.c2dm.intent.RECEIVE\" /><action android:name=\"com.google.android.c2dm.intent.REGISTRATION\" /><category android:name=\"us.okfoc.stoneisland\" /></intent-filter></receiver>",
"count": 1
+ },
+ {
+ "xml": "<activity android:exported=\"true\" android:name=\"com.adobe.phonegap.push.PushHandlerActivity\" android:permission=\"${applicationId}.permission.PushHandlerActivity\" />",
+ "count": 1
+ },
+ {
+ "xml": "<receiver android:name=\"com.adobe.phonegap.push.BackgroundActionButtonHandler\" />",
+ "count": 1
+ },
+ {
+ "xml": "<receiver android:exported=\"true\" android:name=\"com.google.android.gms.gcm.GcmReceiver\" android:permission=\"com.google.android.c2dm.permission.SEND\"><intent-filter><action android:name=\"com.google.android.c2dm.intent.RECEIVE\" /><category android:name=\"${applicationId}\" /></intent-filter></receiver>",
+ "count": 1
+ },
+ {
+ "xml": "<service android:exported=\"false\" android:name=\"com.adobe.phonegap.push.GCMIntentService\"><intent-filter><action android:name=\"com.google.android.c2dm.intent.RECEIVE\" /></intent-filter></service>",
+ "count": 1
+ },
+ {
+ "xml": "<service android:exported=\"false\" android:name=\"com.adobe.phonegap.push.PushInstanceIDListenerService\"><intent-filter><action android:name=\"com.google.android.gms.iid.InstanceID\" /></intent-filter></service>",
+ "count": 1
+ },
+ {
+ "xml": "<service android:exported=\"false\" android:name=\"com.adobe.phonegap.push.RegistrationIntentService\" />",
+ "count": 1
}
],
"/manifest": [
{
"xml": "<uses-permission android:name=\"android.permission.INTERNET\" />",
- "count": 1
+ "count": 2
},
{
"xml": "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />",
- "count": 1
+ "count": 2
},
{
"xml": "<uses-permission android:name=\"android.permission.WAKE_LOCK\" />",
- "count": 1
+ "count": 2
},
{
"xml": "<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\" />",
@@ -94,7 +122,7 @@
},
{
"xml": "<uses-permission android:name=\"android.permission.VIBRATE\" />",
- "count": 1
+ "count": 2
},
{
"xml": "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\" />",
@@ -102,7 +130,7 @@
},
{
"xml": "<uses-permission android:name=\"com.google.android.c2dm.permission.RECEIVE\" />",
- "count": 1
+ "count": 2
},
{
"xml": "<permission android:name=\"us.okfoc.stoneisland.permission.C2D_MESSAGE\" android:protectionLevel=\"signature\" />",
@@ -111,6 +139,22 @@
{
"xml": "<uses-permission android:name=\"us.okfoc.stoneisland.permission.C2D_MESSAGE\" />",
"count": 1
+ },
+ {
+ "xml": "<uses-permission android:name=\"${applicationId}.permission.C2D_MESSAGE\" />",
+ "count": 1
+ },
+ {
+ "xml": "<uses-permission android:name=\"${applicationId}.permission.PushHandlerActivity\" />",
+ "count": 1
+ },
+ {
+ "xml": "<permission android:name=\"${applicationId}.permission.C2D_MESSAGE\" android:protectionLevel=\"signature\" />",
+ "count": 1
+ },
+ {
+ "xml": "<permission android:name=\"${applicationId}.permission.PushHandlerActivity\" android:protectionLevel=\"signature\" />",
+ "count": 1
}
],
"/*/application/activity": [],
@@ -161,6 +205,16 @@
}
]
}
+ },
+ "res/values/strings.xml": {
+ "parents": {
+ "/resources": [
+ {
+ "xml": "<string name=\"google_app_id\">XXXXXXX</string>",
+ "count": 1
+ }
+ ]
+ }
}
}
},
@@ -209,6 +263,10 @@
},
"ionic-plugin-keyboard": {
"PACKAGE_NAME": "us.okfoc.stoneisland"
+ },
+ "phonegap-plugin-push": {
+ "SENDER_ID": "XXXXXXX",
+ "PACKAGE_NAME": "us.okfoc.stoneisland"
}
},
"dependent_plugins": {},
@@ -317,6 +375,14 @@
"cordova.plugins.Keyboard"
],
"runs": true
+ },
+ {
+ "id": "phonegap-plugin-push.PushNotification",
+ "file": "plugins/phonegap-plugin-push/www/push.js",
+ "pluginId": "phonegap-plugin-push",
+ "clobbers": [
+ "PushNotification"
+ ]
}
],
"plugin_metadata": {
@@ -332,6 +398,7 @@
"cordova-plugin-splashscreen": "4.0.0",
"cordova-plugin-compat": "1.1.0",
"cordova-plugin-geolocation": "2.4.0",
- "ionic-plugin-keyboard": "2.2.1"
+ "ionic-plugin-keyboard": "2.2.1",
+ "phonegap-plugin-push": "1.9.2"
}
} \ No newline at end of file