[MOD-2248] Ti.Facebook: Support "logCustomEvent" with optional arguments
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-04-25T10:51:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | |
Labels | android, facebook, iOS, qe-5.4.0 |
Reporter | hy |
Assignee | Hans Knöchel |
Created | 2016-04-21T07:13:36.000+0000 |
Updated | 2016-07-11T22:58:24.000+0000 |
Description
Base on Facebook [iOS](https://developers.facebook.com/docs/app-events/ios#custom) and [Android](https://developers.facebook.com/docs/app-events/android#custom) docs, custom events can be logged with a
valueToSum
and a set of parameters
(up to 25 parameters).
PR: [https://github.com/appcelerator-modules/ti.facebook/pull/50](https://github.com/appcelerator-modules/ti.facebook/pull/50)
Demo:
Output in the analytics console: http://abload.de/img/bildschirmfoto2016-04edk0b.png
Verified as fixed. logCustomEvent is now supported. Tested demo code with both iOS & Android platforms and was able to see the appropriate custom event and values in the Analytics Console on the Facebook Developer website. Tested On: iPhone 6S (9.3.2) Device Nexus 6P (6.0.1) Device Facebook Module (5.2.0) Mac OSX El Capitan 10.11.5 Ti SDK: 5.4.0.v20160705213725 Appc Studio: 4.7.0.201607111053 Appc NPM: 4.2.8-1 App CLI: 5.4.0-29 Xcode 7.3 Node v4.4.7 *Closing ticket.*