mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
fix(fcm): fix method name (#1531)
This commit is contained in:
parent
45108c4c18
commit
ad514bbf63
@ -49,7 +49,7 @@ export interface NotificationData {
|
||||
* backend.registerToken(token);
|
||||
* })
|
||||
*
|
||||
* fcm.unsubscribeToTopic('marketing');
|
||||
* fcm.unsubscribeFromTopic('marketing');
|
||||
*
|
||||
* ```
|
||||
* @interfaces
|
||||
@ -101,7 +101,7 @@ export class FCM extends IonicNativePlugin {
|
||||
* @returns {Promise<any>} Returns a promise resolving in result of unsubscribing from a topic
|
||||
*/
|
||||
@Cordova()
|
||||
unsubscribeToTopic(topic: string): Promise<any> { return; }
|
||||
unsubscribeFromTopic(topic: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Watch for incoming notifications
|
||||
|
Loading…
Reference in New Issue
Block a user