Ohanian Active Member Licensed User Longtime User Feb 7, 2020 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2020 #2 Ohanian said: is there any change in iOS 13 that prevents the app from receiving the FCMmessages? Click to expand... No. Test devices can make these problems. Try to uninstall the app and reinstall it from the store. Upvote 0
Ohanian said: is there any change in iOS 13 that prevents the app from receiving the FCMmessages? Click to expand... No. Test devices can make these problems. Try to uninstall the app and reinstall it from the store.
Ohanian Active Member Licensed User Longtime User Feb 7, 2020 #3 Erel said: No. Test devices can make these problems. Try to uninstall the app and reinstall it from the store. Click to expand... Hi, already did that but there's no difference. Upvote 0
Erel said: No. Test devices can make these problems. Try to uninstall the app and reinstall it from the store. Click to expand... Hi, already did that but there's no difference.
Ohanian Active Member Licensed User Longtime User Feb 7, 2020 #4 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.” Click to expand... 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.” Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2020 #5 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
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