fix(facebook): fixes issue when not supplying default params (#1088)

* Fix default facebook logEvent parameters

* Implement correct parameters format in facebook logEvent method
This commit is contained in:
Noel De Martin 2017-02-23 09:52:49 +01:00 committed by Ibby Hadeed
parent b4b7cfa473
commit 85a3a40795

View File

@ -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<any>}
*/
@Cordova()
@Cordova({
successIndex: 3,
errorIndex: 4
})
static logEvent(
name: string,
params?: Object,