notifiable-apns-apnotic 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/notifiable/apns/apnotic/async.rb +1 -1
- data/lib/notifiable/apns/apnotic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe799647c4f290d1532794b3517cd5c55d99603b953701d73a1d78e18d9605e4
|
4
|
+
data.tar.gz: a65db57a700bb47dd3d3b6a0419723de4b248fd50a975111bdf69792a90a0568
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17f297f0f3dda3ef3639438fe65059c5c588218fe30906030783a6afa6cb387889e99e7b9e6ba876b29af13e99aca176126412b48a947ea53d2520af20d6b89f
|
7
|
+
data.tar.gz: 90815786ec2c607feec6e38d1e1c98d5bd160568909171da5834a7118a4d12ddb3f74483565d1692b3de78a3e0d90aea4efdebf33637c413276613cbd6f877e3
|
data/Gemfile.lock
CHANGED
@@ -69,10 +69,10 @@ module Notifiable
|
|
69
69
|
payload.alert = {}
|
70
70
|
payload.alert[:title] = notification.title if notification.title
|
71
71
|
payload.alert[:body] = notification.message if notification.message
|
72
|
-
payload.sound = notification.sound || 'default'
|
73
72
|
payload.category = notification.category if notification.category
|
74
73
|
payload.content_available = notification.content_available if notification.content_available
|
75
74
|
payload.priority = 5 if notification.content_available # infer valid priority if content_avalible flag is true
|
75
|
+
payload.sound = notification.sound || notification.content_available ? nil : 'default'
|
76
76
|
payload.badge = notification.badge_count if notification.badge_count
|
77
77
|
payload.custom_payload = notification.send_params
|
78
78
|
payload.thread_id = notification.thread_id if notification.thread_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notifiable-apns-apnotic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brooke-Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: notifiable-core
|