Skip to content

Commit cab80ac

Browse files
committed
Update links
1 parent 4d93e68 commit cab80ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ The native notifications API is hosted at `nativepush-cluster1.pusher.com` and o
259259
You can send pushes by using the `notify` method, either globally or on the instance. The method takes two parameters:
260260

261261
- `interests`: An Array of strings which represents the interests your devices are subscribed to. These are akin to channels in the DDN with less of an epehemeral nature. Note that currently, you can only send to _one_ interest.
262-
- `data`: The content of the notification represented by a Hash. You must supply either the `gcm` or `apns` key. For a detailed list of the acceptable keys, take a look at the [docs](https://pusher.com/docs/push_notifications#payload).
262+
- `data`: The content of the notification represented by a Hash. You must supply either the `gcm` or `apns` key. For a detailed list of the acceptable keys, take a look at the [iOS](https://pusher.com/docs/push_notifications/ios/server) and [Android](https://pusher.com/docs/push_notifications/android/server) docs.
263263

264264
Example:
265265

lib/pusher/native_notification/client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ def notify(interests, data = {})
3434
# {
3535
# interests: [Array of interests],
3636
# apns: {
37-
# See https://pusher.com/docs/native_notifications/payloads#apns
37+
# See https://pusher.com/docs/push_notifications/ios/server
3838
# },
3939
# gcm: {
40-
# See https://pusher.com/docs/native_notifications/payloads#gcm
40+
# See https://pusher.com/docs/push_notifications/android/server
4141
# }
4242
# }
4343
#

0 commit comments

Comments
 (0)