Notificare / notificare-sdk-react-native

Notificare's Official React Native Module
MIT License
4 stars 0 forks source link

💡: Expo support through Config Plugins #62

Open byCedric opened 5 months ago

byCedric commented 5 months ago

Describe the feature you'd like and if it's related to a problem.

It would be awesome to have Expo support through Config Plugins and Development Builds.

There may be users out there who want to use this library but are using Expo instead of the plain React Native Community CLI. Having a config plugin that executes the required native changes automatically would help these users, but also help upgrading Expo/RN versions.

Describe the solution you'd like.

The docs aren't super clear about what needs to be configured (natively) for each (sub)library. But, it would be nice if (at least) the notificare-services.json, NotificareServices.plist (iOS), notificare-services.json (Android), and the app/project build gradle scripts are automatically handled by such a config plugin (source).

I'm not sure what native changes the other (sub)libraries require though.

Describe alternatives you've considered.

No response

Additional context

I think the @react-native-firebase/app and (sub)libraries are a good example of how it could be implemented. E.g. see basic setup: docs for RNC CLI, docs for Expo. And the docs on how to configure the (sub)libraries.

hpinhal commented 5 months ago

Hi @byCedric,

We have been noticing increased interest in the Expo plugins. Although I don't have a timeframe to share at the moment, we are investigating and considering developing Expo plugins for our libraries.

Yanick64 commented 3 months ago

Hi @hpinhal,

We are very interested in this as well to use for our apps, is it already possible to give us a timeframe?

hpinhal commented 3 months ago

Hi @Yanick64,

We are working on the next-gen of our libraries, where we will introduce dedicated libraries for Expo. We don't, however, have a timeline we can share, yet.