@matiasfic/intercom
Advanced tools
@@ -28,3 +28,3 @@ import Foundation | ||
| } | ||
| Intercom.setDeviceToken(deviceToken) | ||
| Intercom.setDeviceToken(deviceToken, completion: nil) | ||
| } | ||
@@ -38,3 +38,8 @@ | ||
| NotificationCenter.default.addObserver(self, selector: #selector(self.didRegisterWithToken(notification:)), name: Notification.Name(CAPNotifications.DidRegisterForRemoteNotificationsWithDeviceToken.name()), object: nil) | ||
| NotificationCenter.default.addObserver( | ||
| self, | ||
| selector: #selector(self.didRegisterWithToken(notification:)), | ||
| name: .capacitorDidRegisterForRemoteNotifications, | ||
| object: nil | ||
| ) | ||
| } | ||
@@ -41,0 +46,0 @@ |
+1
-1
| { | ||
| "name": "@matiasfic/intercom", | ||
| "version": "7.2.0", | ||
| "version": "7.2.1", | ||
| "description": "Enable Intercom features for Capacitor apps", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
76953
0.04%