Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
当新帖子添加到wordpress博客(Flatter应用程序)时,如何向设备发送通知?_Wordpress_Api_Flutter_Notifications_Push - Fatal编程技术网

当新帖子添加到wordpress博客(Flatter应用程序)时,如何向设备发送通知?

当新帖子添加到wordpress博客(Flatter应用程序)时,如何向设备发送通知?,wordpress,api,flutter,notifications,push,Wordpress,Api,Flutter,Notifications,Push,我有一个flatter应用程序通过WordPressAPI拉帖子,我想在发布新帖子时自动向flatter应用程序发送推送通知 你知道我怎样才能做到这一点吗 如果有这方面的教程,我将不胜感激。 谢谢我找到了 通过使用这个出色的插件(来自WP的FCM推送通知)向firebase发送带有新帖子标题和带有图像显示的pref的云消息 https://wordpress.org/plugins/fcm-push-notification-from-wp/ 然后使用firebase向设备发送带有数据的通知,

我有一个flatter应用程序通过WordPressAPI拉帖子,我想在发布新帖子时自动向flatter应用程序发送推送通知

你知道我怎样才能做到这一点吗

如果有这方面的教程,我将不胜感激。 谢谢

我找到了 通过使用这个出色的插件(来自WP的FCM推送通知)向firebase发送带有新帖子标题和带有图像显示的pref的云消息

https://wordpress.org/plugins/fcm-push-notification-from-wp/
然后使用firebase向设备发送带有数据的通知,正如我前面所说的,到目前为止,它工作得很好 这是最简单的方法