When sending push message to APNS I need to handle socket timeout exception so that in case there is any issue while connecting to APNS (because of network or because of rate limiting by APNS or other reasons) I can gracefully handle it.
I frequently face this issue while sending push messages to FCM APIs and the Java lib raises following exception there which I handle:
java.util.concurrent.TimeoutException
When sending push message to APNS I need to handle socket timeout exception so that in case there is any issue while connecting to APNS (because of network or because of rate limiting by APNS or other reasons) I can gracefully handle it. I frequently face this issue while sending push messages to FCM APIs and the Java lib raises following exception there which I handle: java.util.concurrent.TimeoutException