Posts

Firebase send push notification from devices (IOS)

Image
Firebase send push notification from devices (IOS) Hello Firend , Here i will create how to send push notification from devices to devices from FCM .    Step :-1 Setting FCM and Get devices token   FCM setting you can getting from google website step by step . when you have get devices token in your app . it's means you can able to send push . here i attach a URL,  step by step you can setup setting for FCM token . https://firebase.google.com/docs/cloud-messaging/ios/client Step 2:-  API URL and other content   This is URL to send push notification from firebase " https://fcm.googleapis.com/fcm/send "  we have to add two request in  requestSerializer   in Authorization we have to pass server-key with add "key=" word .  Content - Type : application / json Authorization : key = AIzaSyZ - 1u ... 0GBYzPu7Udno5aA create dictionary to sending data   in "to" keyword we have to pass devices token  { "to" : &qu