How to send device to device push notification in

2019-09-18 07:13发布

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

1条回答
beautiful°
2楼-- · 2019-09-18 08:03

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

查看更多
登录 后发表回答