Actually it is pretty simple as i thought to create a pubnub notification. We have to simply run background service and in that do the following steps.,
- Add background service using this BOOT_COMPLETED Titanium module ,
- Before suscribe a new channel inside the background service code. (for eg.: MY_notify_channel),
Next go to your chat screen , Next to the line that you are publishing to your private dynamic channel, Publish once again to our MY_notify_channel .
That's it when ever you publishing you get a message received in your service box, you have segregate your message in that and then create a notification manually. Titanium.Android.Notification link