Skip to content

Commit efa8657

Browse files
authored
Added FCM.deleteInstanceId()
1 parent f25c6eb commit efa8657

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Example:
147147
- [As its own](#as-its-own)
148148
- [FCM.clearAllNotifications()](#fcmclearallnotifications)
149149
- [FCM.createNotificationChannel()](#fcmcreatenotificationchannel)
150+
- [FCM.deleteInstanceId()]
150151
- [FCM.getAPNSToken()](#fcmgetapnstoken)
151152
- [FCM.getInitialPushPayload()](#fcmgetinitialpushpayload)
152153
- [FCM.getToken()](#fcmgettoken)
@@ -190,6 +191,13 @@ await FCM.createNotificationChannel({
190191
});
191192
```
192193

194+
##### FCM.deleteInstanceId()
195+
196+
Deletes the InstanceId, revoking all tokens.
197+
```typescript
198+
await FCM.deleteInstanceId();
199+
```
200+
193201
##### FCM.getAPNSToken()
194202

195203
Gets iOS device's current APNS token.

0 commit comments

Comments
 (0)