Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Website notifications in Webview Android App

I have developed a WebView app for a social network website. I want to add notifications of the website in the WebView app. When one user sends message or friend request, the second user must get a notification.

Is there any way to show all that notifications from the website in the WebView app?

Please help.

like image 457
Rahul Pathak Avatar asked Jan 20 '26 23:01

Rahul Pathak


1 Answers

If you want notification in webview than you must have to register every device with firebase when app installed for sending push notification

And whenever action is performed from webview than from backend the push notification will fire with "PayLoad" and from there we are displaying the notification to one devices to other devices using webview app.

Note : You Must need to register device for push notification using firebase.

like image 125
Nilesh Panchal Avatar answered Jan 26 '26 01:01

Nilesh Panchal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!