Posts

Showing posts from September, 2018

Simple Notification in Android

Image
Notifications are a way to provide information to your customer which displays as a pop up on the device. It helps you to keep in touch with your customer. I am going to create a simple notification without going deep because everything is available on Google. We must understand a few concepts before going further. Notification channel:  Assume you have developed an app for an online learning center where they teach Maths and English. Students can either learn Maths, English, or Both. we must send notification related to Maths to only students who have taken Maths. In this case, we can create channels for Maths, English, and both so triggered notification will be delivered to students who have taken that subject. Each Notification channel can have a different Notification sound and different behavior that you can change from the Notification setting page. I forgot to tell you that Google has introduced the Notification channel from Android 8.0 i.e API level 26. Now yo...

Android Push Notification using FCM for Titanium

Image
In this blog, I am going to integrate the push notification in my Titanium app using the FCM module provide  by the Hans ( hansemannn)  . I have used another module for FCM but that was not working on devices running Oreo and i was looking for other modules and i came across this module and it was working fine on Oreo devices and it also provides me option to customise  the notifications also. Integrating FCM Assuming that you are familiar with Firebase cloud messaging, I am going to create a new project in the Firebase console. you can go to the Firebase console by using this URL .  you have to click on Add project to create a new Firebase project then it will open a pop up box where you can enter the details of your new app. I have entered app name  as NotificationDemo1 and you can also add Firebase to your  existing app by selecting it from the dropdown menu and you have two select the two checkboxes and clicl on create project...