Aashish Goyal
Aashish Goyal

Reputation: 11

How to send device to device push notification in android through firebase

I am new to android firebase and notifications. I have created my basic android application in which user(s) of type say x sends a request to user of type y. The request gets generated fine and user of type y can click on the pending request button to see the list of request from user x but i want to inform the user type y through push notification when x generates a request.

Any tutorial or detailed explanation with code would be really helpful as I could not find anything useful til now

Upvotes: 0

Views: 1724

Answers (1)

Binesh Kumar
Binesh Kumar

Reputation: 2860

You can not generate notification from mobile, Notification is fared from Backed, It is possible when you want to generate push notification then first call webservice of database and database fired notification to particular phone device

how to integrate pushnotification in android

step wise description

Upvotes: 1

Related Questions