[MOD-2244] iOS / Android: Support "logPurchase" in Ti.Facebook
GitHub Issue | n/a |
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-04-25T16:33:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | Facebook |
Labels | qe-5.4.0, ti.facebook |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2016-04-17T12:17:23.000+0000 |
Updated | 2016-07-26T18:57:14.000+0000 |
Description
There is a community PR supporting the "logPurchase" method on Android. We should grab that great contribution, add iOS support and make it available.
Attachments
PR (including the community PR and added example, iOS implementation, docs and readme): https://github.com/appcelerator-modules/ti.facebook/pull/49 Demo:
Expected behavior: The application does not crash and a purchase is logged in the Developer Analytics dashboard (might be delayed like when logging events).
Verified as fixed,
logPurchase
is now supported for iOS / Android platform. Events can be seen on the Developer Analytics Dashboard on the Facebook Developer website _(See Screenshot)_ Tested On: iPhone 6S (9.3.2) Device Nexus 6P (6.0.1) Device Mac OSX El Capitan 10.11.5 Ti SDK: 5.4.0.v20160725003348 Appc Studio: 4.7.0.201607111053 Appc NPM: 4.2.7 App CLI: 5.4.0-34 Xcode 7.3 Node v4.4.7 *Closing ticket.*