mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
feat(unvired-cordova-sdk): add method to get log file path (#3222)
* feat(unvired-cordova-sdk): support login via email * fix(unvired-cordova-sdk): return typed promise object for user settings * fix(unvired-cordova-sdk): change return type to string for guid() * doc(unvired-cordova-sdk): doc update * doc(unvired-cordova-sdk): update doc * feat(unvired-cordova-sdk): add support for metadata JSON * doc(unvired-cordova-sdk): update doc * doc(unvired-cordova-sdk): update doc * feat(unvired-cordova-sdk): add methods to get and set log level * fix(unvired-cordova-sdk): update the return type for getLog() * feat(unvired-cordova-sdk): return platform name * feat(unvired-cordova-sdk): add method to get log file path * feat(unvired-cordova-sdk): test push notifications * fix(unvired-cordova-sdk): define return for logRead
This commit is contained in:
parent
01bfa5cc5e
commit
f4b03bcce4
@ -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<any> {
|
||||
logRead(): Promise<LogDataResult> {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -600,6 +605,14 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the path of the log file.
|
||||
*/
|
||||
@Cordova()
|
||||
getLogFilePath(): Promise<string> {
|
||||
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<string> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mobile Platform only.
|
||||
* Test whether push notifications can be received on the device
|
||||
*/
|
||||
@Cordova()
|
||||
testPushNotification(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user