I am new to the Firebase Cloud Message world. Following is my current App scenario. I want to know if FCM can suffice my requirement.
I have a Cordova Hybrid App for Android and iOS. I want to implement push notification to iOS. That is, i want to send push notification from FCM to my iOS device via APNS.
As per my understanding i have to do the following, please correct me if i am wrong.
- Upload your APNS certificate to FCM.
- Let the mobile device receive the
Push_Token
from APNS by using the Cordova PushNotification Plugin. - Send this
Push_Token
to FCM and get back aFCM_Token
. - To send a Push Notification to any iOS device, make a CURL request to
https://fcm.googleapis.com/fcm/send
withFCM_Token
andmessage
.
If i am right about the above process, my questions are is How to perform step 1 and 3
Please Help!