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

Urban Push

描述

Urban Push is a WordPress plugin that utilizes the Urban Airship API to send a push directly from the WordPress “new post” page. You MUST have an account with Urban Airship to use this plugin. You can send a single push to up to 4 Urban Airship applications. After a push attempt, you will see one new custom field entry for each configured Urban Airship application. It will say push sent for followed by the name you chose for your Urban Airship application. The value of the custom field will contain the response returned from Urban Airship. For a successful push, the response is usually “(null).”

More features are coming like:

  1. The ability to set your aps options (badge, sound, etc..)
  2. The ability to choose which app to send a push to (or all).

屏幕截图

  • Settings Screen
  • Push interface

安装

  1. Download the plugin
  2. Unzip and upload to your plugins directory
  3. Configure via the settings page
    3a. Set your Urban Airship application key and master secret as well as a safety password to avoid accidental pushes.
  4. Push away. Simply add your push text, enter your password and click the update or publish button on your post.

常见问题

How do I send a push to an Android Device?

When you add your app in the settings screen, make sure you choose “Android” for your Application Name. It will know to build the aps string for an Android device.

What is Urban Airship?

Urban Airship is the engine behind thousands of the world’s most successful mobile apps, providing a full suite of messaging and content delivery tools, including Push Notifications, Rich Media Messaging, In-App Purchase and Subscriptions.

What is a push notification?

Push Notifications allow you to send messages directly to the people who have installed your app, even when your app is closed.

Why is there a limit of only 4 Urban Airship applications?

It seemed like a good number. If you need more, the plugin is easy enough to modify. Just add more form fields to the settings.php file and add another send_push method with the correct parameters in urbanairship.php. If you need help, contact me.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“Urban Push”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0.5

  • Fixed Empty delimiter error

1.0.4

  • Added support for Android

1.0.3

  • Fixed bug that was causing a double push

1.0.2

  • You will now only get one custom field entry per push

1.0.1

  • Added the ability to send a single push to multiple Urban Airship applications (up to 4)