Skip to content

pushy/pushy-demo-cordova

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
www
 
 
 
 
 
 
 
 
 
 
 
 

pushy-demo-cordova

A demo of the Pushy SDK for Cordova integrated into a sample Cordova 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 Cordova app.

Screenshots

iOS

Android

Get Started

  • Clone the repository locally: git clone https://github.com/pushy/pushy-demo-cordova.git
  • Run cd pushy-demo-cordova
  • Run cordova platform add ios && cordova platform add android to add both Android & iOS platforms

Android

  • Run cordova run android to run the project on an Android device
  • Observe the Android logcat (adb logcat *:S chromium) for the Pushy device token and paste it into the demo page to send yourself a test notification

iOS

  • Run open platforms/ios/*.xcworkspace to open the iOS project in Xcode and set the Signing Team in the "Pushy" target to your own development team
  • Connect your iOS device via USB
  • Run cordova run ios
  • Copy the device token from the Console utility (select your device and search for "Pushy device token") 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 Cordova app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published