Created
October 18, 2018 12:45
-
-
Save choiks14/55fe0f2568bb6fdf28b8654420d80f13 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.... | |
<permission android:name="appid.permission.C2D_MESSAGE" android:protectionLevel="signature" /> | |
<uses-permission android:name="appid.permission.C2D_MESSAGE" android:protectionLevel="signature"/> | |
<uses-permission android:name="android.permission.VIBRATE" /> | |
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> | |
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/> | |
<application | |
android:name=".application" | |
android:allowBackup="false" | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name" | |
android:largeHeap="true" | |
android:supportsRtl="true" | |
android:theme="@style/AppTheme" | |
tools:replace="android:theme,android:allowBackup" | |
tools:ignore="GoogleAppIndexingWarning" | |
android:launchMode="singleTop"> | |
<!--fcm--> | |
<meta-data | |
android:name="com.google.firebase.messaging.default_notification_icon" | |
android:resource="@mipmap/ic_launcher"/> | |
<meta-data | |
android:name="com.google.firebase.messaging.default_notification_color" | |
android:resource="@color/colorWhite"/> | |
<meta-data | |
android:name="com.google.firebase.messaging.default_notification_channel_id" | |
android:value="channel-name"/> | |
<service | |
android:name=".gcm.MyFcmListenerService"> | |
<intent-filter> | |
<action android:name="com.google.firebase.MESSAGING_EVENT"/> | |
</intent-filter> | |
</service> | |
.... | |
</application | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment