Skip to content

andrehtissot/cordova-plugin-firebase-extended-notification-app-example

Folders and files

Name Name
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-firebase-extended-notification-app-example

GitHub license GitHub issues GitHub forks GitHub stars Known Vulnerabilities DeepScan grade

Simple cordova application using cordova-plugin-firebase-extended-notification.

Don't forget:

Make sure that in Android SDK Manager it is installed:

  • Android Support Library version 23 or greater
  • Android Support Repository version 20 or greater
  • Google Play Services version 27 or greater
  • Google Repository version 22 or greater

Check the wiki for more.

Build and Run Steps

  1. Clone it;
  2. Execute the install.sh script;
  3. Download your google-services.json, from https://console.firebase.google.com, to the app-example directory;
  4. Within app-example, execute cordova run android;
  5. Run it to get the TARGET firebase token: alt tag
  6. Grab the value of FB_SERVER_KEY, that can be found accessing https://console.firebase.google.com, at the configurations section (step by step tutorial);
  7. Run:
FB_SERVER_KEY="your firebase server key" TARGET="the device's firebase token" php server-side/notify.php
  1. And look at your device: alt tag

Simulating Notifications

From the main page, it's possible to define the parameters, test locally and retrieve the code to use in the server. alt tag

About

Simple cordova application using cordova-plugin-firebase-extended-notification

Resources

License

Stars

Watchers

Forks

Packages

No packages published