Skip to content

🐛 [messaging] configurable expo plugin, since config.notifications will be removed from expo sdk 55 #8840

@julian-dueck

Description

@julian-dueck

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions