cordova-ionic-phonegap-branch-deep-linking-attribution
cordova-ionic-phonegap-branch-deep-linking-attribution copied to clipboard
NSTaggedPointerString error
I have an issue with using the sendCommerceEvent-Method of the module. As soon as I'm calling the method my ios app is crashing with the following error:
I am calling the method as following in my component:
NSTaggedPointerString countByEnumeratingWithState in Line 320 in the file BranchSDK.m
`var metadata = { customerEventAlias: 'Purchase Event', transactionID: this.buyInfo.transaction.original_transaction_id, currency: this.buyInfo.currency, revenue: this.buyInfo.prices, shipping: 0, tax: 0, coupon: 'test_coupon', affiliation: 'test_affiliation', description: 'Test add to cart event', searchQuery: 'test keyword', customData: this.buyInfo };
this.branch.sendCommerceEvent("PURCHASE", metadata);`
Does anyone had this issue before or do I send wrong data to the plugin?
We're experience the same thing and are not able to track events like TRIAL_STARTED and PURCHASE.
Are there any updates in this issue?
@felipeclopes No, unfortunately no updated. We decided to remove branch from our project.
Hey @marcelkipp @felipeclopes Can you provide additional information about your build environment? Cordova version, branch-cordova-sdk version, node version, Xcode version, installed plugins.
Please note that sendCommerceEvent
method is deprecated since v.3.1.0
Refer to https://help.branch.io/developers-hub/docs/cordova-phonegap-ionic#track-commerce for tracking commerce events.
I created this PR fixing the issue on IonicNative - so now the IonicNative Branch library has the correct method sendBranchEvent
implementation. It is merged and approved.
@echo-branch this issue can be closed.