Hi. Since expo will remove the notifications schema in their app.json config, and expo-notifications isn't a required package for @react-native-firebase/messaging, wouldn't it be ideal to make this plugin configurable?
Something like this
// app.json
{
expo: {
plugins: [
[
"@react-native-firebase/messaging",
{
"icon": "/path/to/notifications/icon.png",
"color": "#ffffff"
}
],
],
}
}
Maybe, to not conflict with other configs, the plugin could first check for config.notifications, then for config in expo-notifications, and then for it's own passed config.
Hi. Since expo will remove the notifications schema in their app.json config, and
expo-notificationsisn't a required package for@react-native-firebase/messaging, wouldn't it be ideal to make this plugin configurable?Something like this
Maybe, to not conflict with other configs, the plugin could first check for config.notifications, then for config in expo-notifications, and then for it's own passed config.