1

Silent notification is not working in iPad 13 OS. But, in 12.4 OS it is working fine.

This is the payload I send from my server

{
 "aps": {
 "content-available" : "1"
 },
 "BuildingId":13,
 "NotificationTypeId":214,
 "CustomerName":"Test",
 "Amount":"6778",
 "CustomerID":32752,
"Environment":"TEST",
 "Title":""
}

Any wonder why this happens?

Sulfkain
5,1191 gold badge22 silver badges41 bronze badges
asked Sep 26, 2019 at 7:04
3

3 Answers 3

2

Adding "apns-push-type" header field solved the issue. Please note this is a APNS POST request header field, not a new key in push JSON.

answered Sep 27, 2019 at 10:20
Sign up to request clarification or add additional context in comments.

Comments

2

"apns-push-type" is Required when delivering notifications to devices running iOS 13 and later, or watchOS 6 and later. Ignored on earlier system versions. Apple document APNS Silent push notification.

answered Sep 27, 2019 at 10:24

Comments

0

try this from postman. its work for me

{ 
"to":"token", 
 "content_available":true,
 "mutable_content": true,
 "data": {
 "message": "Offer!",
 "urlImageString":"https://res.cloudinary.com/demo/image/upload/sample.jpg",
 }
}
answered Apr 13, 2021 at 10:26

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.