CodeMash
  • 🚀Backend as a service
  • 🦄Roadmap
  • 🍕Release Notes
  • Installation
    • Managed Service
    • 🏗️AWS-CDK
    • 🏗️Azure
    • 🏗️Docker
    • 🏗️GC
    • 🏗️Terraform
  • dashboard
    • CodeMash Cloud
    • Project
    • Membership
      • Users
      • Roles
      • Policies
      • Triggers
      • Integrations
        • Apple
        • Azure
        • Facebook
        • Google
        • Twitter
      • Settings
    • Database
      • Collections
        • Schema
          • From Template
          • Structure
        • Tabs
        • Triggers
        • Indexes
        • Shared Forms
      • Taxonomies
        • Terms
        • Schema
        • Settings
      • Aggregation
      • Imports
      • Exports
      • Backups
    • Files
      • Integrations
        • CodeMash
        • S3 Bucket
    • Notifications
      • Push
        • Push Templates
        • Push Templates API
        • Push Notifications
        • Push Notifications API
        • Devices
        • Devices API
        • Integrations
          • Firebase
          • One Signal
          • Expo
      • Email
        • Email Templates
        • Emails
        • Integrations
          • AWS SES
          • Twilio Sendgrid
          • Mailgun
      • 🏗️Server events
      • 🏗️Sms
    • Payments
      • Integrations
        • Apple Pay
        • Google Pay
        • Stripe
        • Kevin.
        • Paysera
        • Decta
    • Scheduler
    • Logs & Monitoring
    • Code
      • Functions
        • Function Inputs
        • Function Templates
          • Node.js
          • Python
          • Ruby
          • Java
          • Go
          • .NET Core
      • CodeMash Functions
        • Google Functions
          • Google Calendar
          • Google Gmail
        • Microsoft Functions
          • Microsoft 365 Users
          • Microsoft 365 Calendar
        • Collection Find
        • Collection Update
        • Users Find
        • Image Resize
        • Html To Pdf
        • Word Document
        • Barcode
        • QR Code
        • Send Email
        • Send Notification
        • Email Reminder
        • Notification Reminder
      • Integrations
        • AWS Lambda
        • Google Cloud Functions
        • Azure Functions
  • Other Topics
    • Apple
      • Developer Portal
      • Bundle Identifier
      • Team ID
      • Service ID
      • Key ID
    • Triggers
    • Tokens Binding
      • Project Tokens
      • Initiator Tokens
      • Receiver Tokens
      • Request Tokens
      • Operation based tokens
      • Template Functions
    • Search parameters
      • Paging
      • Filter
      • Sort
      • Projection
    • data-models
    • Errors
  • SDK
    • Node.js
    • TypeScript
    • .NET
    • 🏗️Go Lang
    • 🏗️Flutter
    • 🏗️Swift
    • 🏗️Kotlin
  • CLI
    • 🏗️CodeMash CLI
  • API
    • Get Started
    • Prerequisites
    • How to test?
    • Cors
    • Project
    • Membership
      • Authentication
      • Users
    • Database
      • Collections
        • Aggregate
        • Change Responsibility
        • Count
        • Delete
        • Delete Many
        • Distinct
        • Find
        • Find One
        • Insert
        • Insert Many
        • References
        • Replace
        • Update
        • Update Many
      • Taxonomies
        • Find
    • Files
    • Code
    • Notifications
      • Push
      • Emails
      • Server Events
      • 🏗️Sms
    • Payments
    • Scheduler
    • Logs & Monitoring
Powered by GitBook
On this page
  • Supported providers
  • Firebase Cloud Messaging
  • Apple Push Notifications
  • One Signal
  • Expo push notifications

Was this helpful?

Edit on GitHub
  1. dashboard
  2. Notifications
  3. Push

Integrations

Overview of push notification accounts

PreviousDevices APINextFirebase

Last updated 2 years ago

Was this helpful?

Accounts are push notification providers that can be used to send your notifications. To be able to send push notifications, you will need to register user devices from your client app. Based on the device token, an appropriate account will be used to send your notifications.

Supported providers

Currently, we support the following providers. Instructions on how to setup each provider are shown below.

  • - Google's free solution for push notifications.

  • Apple Push Notifications (APNS) - Apple's free solution for push notifications.

Firebase Cloud Messaging

To use FCM service you will need to create a Firebase project.

  • Got to this link and press "Go to console".

  • Log in with your Google account.

  • Once in the Firebase console, add a new project.

  • Once the project is created, go to project settings.

Now if you are adding FCM as a provider in CodeMash follow 1) steps. If you need FCM for other provider, follow 2) steps.

1) Adding as a provider in CodeMash

  • Once inside project settings select Service Accounts tab and here press on Generate new private key button.

  • You will download a JSON file. Open it, copy all of its contents and paste into CodeMash.

2) Using for other providers (One Signal)

  • Once inside project settings select Cloud Messaging tab. Here you will see project credentials.

  • Copy Server key and Sender ID and paste into them into the required location by other provider.

This will allow you to push notifications Android devices. To enable sending to iOS devices additional configuration is required.

...

Apple Push Notifications

One Signal

To add One Signal account you will need to sign up at One Signal and get an API key.

  • After you have created your account and logged in, add a new app.

  • Set app name (can be any name) and select iOS or Android platform (all platforms can be configured later). Your app will be created now (you can close all the pop ups now to configure a platform or you can continue to the next steps).

After you have created an app, you will have to configure your platforms.

  • Navigate to Settings > Platforms and select a provider.

    • Android - you will need a server key and sender ID. For those, you will need to create Firebase project. How to get those check Firebase Cloud Messaging setup (section above).

    • iOS - you will have to generate and upload a production certificate that can only be done from Mac device. How to do this, check the Apple Push Notifications setup (section above).

Finally, add your One Signal App ID and Api key to CodeMash.

  • Navigate to Settings > Keys & IDs.

  • Copy both App ID and App key and paste into CodeMash.

Expo push notifications

Go to this and sign up.

If you are developing your application using expo, you can use expo push notifications (app setup guide ). All you have to do is get the user's device token and register the device in CodeMash (check section). There are no additional tokens that you have to register inside CodeMash.

link
here
devices
Firebase Cloud Messaging (FCM)
One Signal
Expo
https://firebase.google.com
Firebase project settings navigation