Reputation: 159
I need to deliver a push notification to a specific device using FCM (Firebase Cloud Messaging). How to send the notification in Objective C?
If somebody know any tutorial then give me the link.
Thanks in advance.
Upvotes: 1
Views: 2138
Reputation: 1116
pods
that you want to install, Download a GoogleService-Info.plist
file from Firebase console.registerForRemoteNotifications
.
NSString *refreshedToken = [[FIRInstanceID instanceID] token];
For better clarification, see documentation
Upvotes: 1