mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
feat(adjust): Add Remote Config missing functions (#4756)
* Add missing functions * Revert changes to firebase * revert full stop * add callback functions * fix return types * fix callback function types * fix jsdoc
This commit is contained in:
parent
adb330aa63
commit
d65e7ee647
@ -797,6 +797,28 @@ export class FirebaseX extends AwesomeCordovaNativePlugin {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Asynchronously fetches and then activates the fetched configs.
|
||||
*
|
||||
* @param {Function} success - callback function which will be passed a {boolean} argument indicating whether result the current call activated the fetched config.
|
||||
* @param {Function} error - callback function which will be passed a {string} error message as an argument
|
||||
*/
|
||||
@Cordova()
|
||||
fetchAndActivate(success: (activated: boolean) => void, error: (err: string) => void): void {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a Map of Firebase Remote Config key value pairs.
|
||||
*
|
||||
* @param {Function} success - callback function which will be passed an {object} argument where key is the remote config key and value is the value as a string. If the expected key value is a different primitive type then cast it to the appropriate type.
|
||||
* @param {Function} error - callback function which will be passed a {string} error message as an argument
|
||||
*/
|
||||
@Cordova()
|
||||
getAll(success: (values: any) => void, error: (err: string) => void): void {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve a Remote Config value.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user