Created
December 7, 2015 21:25
-
-
Save niraj-shah/ecd17c573e31876df107 to your computer and use it in GitHub Desktop.
Complete AndroidManifest file for Parse Push Notification Customisation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<manifest android:hardwareAccelerated="true" android:versionCode="4" android:versionName="1.0" package="com.webniraj.cordova" xmlns:android="http://schemas.android.com/apk/res/android"> | |
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /> | |
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | |
<application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:name="com.webniraj.cordova.App" android:supportsRtl="true"> | |
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.Black.NoTitleBar" android:windowSoftInputMode="adjustResize"> | |
<intent-filter android:label="@string/launcher_name"> | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
</activity> | |
<service android:name="com.parse.PushService" /> | |
<receiver android:name="com.parse.ParseBroadcastReceiver"> | |
<intent-filter> | |
<action android:name="android.intent.action.BOOT_COMPLETED" /> | |
<action android:name="android.intent.action.USER_PRESENT" /> | |
</intent-filter> | |
</receiver> | |
<receiver android:exported="false" android:name="org.apache.cordova.core.ParsePluginReceiver"> | |
<intent-filter> | |
<action android:name="com.parse.push.intent.RECEIVE" /> | |
<action android:name="com.parse.push.intent.DELETE" /> | |
<action android:name="com.parse.push.intent.OPEN" /> | |
</intent-filter> | |
</receiver> | |
<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="com.webniraj.cordova" /> | |
</intent-filter> | |
</receiver> | |
<!-- Parse Push Notification Customisation --> | |
<meta-data android:name="com.parse.push.notification_icon" android:resource="@drawable/push_icon" /> | |
</application> | |
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
<uses-permission android:name="android.permission.WAKE_LOCK" /> | |
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | |
<uses-permission android:name="android.permission.VIBRATE" /> | |
<uses-permission android:name="android.permission.GET_ACCOUNTS" /> | |
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> | |
<permission android:name="com.webniraj.cordova.permission.C2D_MESSAGE" android:protectionLevel="signature" /> | |
<uses-permission android:name="com.webniraj.cordova.permission.C2D_MESSAGE" /> | |
</manifest> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment