Firebase device to device chat with notification - android

I want to develop a one-to-one chat in android by using Firebase. By using
crazzyhit code one-to-one chat is working.
But device to device push notification is not working. I googled device to device notification, but all are showing about sending notification from firebase console. Can anyone give some device to device chat notification tips?

It's possible, you can try OnseSignal. It lets you sending push notifications from device to device.

You have to create php webservices which will let you send notifications to specific devices on behalf of device tocken.

Please Check FireChat to make Person to Person Chat app.

Related

Notification with openfire in android and ios

Developing an application for android and ios with openfire server with asmack(for android). successfully implemented all stuff(one to one chat also group chat). now stuck in how can I implement notification with openfire server specially users get offline, tried with google but it didn't help. Any help appreciate...
If B gets offline and you want A to know about it. Roster is the thing you need. When users subscribe to each other on roster, then When B goes online/offline, All users who subscribed to B will get to know.
If B gets disconnected from your chat server and A sends some message, and you want to have a notification on B, then you need push notification here. As described by #ShoaibGondal "If you are talking about google push, then that is not supported in Openfire unless you find some plugin online or custom changes in your openfire deployment.– Shoaib Ahmad Gondal"

Android Wear - show email on the wear

First of all, sorry for my english.
I have a project at school and I need to show, on the wear, the number of mails and a little summary of each mail. But my teacher doesn't want to enter the login and the password, which could permit me to connect the mail server. So I thought I can use the notification of the client mail application to count the mail and to show the summary. (But I can only get the mail when the wear is connected and when the application is running)
I can catch the mail notification but I can't send the data to the wear from the NotificationLIstenerService. So, I thought I could catch the notification on the wear but I don't find how to do that.
Have somebody any idea how to do that or have somebody any other idea to the task my teacher is looking for ?
Thanks for answering.
You cannot send data to the wear from the NotificationListener service because it is not possible to use notificationListenerService on the wearable and there is no screen for the user to allow this.
Sources:
NotificationListenerService Wearable
Android Wear: Listen to incoming notifications
So for the alternative, you can try to use Wearable Data Layer API, which is part of Google Play service that provides a communication channel for your handheld and wearable apps to send and syncing data. Or you can use the NotificationCompat.Builder that usually use in creating notification in wearables.
For more information, check this documentation on Creating a Notification for Wearables.

Quickblox 1:2 or multi user chat same time

Hi All I am developing an chat app using Quickblox api for android. And 1:1 chat is working fine but my issue is how can i get a notification that some other user also message me during the chat like in other chat app. I check there api but not find anything regarding background notification. There is example for push notification but push is not fit with chat. So can anyone know how to handle this issue or any example to handle it using quickblox. Thanks in advance
If your are offline then QuickBlox will deliver to you offline push notification when someone sends a message
http://quickblox.com/developers/Android_XMPP_Chat_Sample#Push_notifications_to_the_offline_users
You have to enable it in Dashboard

Hows App server and GCM server are different in functioning?

I follow this link PLease see here . Can anyone tell me exact process to communication between two mobile devices in terms of push notification. Please help me.
GCM is a google cloud messaging http server.It is used for providing notification service on android phones any notification you receive on your phone is sent through GCM.Every device using a specific application is registered with GCM. Even if you want your application to send notification to the user on occurrence of something it's not possible without GCM.

Send notification from Android app to any other device

I am developing an Android application that can send notifications (not "push") to any other Android device. Apart from Google Cloud Messaging (GCM) are there any alternatives to do so?
I do not plan to use GCM. My only requirement is to send the notification from my app to any other device via either Bluetooth or WiFi.
I have tried using the basic Notification API for Android but I could not send a notification to other device. It shows me a local notification.
this may helps https://www.firebase.com/docs/java-quickstart.html
firebase sync the devices and whatever you send it to server it automatically pushes that in other device

Categories

Resources