![]() Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 6.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `serialize-javascript` from 6.0.0 to 6.0.2 - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](https://github.com/yahoo/serialize-javascript/compare/v6.0.0...v6.0.2) Updates `mocha` from 10.4.0 to 10.8.2 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.4.0...v10.8.2) --- updated-dependencies: - dependency-name: serialize-javascript dependency-type: indirect - dependency-name: mocha dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
.vscode | ||
functions | ||
public | ||
.firebaserc | ||
.gitignore | ||
CLA.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md | ||
codecov.yaml | ||
firebase.json |
README.md
mobile-apps-fcm-push
This is the code that powers the official mobile app push notifications. Feel free to submit PRs!
Developer Setup
Install NPM dependencies:
cd functions
npm install
Startup function for local testing:
# Only Once
npm install -g firebase-tools
firebase functions:config:set debug.local=true
firebase functions:config:get > .runtimeconfig.json
# Whenever you want to start
npm run serve
Deploy your own
Change the target project if needed:
# Only once
sed -i s/home-assistant-mobile-apps/myproject/g ../.firebaserc
You can set the app.region
setting if you want to deploy your functions in a another location than us-central1
, e.g. europe-west1
:
# Only once
firebase functions:config:set app.region="us-central1"
Then deploy the Cloud Functions:
firebase deploy