Commit 6565be3a authored by Libin Lu's avatar Libin Lu

fix http request in android notif

parent 3335ccee
...@@ -41,10 +41,11 @@ export default class App extends Component { ...@@ -41,10 +41,11 @@ export default class App extends Component {
vibrate: 500, vibrate: 500,
title: 'Hello', title: 'Hello',
body: 'Test Notification', body: 'Test Notification',
big_text: 'i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large, i am large',
priority: "high", priority: "high",
sound: "bell.mp3", sound: "bell.mp3",
show_in_foreground: true, large_icon: "https://image.freepik.com/free-icon/small-boy-cartoon_318-38077.jpg",
picture: 'https://firebase.google.com/_static/af7ae4b3fc/images/firebase/lockup.png' show_in_foreground: true
}); });
} }
...@@ -55,7 +56,9 @@ export default class App extends Component { ...@@ -55,7 +56,9 @@ export default class App extends Component {
vibrate: 500, vibrate: 500,
title: 'Hello', title: 'Hello',
body: 'Test Scheduled Notification', body: 'Test Scheduled Notification',
sub_text: 'sub text',
priority: "high", priority: "high",
large_icon: "https://image.freepik.com/free-icon/small-boy-cartoon_318-38077.jpg",
show_in_foreground: true, show_in_foreground: true,
picture: 'https://firebase.google.com/_static/af7ae4b3fc/images/firebase/lockup.png' picture: 'https://firebase.google.com/_static/af7ae4b3fc/images/firebase/lockup.png'
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment