iOS Question Problem with FCM Push and iOS 13

Ohanian

Active Member
Licensed User
Longtime User
Hello,

We're developing an app for a customer, he needs push capability so we use FCM, in the development phase we've checked sending and receiving push and everything was fine, but after publishing app on the app store it seems some of the devices are unable to receive push message, even our test device has the same problem.
the test device is on iOS 13.3.1 and we're using SendingTool to send messages.
is there any change in iOS 13 that prevents the app from receiving the FCMmessages?
 
No.

Test devices can make these problems. Try to uninstall the app and reinstall it from the store.

Hi,

already did that but there's no difference.
 
Upvote 0
Is this related to my problem?

With release of iOS13, Apple introduce a new APNS header attribute “apns-push-type”, below is the extract from Apple documentation :
“required when delivering notifications to devices running iOS 13”. Furthermore “if the header is missing on required systems, APNs may delay the delivery of the notification or drop it altogether.”
 
Upvote 0
I don't think that it is related however try to add it like this in the B4J code:
Code: Copy
If Topic.StartsWith("ios_") Then
    Dim iosalert As Map =  CreateMap("title": Title, "body": Body, "sound": "default")
    m.Put("notification", iosalert)
    m.Put("apns", CreateMap("headers": CreateMap("apns-push-type": "alert")))
End If
 
Upvote 0

Similar Threads

  • Question Question
iOS Question FCM Token
Replies
19
Views
8K
Replies
38
Views
44K
  • Question Question
Replies
0
Views
3K
Replies
25
Views
27K
Back
Top