该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

FCM Push Notification from WP

描述

Notifications for posts, pages and custom post types.

Works with scheduled posts.

Send notifications to users of your app from your website using Google’s service, Firebase Push Notification.

The notification sent includes the block with the data message to be handled by the application, even when it is in the background.

Configure the plugin to start sending notifications.

Send custom field values ​​in the notification, in the data option.

Send a notification when you post news or update your content. When editing, the option is deselected to send you to accidentally send a new notification. Check if you want to send a new notification when editing.

Compatible with apps developed with the SDK Flutter.

You need to register users on the same topic (fcm) that was informed in the plugin configuration. This plugin is not intended for sending notifications to websites.

Support my work
https://www.buymeacoffee.com/dprogrammer

屏幕截图

  • Plugin settings screen.
  • Sending from a post.
  • Sending from a custom post type.
  • Sending from a page.
  • Sending from a scheduled post.
  • Notification and data message fields.
  • Test performed using WordPress 5.8.1. Opening the notification within the app.
  • Test performed using WordPress 5.8.1. Notification being displayed when the app is closed.

安装

  1. Upload the plugin files to the /wp-content/plugins/fcm-push-notification-from-wp directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Settings->FCM Push Notification from WordPress screen to configure the plugin.
  4. In the FCM Options put the FCM API Key and put the topic name registered in your app.
  5. Optionally put the image url to display in the notification.

常见问题

Does it work with scheduled posts?

Yes. When a post changes the status from scheduled to published, a notification is sent. If the option was checked when saving the post.

Can I send to one user only?

No. You can only send to the topic informed in the plugin configuration.

All users receive notification.

Can I disable sending on the publication screen?

Yes. Uncheck the checkbox to not send a notification.

Can I send to my site user?

No. sends only to users who are using your android/ios app.

评价

2021年12月21日 1 回复
You need an API key yet they can't even be bothered to list a website or link it within the plugin settings. Absolutely baffling!
2021年11月16日
Kudos to the developer for this amazing plugin. Works right off the bat!
2021年4月27日 1 回复
Thank you for developers. Translated into Japanese please check
2021年2月4日
Plugin works great when correctly setup. Could do with some more documentation about how to configure and would be amazing if you could have more options to customise the plugin to your needs. Dev is helpful with responding to support requests.
阅读所有5条评价

贡献者及开发者

“FCM Push Notification from WP” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“FCM Push Notification from WP”插件已被翻译至2种本地话语言。 感谢所有译者为本插件所做的贡献。

将“FCM Push Notification from WP”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • First version.

1.1.0

  • Bug fixes.

1.2.0

  • Bring the option unchecked when editing a post.

1.3.0

  • Sending notification for scheduled posts.
  • Bug fixes.

1.4.0

  • Bug fixes. Two notifications were sent when sending.

1.5.0

  • Bug fixes. this plugin was not sending the permalink when editing a post. Solution sent by @alchmi. Thanks.

1.6.0

  • Included routine to remove visual composer tags from page and post text.

1.7.0

  • Included the Sound field in the configuration. If empty, the name of the sound will be “default”.

1.8.0

  • Bug fixes.

1.9.0

  • Option to take values ​​from custom fields and include in data area.
  • Fixed text notifications display with ‘.
  • Fixed notification display when using Divi theme.