Keeping relevant with your customers is easy with push notifications, sending instant push notifications to all the customers that have your Apps in their devices is a great way to promote and keep informed.
To set up notifications, you need 3 accounts:
2. Fire base for android apps
3. Apple Developer for iOS
Settings > Notification Settings > The first information you must have is > One Signal User Auth
Configure One Signal
1. Create your One Signal Account
Go to this link https://onesignal.com/ click on Sign Up and start the following process.
We enter our One Signal account > go to our profile > select Account & API Keys
We copy the code of user Auth Key we copy it in One Signal User Auth
You require the base Fire account, since you must create three applications in this account.
Note: Firebase must create an application per product, since the duplicate keys cannot be used.
When creating a new app, a notification will appear, and you will choose the android option.
When you carry out the entire firebase process that is below in this link on how to generate the keys https://documentation.onesignal.com/docs/generate-a-google-server-api-key .When the keys are generated, they are put here.
After putting the keys >we go to Ionic > and give save and continue
Copy and paste the code that has been generated and paste the ID in the type of app you created, each application generates a key.
Select the app settings in this case iOS
On this tutorial, you will learn more about it
Once you have the Productions files, you will get the Push Notifications activated on the App you selected.
The file given to you in the previous guide is uploaded,, and the same step is performed to create the ionic code.
After selecting the app that you want to send the notification, you can see on the website the general information about the user that received the notification on this app.
To send notifications need to click on the "Message" option.
Prepare Push Notification
On this screen, you can see all the notification that you are also sent, you can create a new notification, only need to click on"New Push"button.
The first thing you should select is the option"Send to Subscribed Users." This option is to send the push notification that you are creating to all users to this app.
In this field, you can write the title and the message about the push notification that you are sending.
You can change some content like the notification sounds, images, or videos.
.After configuring the push notification, you need to select the configuration to deliver this notification. Once you complete this information, you only need to click on"Confirm"to continue with the process and send the notification that you are creating.
21. Verify the information is correct. Then click on"Send Message."to send the notification.
You can monitor the notifications delivered to your app.