Skip to content

Commit 4b6ee1c

Browse files
author
Helperhaps
committed
Merge branch 'dev'
2 parents b66ffdd + 10c83ae commit 4b6ee1c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/Guides.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ notification.set_ios(
128128
alert: alert,
129129
sound: sound,
130130
badge: badge,
131-
available: available,
131+
contentavailable: contentavailable,
132+
mutableavailable: mutableavailable,
132133
category: category,
133134
extras: extras
134135
)
@@ -160,7 +161,8 @@ notification = JPush::Push::Notification.new.
160161
alert: alert,
161162
sound: sound,
162163
badge: badge,
163-
available: available,
164+
contentavailable: contentavailable,
165+
mutableavailable: mutableavailable,
164166
category: category,
165167
extras: extras
166168
)

lib/jpush/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module JPush
2-
VERSION = "4.0.2"
2+
VERSION = "4.0.3"
33
end

test/jpush/push/notification_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_sets
5454
alert: 'Hello IOS',
5555
sound: 'sound',
5656
badge: '+1',
57-
available: true,
57+
contentavailable: true,
5858
category: 'jpush',
5959
extras: {
6060
key2: 'value2',

0 commit comments

Comments
 (0)