mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
doc(unvired-cordova-sdk): remove mobile only restriction for some of the apis (#3251)
* 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 * doc(unvired-cordova-sdk): remove mobile only restriction for some apis
This commit is contained in:
parent
ecd451ceb3
commit
6f4d23d072
@ -803,10 +803,8 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
* Mobile: Or a Sqlite whereClause ( without the 'where' keyword )
|
* Mobile: Or a Sqlite whereClause ( without the 'where' keyword )
|
||||||
* Example:
|
* Example:
|
||||||
* ```
|
* ```
|
||||||
* # Mobile: Select values from FORM_HEADER table where FORM_ID is 5caed815892215034dacad56
|
* # Select values from FORM_HEADER table where FORM_ID is 5caed815892215034dacad56
|
||||||
* this.unviredSDK.dbSelect('FORM_HEADER', "FORM_ID = '5caed815892215034dacad56'")
|
* this.unviredSDK.dbSelect('FORM_HEADER', "FORM_ID = '5caed815892215034dacad56'")
|
||||||
* # Mobile & Browser: Select values from FORM_HEADER table where FORM_ID is 5caed815892215034dacad56
|
|
||||||
* this.unviredSDK.dbSelect('FORM_HEADER', {"FORM_ID": "5caed815892215034dacad56"})
|
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
@ -855,11 +853,8 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
* Mobile: Or a Sqlite whereClause ( without the 'where' keyword )
|
* Mobile: Or a Sqlite whereClause ( without the 'where' keyword )
|
||||||
* Example:
|
* Example:
|
||||||
* ```
|
* ```
|
||||||
* Select values from FORM_HEADER table where FORM_ID is 5caed815892215034dacad56
|
* # Select values from FORM_HEADER table where FORM_ID is 5caed815892215034dacad56
|
||||||
* # Mobile
|
|
||||||
* this.unviredSDK.dbDelete('FORM_HEADER', "FORM_ID = '5caed815892215034dacad56'")
|
* this.unviredSDK.dbDelete('FORM_HEADER', "FORM_ID = '5caed815892215034dacad56'")
|
||||||
* # Browser & Mobile
|
|
||||||
* this.unviredSDK.dbDelete('FORM_HEADER', {"FORM_ID": "5caed815892215034dacad56"})
|
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
@ -875,11 +870,8 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
* Mobile: Or a Sqlite where Clause ( without the 'where' keyword )
|
* Mobile: Or a Sqlite where Clause ( without the 'where' keyword )
|
||||||
* Example:
|
* Example:
|
||||||
* ```
|
* ```
|
||||||
* Update NAME & NO from FORM_HEADER table where FORM_ID is 5caed815892215034dacad56
|
* # Update NAME & NO from FORM_HEADER table where FORM_ID is 5caed815892215034dacad56
|
||||||
* # Mobile
|
|
||||||
* this.unviredSDK.dbUpdate('FORM_HEADER', {"NAME":"UPDATED_USER","UPDATED_NO":"0039"}, "FORM_ID = '5caed815892215034dacad56'")
|
* this.unviredSDK.dbUpdate('FORM_HEADER', {"NAME":"UPDATED_USER","UPDATED_NO":"0039"}, "FORM_ID = '5caed815892215034dacad56'")
|
||||||
* # Mobile & Browser
|
|
||||||
* this.unviredSDK.dbUpdate('FORM_HEADER', {"NAME":"UPDATED_USER","UPDATED_NO":"0039"}, {"FORM_ID": "5caed815892215034dacad56"})
|
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
@ -888,12 +880,11 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supported in mobile only.
|
* Execute a SQL statement
|
||||||
* Execute SQL Statement
|
|
||||||
* @param query {string} SQL Statement.
|
* @param query {string} SQL Statement.
|
||||||
* Example:
|
* Example:
|
||||||
* ```
|
* ```
|
||||||
* this.unviredSDK.dbExecuteStatement('SELECT * FROM CUSTOMER_HEADER WHERE CUSTOMER_ID = 39')
|
* this.unviredSDK.dbExecuteStatement("SELECT * FROM CUSTOMER_HEADER WHERE CUSTOMER_ID = '39'")
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
@ -902,7 +893,6 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supported in mobile only.
|
|
||||||
* Create Savepoint. For more info consult SQLite Documentation ( https://www.sqlite.org/lang_savepoint.html )
|
* Create Savepoint. For more info consult SQLite Documentation ( https://www.sqlite.org/lang_savepoint.html )
|
||||||
* @param savePoint {string} Name of savepoint
|
* @param savePoint {string} Name of savepoint
|
||||||
* Example:
|
* Example:
|
||||||
@ -916,7 +906,6 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supported in mobile only.
|
|
||||||
* Release Savepoint. For more info consult SQLite Documentation ( https://www.sqlite.org/lang_savepoint.html )
|
* Release Savepoint. For more info consult SQLite Documentation ( https://www.sqlite.org/lang_savepoint.html )
|
||||||
* @param savePoint {string} Name of savepoint
|
* @param savePoint {string} Name of savepoint
|
||||||
* ```
|
* ```
|
||||||
@ -929,7 +918,6 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supported in mobile only.
|
|
||||||
* Rollback Savepoint. For more info consult SQLite Documentation ( https://www.sqlite.org/lang_savepoint.html )
|
* Rollback Savepoint. For more info consult SQLite Documentation ( https://www.sqlite.org/lang_savepoint.html )
|
||||||
* @param savePoint {string} Name of the savepoint
|
* @param savePoint {string} Name of the savepoint
|
||||||
* Example:
|
* Example:
|
||||||
@ -943,7 +931,6 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supported in mobile only.
|
|
||||||
* Begin database transaction.
|
* Begin database transaction.
|
||||||
* For more info, consult SQLite documentation ( https://www.sqlite.org/lang_transaction.html )
|
* For more info, consult SQLite documentation ( https://www.sqlite.org/lang_transaction.html )
|
||||||
* Example:
|
* Example:
|
||||||
@ -957,7 +944,6 @@ export class UnviredCordovaSDK extends IonicNativePlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supported in mobile only.
|
|
||||||
* End database transaction.
|
* End database transaction.
|
||||||
* For more info, consult SQLite documentation ( https://www.sqlite.org/lang_transaction.html )
|
* For more info, consult SQLite documentation ( https://www.sqlite.org/lang_transaction.html )
|
||||||
* Example:
|
* Example:
|
||||||
|
Loading…
Reference in New Issue
Block a user