Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2244] iOS / Android: Support "logPurchase" in Ti.Facebook

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-04-25T16:33:04.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsFacebook
Labelsqe-5.4.0, ti.facebook
ReporterHans Knöchel
AssigneeHans Knöchel
Created2016-04-17T12:17:23.000+0000
Updated2016-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

FileDateSize
logPurchase.png2016-07-26T18:56:50.000+000051554

Comments

  1. Hans Knöchel 2016-04-17

    PR (including the community PR and added example, iOS implementation, docs and readme): https://github.com/appcelerator-modules/ti.facebook/pull/49 Demo:
       var fb = require("facebook");
       fb.initialize();
       fb.logPurchase(13.37, "EUR");
       
    Expected behavior: The application does not crash and a purchase is logged in the Developer Analytics dashboard (might be delayed like when logging events).
  2. Harry Bryant 2016-07-26

    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.*

JSON Source