Skip to content

A demo of the Pushy SDK integrated into a sample React Native app.

License

Notifications You must be signed in to change notification settings

pushy/pushy-demo-react-native

Repository files navigation

pushy-demo-react-native

A demo of the Pushy SDK for React Native integrated into a sample React Native app.

Pushy is the most reliable platform for time-critical, worldwide push notification delivery.

This app registers your device to receive push notifications and assigns it a unique token, which you can copy and paste into the demo page to send yourself a test push notification on both Android and iOS.

Visit our documentation to integrate Pushy into your existing React Native app.

Screenshots

iOS

Android

Get Started

  • First, ensure you have a healthy React Native installation by running npx react-native@latest doctor and fixing any issues reported
  • Clone the repository locally: git clone https://github.com/pushy/pushy-demo-react-native.git
  • Run cd pushy-demo-react-native
  • Run npm install to install the React Native dependencies
  • For Android, run npx react-native@latest run-android to run the app on either an emulator or a connected Android device
  • For iOS, run cd ios && bundle install && bundle exec pod install to install the CocoaPods dependencies. Then, open ios/Pushy.xcworkspace in Xcode, select your physical device, update the Signing Team in the project properties, and press Run to run the app on your iOS device
  • Copy the device token from the Metro dev server console and paste it into the demo page to send yourself a test notification

More Information

License

Apache 2.0

About

A demo of the Pushy SDK integrated into a sample React Native app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published