fix(firebase-messaging): adjust deleteToken/removeToken signature

fix token remove function name according to https://github.com/chemerisuk/cordova-plugin-firebase-messaging#deletetoken
This commit is contained in:
capc0 2021-01-23 18:12:12 +01:00 committed by GitHub
parent e7bc1b6709
commit 72c99603db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,7 @@ export class FirebaseMessaging extends IonicNativePlugin {
* @returns {Promise<null>} * @returns {Promise<null>}
*/ */
@Cordova({ sync: true }) @Cordova({ sync: true })
revokeToken(): Promise<null> { deleteToken(): Promise<null> {
return; return;
} }
} }