Skip to content

Commit

Permalink
feat(facebook): add setAutoLogAppEventsEnabled method (#3606)
Browse files Browse the repository at this point in the history
  • Loading branch information
EinfachHans authored Jan 23, 2021
1 parent e4b1719 commit b4f0f07
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/@ionic-native/plugins/facebook/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
return;
}

/**
* Log a purchase. For more information see the Events section above.
*
Expand Down

0 comments on commit b4f0f07

Please sign in to comment.