So first of all I complete all steps to FCM since SDK 28 and it works quite good, thanx for that.
But there is some information/question issues
-
Push-notifications on Android - FCM don’t work on test-phone, APN iPhone works well, so you need production to test, on Android it’s more ease than on Google.Play, heh
-
We’ve got Notification-channels, it’s great, but how could I use them when I send message from my backend on node-JS?
In Documentation we only got information for local notifications
Expo.Notifications.createChannelAndroidAsync('reminders', {
name: 'Reminders',
priority: 'max',
vibrate: [0, 250, 250, 250],
});
}
}
// ...
_createNotificationAsync = () => {
Expo.Notifications.presentLocalNotificationAsync({
title: 'Reminder',
body: 'This is an important reminder!!!!',
android: {
channelId: 'reminders',
color: '#FF0000',
},
});
}
Or we got channels only for local push notifications, so we’ve to keep always open app for sending them until background-mode comes to Expo ?