mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
feat(facebook): add setAutoLogAppEventsEnabled method (#3606)
This commit is contained in:
parent
e4b171930d
commit
b4f0f07064
@ -287,6 +287,19 @@ export class Facebook extends IonicNativePlugin {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enable or disable the auto log app event feature - https://developers.facebook.com/docs/app-events/gdpr-compliance/
|
||||||
|
*
|
||||||
|
* @param {boolean} enabled value to be set
|
||||||
|
*/
|
||||||
|
@Cordova({
|
||||||
|
successIndex: 1,
|
||||||
|
errorIndex: 2,
|
||||||
|
})
|
||||||
|
setAutoLogAppEventsEnabled(enabled: boolean): Promise<void> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Log a purchase. For more information see the Events section above.
|
* Log a purchase. For more information see the Events section above.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user