diff --git a/src/@ionic-native/plugins/facebook/index.ts b/src/@ionic-native/plugins/facebook/index.ts index dc877ee5c..18d36ec87 100644 --- a/src/@ionic-native/plugins/facebook/index.ts +++ b/src/@ionic-native/plugins/facebook/index.ts @@ -287,6 +287,19 @@ export class Facebook extends IonicNativePlugin { 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 { + return; + } + /** * Log a purchase. For more information see the Events section above. *