feat(firebase-x): add consent mode (#4779)

This commit is contained in:
Massimiliano Modena 2024-07-11 08:01:43 +02:00 committed by GitHub
parent 90efdc9481
commit 09bc540b80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,6 +118,7 @@ export interface MessagePayloadAps {
body: string;
};
}
export interface MessagePayload {
title?: string;
body?: string;
@ -1032,4 +1033,13 @@ export class FirebaseX extends AwesomeCordovaNativePlugin {
): Promise<any> {
return;
}
/**
* Set new V2 consent mode
*
* @param {array} consent array of consent
*/
@Cordova()
setAnalyticsConsentMode(consent: []): Promise<any> {
return;
}
}