0.1.1 • Published 10 months ago

expo-wonderpush v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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:

  1. 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 WonderPush
  • react-native-wonderpush: The core WonderPush SDK for both Android and iOS
  • react-native-wonderpush-fcm: The FCM adapter for WonderPush on Android
  1. 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.

0.1.1

10 months ago

0.1.0

10 months ago