mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +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
|
* @param {number} [valueToSum] any value to be added to added to a sum on each event
|
||||||
* @returns {Promise<any>}
|
* @returns {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova({
|
||||||
|
successIndex: 3,
|
||||||
|
errorIndex: 4
|
||||||
|
})
|
||||||
static logEvent(
|
static logEvent(
|
||||||
name: string,
|
name: string,
|
||||||
params?: Object,
|
params?: Object,
|
||||||
|
Loading…
Reference in New Issue
Block a user