diff --git a/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts index ba784f01a8..0a8fda3b8d 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts @@ -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 { return; } + /** + * Set new V2 consent mode + * + * @param {array} consent array of consent + */ + @Cordova() + setAnalyticsConsentMode(consent: []): Promise { + return; + } }