Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <service
- android:name="com.yourapp.YourPushService"
- android:stopWithTask="false" />
- {
- "to": "/topics/your_topic_here",
- "data": {
- "text":"text",
- "text1":"text1",
- ...
- }
- }
- <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/colorPrimary" />
- "data" {
- "title": "welcome",
- "description" :"to your app" ,
- "image" :"image_url",
- "deeplink" :"deeplink",
- - -
- }
- "notification" {
- "title":"title",
- "description" : "description",
- "click_action" :"activity to be open"
- ..
- }
- W/GCM-DMM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=com.cabipool (has extras) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement