Free Push Notification using onesignal - Android Part 1
OneSignal
OneSignal is a high volume and reliable push notification service for websites and mobile applications.
Why should I use OneSignal?
- EASY TO USE
- FREE
- PLATFORM SUPPORT
- ADVANCED FUNCTIONALITY
- AUTOMATED NOTIFICATIONS
- UNLIMITED
Onesignal screenshots:
Android Setup:
This tutorial only for Android studio Projects.you can use amazon SDK also.
Before going to setup one signal SDK we need to get Google server API key.
Gradle Setup :
Open your
build.gradle
(Module: app) file and add the following to your dependencies.
In the same
build.gradle
file, add the following in your android
> defaultConfig
section.- Update
PUT YOUR ONESIGNAL APP ID HERE
with your OneSignal app id
Add the following to the
onCreate
method in your Application
class.
we will see how to send Push notification to particular device on next tutorial
Free Push Notification using onesignal - Android Part 2
Comments
Post a Comment