diff --git a/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts index 9a7782244..f404b617b 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts @@ -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. *