doc(unvired-cordova-sdk): remove clearFunction

This commit is contained in:
Srinidhi Anand Rao 2019-07-23 13:57:37 +05:30
parent 50408b08c6
commit a0779de633

View File

@ -980,21 +980,12 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
* Only one class can subscribe to notifications are any point of time. * Only one class can subscribe to notifications are any point of time.
*/ */
@Cordova({ @Cordova({
observable: true, observable: true
clearFunction: 'unRegisterNotifListener'
}) })
registerNotifListener(): Observable<NotifResult> { registerNotifListener(): Observable<NotifResult> {
return; return;
} }
/**
* Unregister the notification listener previously registered.
*/
@Cordova()
unRegisterNotifListener(): Promise<any> {
return;
}
/** /**
* Supported in mobile only * Supported in mobile only
* Check whether a Header datastructure is in outbox. * Check whether a Header datastructure is in outbox.