diff --git a/src/plugins/facebook.ts b/src/plugins/facebook.ts index 1678d6832..7add1fc2e 100644 --- a/src/plugins/facebook.ts +++ b/src/plugins/facebook.ts @@ -232,7 +232,10 @@ export class Facebook { * @param {number} [valueToSum] any value to be added to added to a sum on each event * @returns {Promise} */ - @Cordova() + @Cordova({ + successIndex: 3, + errorIndex: 4 + }) static logEvent( name: string, params?: Object,