mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
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:
parent
b4b7cfa473
commit
85a3a40795
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user