We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
We've got some crashs when tracking revenue on ios.
Here is the crash (reporting by firebase crash report) if (revenue != -1 || currency != NULL) { NSString *stringCurrency = [NSString stringWithUTF8String:currency]; [event setRevenue:revenue currency:stringCurrency]; }
It seems that the currency might be null in some cases, even if revenue != -1, so NSString *stringCurrency = [NSString stringWithUTF8String:currency]; raises an exception (see https://developer.apple.com/reference/foundation/nsstring/1497379-stringwithutf8string)
The text was updated successfully, but these errors were encountered:
Hi @paradizIscool,
Nice catch. 👍 Handing of this case will be added to v4.11.1.
Will keep you posted on this issue about the progress.
Cheers
Sorry, something went wrong.
Hi @paradizIscool
Should be fixed in just released v4.11.1: https://github.com/adjust/unity_sdk/releases/tag/v4.11.1
Let us know if you face this or any other issue.
Merge pull request #102 from adjust/docs-update
75ae84f
Update MAX SDK ad revenue tracking docs
No branches or pull requests
Hi,
We've got some crashs when tracking revenue on ios.
Here is the crash (reporting by firebase crash report)
if (revenue != -1 || currency != NULL) {
NSString *stringCurrency = [NSString stringWithUTF8String:currency];
[event setRevenue:revenue currency:stringCurrency];
}
It seems that the currency might be null in some cases, even if revenue != -1, so NSString *stringCurrency = [NSString stringWithUTF8String:currency]; raises an exception (see https://developer.apple.com/reference/foundation/nsstring/1497379-stringwithutf8string)
The text was updated successfully, but these errors were encountered: