Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Image Push With Text
- {
- "GCM": {
- "data": {
- "message" : {
- "notification_type": "notification",
- "category": "promotion",
- "content_title": "This is content title",
- "content_text": "This is context text",
- "content_sub_text": "This is content sub text",
- "image_url": "https://bsftassets.s3.amazonaws.com/pictures/2906/content/funfussion_push.jpg",
- "big_content_title": "This is big content title",
- "big_content_summary_text": "Big content summary text",
- "deep_link_url": "hopscotch://department?id=baby"
- }
- }
- }
- }
- Carousel Image Push
- {
- "GCM": {
- "data": {
- "message": {
- "notification_type": "custom_notification",
- "category": "carousel",
- "carousel_elements": [{
- "image_url":"https://bsftassets.s3.amazonaws.com/pictures/2906/content/funfussion_push.jpg"
- },
- {
- "image_url":"https://bsftassets.s3.amazonaws.com/pictures/2905/content/justdresses_push.jpg"
- },
- {
- "image_url":"https://bsftassets.s3.amazonaws.com/pictures/2904/content/summer-fun.jpg"
- }],
- "title": "Non Animated Carousel ",
- "body": "Check out Awesome Products in your Favorite Category"
- }
- }
- }
- }
- Two button Image Push Notification.
- {
- "GCM": {
- "data": {
- "message": {
- "notification_type": "notification",
- "category": "buy",
- "content_title": "This is content title",
- "content_text": "This is context text",
- "content_sub_text": "This is content sub text",
- "image_url": "https://bsftassets.s3.amazonaws.com/pictures/2906/content/funfussion_push.jpg",
- "big_content_title": "This is big content title",
- "big_content_summary_text": "Big content summary text",
- "deep_link_url": "hopscotch://department?id=baby"
- }
- }
- }
- }
- Silent Push
- {
- "GCM": {
- "data": {
- "message": {
- "id" : "2871387162391692",
- "notification_type" : "notification",
- "category" : "silent_push"
- }
- }
- }
- }
- Two Button Alert Box
- {
- "GCM": {
- "data": {
- "message": {
- "notification_type": "alert",
- "category": "alert_box",
- "content_title": "Non Animated Carousel ",
- "content_text": "Check out Awesome Products in your Favorite Category"
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment