简体   繁体   English

使用 phpmyadmin 显示通知

[英]Showing notification using phpmyadmin

I have made forum app (android) it uses web services to send/retrieve data from database (phpmyadmin).我制作了论坛应用程序(android),它使用网络服务从数据库(phpmyadmin)发送/检索数据。 Now when a new question is added then everyone using the app should get a headsup notification that there is a new question.现在,当添加一个新问题时,使用该应用程序的每个人都应该收到一个提示通知,表明有一个新问题。 After searching every where I found that FCM should be used but I'm not getting how to use Firebase with my existing database because I want all the data to be stored in my database and also show notification.在搜索我发现应该使用 FCM 的每个地方之后,但我不知道如何将 Firebase 与我现有的数据库一起使用,因为我希望所有数据都存储在我的数据库中并显示通知。

You can pick what Firebase features you want to use.您可以选择要使用的 Firebase 功能。 So if you use Firebase Cloud Messaging, you don't have to use the Firebase Database.因此,如果您使用 Firebase Cloud Messaging,则不必使用 Firebase 数据库。 You can just stick to your own database and call out to FCM from your PHP code.您可以坚持使用您自己的数据库并从您的 PHP 代码中调用 FCM。

Some examples of calling FCM:调用 FCM 的一些示例:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM