Skip to content

Instantly share code, notes, and snippets.

@kundansviet
Created January 26, 2017 16:22
Show Gist options
  • Save kundansviet/690cc28b2785180c7e5bf8ab80cf7e2e to your computer and use it in GitHub Desktop.
Save kundansviet/690cc28b2785180c7e5bf8ab80cf7e2e to your computer and use it in GitHub Desktop.
manifes file for firebase cloud messaging
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cb.androidwarriorfcmdemo" >
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme" >
<activity android:name=".MainActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name=".MyInstanceIdService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
<service android:name=".MyMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment