mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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;
|
body: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface MessagePayload {
|
export interface MessagePayload {
|
||||||
title?: string;
|
title?: string;
|
||||||
body?: string;
|
body?: string;
|
||||||
@ -1032,4 +1033,13 @@ export class FirebaseX extends AwesomeCordovaNativePlugin {
|
|||||||
): Promise<any> {
|
): Promise<any> {
|
||||||
return;
|
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