Skip to content

Commit 0175151

Browse files
authored
Merge pull request #70 from mvandervelden/master
Adding support for iOS Live Activity push notifications
2 parents f5daef7 + 2c4530d commit 0175151

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/InputComponent.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ class InputComponent extends React.Component {
198198
notification.pushType = "fileprovider"
199199
} else if (input.bundleId.endsWith(".voip")) {
200200
notification.pushType = "voip"
201+
} else if (input.bundleId.endsWith(".liveactivity")) {
202+
notification.pushType = "liveactivity"
201203
} else if (aps && aps["content-available"] === 1) {
202204
const maxKeysNumber = aps.hasOwnProperty("category") ? 2 : 1
203205

0 commit comments

Comments
 (0)