A demo of the Pushy SDK for Flutter integrated into a sample Flutter app.
Pushy is the most reliable push notification gateway, perfect for real-time, mission-critical applications.
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 Flutter app.
- Make sure you have a healthy installation of Flutter:
flutter doctor
- Clone the repository locally:
git clone https://github.com/pushy/pushy-demo-flutter.git
- Run
cd pushy-demo-flutter
- Run
flutter run
to run the app on either an emulator or a connected Android device - Observe the Android logcat for the Pushy device token and paste it into the demo page to send yourself a test notification
- For iOS, open the
ios/Runner.xcworkspace
file 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 Xcode console and paste it into the demo page to send yourself a test notification