Skip to content

Commit f893a3e

Browse files
Update README.md
1 parent 79f2f86 commit f893a3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Full example:
276276
## ValidateAndLogV2
277277
[Here](https://dev.appsflyer.com/hc/docs/validate-and-log-purchase-ios) you can find the info on what is the ValidateAndLog API purpose.
278278
```c#
279-
AFSDKPurchaseDetails details = new AFSDKPurchaseDetails().initWithProductId("1234", "4.0", "USD", "123456789");
279+
AFSDKPurchaseDetails details = new AFSDKPurchaseDetails("1234", "4.0", "USD", "123456789");
280280
AppsFlyerLib.Shared.ValidateAndLogInAppPurchase(details, dictionary, (dict) =>
281281
{
282282
Console.WriteLine(dict.Description);
@@ -288,7 +288,7 @@ AppsFlyerLib.Shared.ValidateAndLogInAppPurchase(details, dictionary, (dict) =>
288288
## LogAdRevenue
289289
[Here](https://dev.appsflyer.com/hc/docs/ad-revenue-2) you can find the info on what is the LogAdRevenue API purpose.
290290
```c#
291-
AFAdRevenueData adRevenueData = new AFAdRevenueData().initWithMonetizationNetwork("ironsource", AppsFlyerAdRevenueMediationNetworkType.Admost, "USD", 23.3);
291+
AFAdRevenueData adRevenueData = new AFAdRevenueData("ironsource", AppsFlyerAdRevenueMediationNetworkType.Admost, "USD", 23.3);
292292
AppsFlyerLib.Shared.LogAdRevenue(adRevenueData, dictionary);
293293
```
294294

0 commit comments

Comments
 (0)