mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
feat(firebase-x): add consent mode (#4779)
This commit is contained in:
parent
90efdc9481
commit
09bc540b80
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user