diff --git a/src/@ionic-native/plugins/unvired-cordova-sdk/index.ts b/src/@ionic-native/plugins/unvired-cordova-sdk/index.ts index 9bd06934f..b19658c7a 100644 --- a/src/@ionic-native/plugins/unvired-cordova-sdk/index.ts +++ b/src/@ionic-native/plugins/unvired-cordova-sdk/index.ts @@ -243,6 +243,11 @@ export class LogResult extends UnviredResult { data: LogLevel; } +export class LogDataResult extends UnviredResult { + type: ResultType; + data: string; +} + export class NotifResult extends UnviredResult { type: NotificationListenerType; } @@ -564,7 +569,7 @@ export class UnviredCordovaSDK extends IonicNativePlugin { * Returns the contents of the log file as a string. */ @Cordova() - logRead(): Promise { + logRead(): Promise { return; } @@ -600,6 +605,14 @@ export class UnviredCordovaSDK extends IonicNativePlugin { return; } + /** + * Returns the path of the log file. + */ + @Cordova() + getLogFilePath(): Promise { + return; + } + /** * Set the log level of the app. * @param logLevel The log level to set @@ -1282,4 +1295,13 @@ export class UnviredCordovaSDK extends IonicNativePlugin { platform(): Promise { return; } + + /** + * Mobile Platform only. + * Test whether push notifications can be received on the device + */ + @Cordova() + testPushNotification(): Promise { + return; + } }