Issue
I need to send a notification (not necessarily a push notification) through an android webview. I saw that the Notification API
was not compatible with Android Webview on MDN. The other APIs I saw seemed to be based off of window.notification
.
Does anyone know of any API or JS that sends a notification through an android webview?
I saw this post from 6 months ago with essentially no activity except a vague mention of firebase. Would that be helpful?
Thanks for your answers!
Solution
I don't have enough "reputation" to post a comment but could that be useful to you?
https://github.com/ashraf-alsamman/android-webview-app-with-push-notification
https://medium.com/shibinco/creating-a-webview-android-app-with-push-notification-7fd48541a913
Hopefuly you can make it work from one of those example
Answered By - user10864482
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.