Skip to content

Latest commit

 

History

History
82 lines (63 loc) · 2.97 KB

README.md

File metadata and controls

82 lines (63 loc) · 2.97 KB

Pushwoosh Expo Sample app 👋

Pushwoosh Expo Sample app

📖 Overview

This sample app demonstrates the integration of the Pushwoosh Expo plugin and tests notification delivery on iOS and Android platforms.
It is designed to showcase the capabilities of Pushwoosh without the need for extensive setup.

✨ Features

  • Register/unregister device to receive notifications
  • Send test notifications using our sample project without the need to set up your project in control panel or Firebase console
  • Enable/disable server communication with Pushwoosh
  • Set custom user ID for a device
  • Send events
  • Set custom and default languages for a device
  • Set tags
  • Set emails for a user or a device
  • Get HWID to clipboard
  • Get push token to clipboard
  • Get user ID to clipboard

🛠️ Get started

Prerequisites:

Steps:

  1. Install dependencies
   npm install
  1. Connect your app to Pushwoosh and Firebase

Enter the app ID from Pushwoosh control panel and FCM sender ID:

L85 pushwoosh-expo-sample/app/_layout.tsx: image

Place the google-services.json in the root directory of the app:

image

  1. Prebuild
npx expo prebuild
  1. iOS platform only: ensure that the push notification capability is enabled in your project, and that "Remote Notifications" is selected under "Background Modes":

image

Sign the app:

image

  1. Start the app with the test device connected to your machine

Android:

    npx expo run:android

iOS:

    npx expo run:ios
  1. Allow the application to send notifications
  2. Send a test notification.

If you have any questions, feel free to contact us at [email protected] or open an issue in this repository 🤝