This page will help you configure your E-goi Push Application that will be used to send Push campaigns to your contacts.
Last update: 03/03/2021
A Push Notification is a message that the OS displays outside your app’s UI to provide the user with the reminders, communication from other people, or other timely information from your app. Users can tap the notification to open your app.
Our Push channel uses Firebase to deliver the notifications to the user’s devices. You will need to create a Firebase project and integrate your app with it. To do that read this documentation in Firebase’s page:
On the Step 2 of the Firebase documentation, you should pick Cloud Messaging from the list presented since it is the module used to send Push notifications.
After configuring Firebase in your apps, you will need to create a Google Service Account with the right permissions. This Service Account will be used by us to get authorization on Firebase to send Push Notifications to your specified apps in your behalf. Follow the steps bellow to create the Service Account:
Go to the settings page of the Firebase project you configured in the previous step;
On the top menu, select “Service accounts” and then on Manage service account permissions:
The Google Cloud Platform will open on the “Service Accounts” section. Click on “+ CREATE SERVICE ACCOUNT”:
Fill the data on Step 1 and click on “CREATE”:
On Step 2, pick the permission Firebase SDK Provisioning Service Agent from the Role dropdown. This permission will allow us to only get permission to send Push Notifications from your account. After picking the permission, click DONE to finish the creation of the service account:
You should now se the service account created on the list of service accounts. Click on the three dots on the right side of the service account and then on Create Key. A modal will open with two key types to pick from. Pick the JSON one and click CREATE. A file will be automatically downloaded to you computer. It is important to save this file since it will be used in the creation of your E-goi Push Application:
The creation of the Service Account is completed!
Our Push Applications is simply an identifier to your actual app. This application enables you to do the following things inside E-goi:
Register device tokens of the users in the E-goi’s contacts list identified by the E-goi Push Application you created. This allows you to have contact lists with multiple tokens of different apps;
Target the application when creating a Push campaign so that the notifications will only be sent to the tokens of that application;
Register interactions of the users with the campaigns to display on the report of the campaign;
Creating an E-goi Push Application is really simple! Just follow the steps bellow, and you will have an app created in no time:
Login in your E-goi Account;
Go to the Push Apps page - Apps > Push Apps on the top menu;
Click on Add app dropdown location in the top right corner of the page and then on My current app:
Fill the form related to the app info and click NEXT > after:
On the Step 2, upload the json file that you generated in the previous section. Click Save.
After following the steps above, you should have a Push Application configured in your account.
To fully use our E-goi Push Channel, you should implement our libraries. All the documentation necessary to configure the library is located on the README.md file of each repository.