Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSTaggedPointerString error #671

Open
marcelkipp opened this issue Sep 16, 2020 · 5 comments
Open

NSTaggedPointerString error #671

marcelkipp opened this issue Sep 16, 2020 · 5 comments

Comments

@marcelkipp
Copy link

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?

@felipeclopes
Copy link

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?

@marcelkipp
Copy link
Author

@felipeclopes No, unfortunately no updated. We decided to remove branch from our project.

@adrianyg7
Copy link
Contributor

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.

@felipeclopes
Copy link

felipeclopes commented Jul 20, 2021

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.

@felipeclopes
Copy link

@echo-branch this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants