feat(facebook): add setAutoLogAppEventsEnabled method (#3606)

This commit is contained in:
Hans Krywalsky 2021-01-23 18:10:13 +01:00 committed by GitHub
parent e4b171930d
commit b4f0f07064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
* *