Snippets Collections
   func getFcmToken() {
        if let token = Messaging.messaging().fcmToken {
            print("fcm : ", token)
            fcmToken = token
        }
    }
star

Thu Jan 05 2023 05:58:35 GMT+0000 (Coordinated Universal Time)

#ios #swift #fcm

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension