Giter Site home page Giter Site logo

ryderhiew / cordova-plugin-fcm-with-dependecy-updated-app-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrehtissot/cordova-plugin-fcm-with-dependecy-updated-app-example

0.0 1.0 0.0 237 KB

Simple cordova application using cordova-plugin-fcm-with-dependecy-updated.

License: MIT License

PHP 28.45% HTML 15.63% JavaScript 55.91%

cordova-plugin-fcm-with-dependecy-updated-app-example's Introduction

cordova-plugin-fcm-with-dependecy-updated-app-example

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

Simple cordova application using cordova-plugin-fcm-with-dependecy-updated.

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. git clone https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated.git;
  2. cd cordova-plugin-fcm-with-dependecy-updated-app-example;
  3. Download your google-services.json, from https://console.firebase.google.com, to the main directory;
  4. cordova run android;
  5. 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);
  6. To define the TARGET, you might use a topic or the device token.
  • For all, ios or android devices (/topics/all, /topics/ios, /topics/android). As they are automatically subscribed to those.
  • Or grab the firebase token, presented on app start:

Device Token is presented on device start 7. Run:

FB_SERVER_KEY="your firebase server key" TARGET="the device's firebase token or topic" php tools/notify-both.php
  1. And look at your device:

Device showing notifications

cordova-plugin-fcm-with-dependecy-updated-app-example's People

Contributors

andrehtissot avatar dependabot[bot] avatar snyk-bot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.