expo-wonderpush
v0.1.1
Published
Expomodule for using react-native-wonderpush in an eas managed expo app
Downloads
128
Maintainers
Readme
expo-wonderpush
Expo module for using react-native-wonderpush in an EAS managed Expo app
Installation in managed Expo projects
For managed Expo projects, follow these steps:
- Install the required packages:
npm install expo-wonderpush react-native-wonderpush react-native-wonderpush-fcm
This command will install:
expo-wonderpush
: The Expo module for WonderPushreact-native-wonderpush
: The core WonderPush SDK for both Android and iOSreact-native-wonderpush-fcm
: The FCM adapter for WonderPush on Android
- Configure your
app.json
file:
Add the following to your app.json
file:
{
"expo": {
"plugins": [
[
"expo-wonderpush",
{
"WONDERPUSH_CLIENT_ID": "YOUR_CLIENT_ID",
"WONDERPUSH_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"WONDERPUSH_SENDER_ID": "YOUR_SENDER_ID"
}
]
]
}
}
Replace YOUR_CLIENT_ID
, YOUR_CLIENT_SECRET
, and YOUR_SENDER_ID
with your actual WonderPush credentials.
Note: With this expo-wonderpush module, you don't need to make any native code changes. The module handles all the necessary configurations for both Android and iOS platforms.
For more detailed usage instructions and advanced features, please refer to the official WonderPush documentation for React Native.
Contributing
Contributions are very welcome! Please refer to guidelines described in the contributing guide.