Skip to content

Commit e9a565f

Browse files
authored
Merge pull request #62 from AppsFlyerSDK/dev/DELIVERY-99942/update-6.17.2
Update 6.17.2
2 parents f82c9c7 + 1cc0c27 commit e9a565f

File tree

104 files changed

+1538
-11888
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+1538
-11888
lines changed

AppsFlyerBinding.iOS/AppsFlyerBinding.iOS.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<SupportedOSPlatformVersion>12.0</SupportedOSPlatformVersion>
99
<RootNamespace>AppsFlyerXamarinBinding</RootNamespace>
1010
<AssemblyName>AppsFlyerBinding.iOS</AssemblyName>
11-
<AssemblyVersion>6.17.0</AssemblyVersion>
12-
<FileVersion>6.17.0</FileVersion>
11+
<AssemblyVersion>6.17.2</AssemblyVersion>
12+
<FileVersion>6.17.2</FileVersion>
1313
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1414
<EnableSwiftRuntimeSupport>true</EnableSwiftRuntimeSupport>
1515
</PropertyGroup>
@@ -23,7 +23,7 @@
2323
<Copyright>AppsFlyer</Copyright>
2424
<PackageProjectUrl>https://github.com/AppsFlyerSDK/XamariniOSBinding</PackageProjectUrl>
2525
<PackageReadmeFile>README.md</PackageReadmeFile>
26-
<PackageVersion>6.17.0</PackageVersion>
26+
<PackageVersion>6.17.2</PackageVersion>
2727
</PropertyGroup>
2828

2929
<ItemGroup>

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66

7+
## [6.17.2] - 2025-08-12
8+
9+
### Changed
10+
- Bump version to 6.17.2
11+
- Update ValidateAndLog API
12+
713
## [6.17.0] - 2024-05-04
814

915
### Changed

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Built with AppsFlyer iOS SDK `v6.17.0`
88
## ❗ v6 Breaking Changes
99

1010
Upgraded to .NET 8.0
11+
12+
### ⚠️ Breaking Changes in v6.17.2
13+
14+
**ValidateAndLog API:** Changed API parameters - now `AFSDKPurchaseDetails` only accepts `productId`, `transactionId`, and `purchaseType` (new enum). See [implementation example](#validateAndLogV2) for the new callback signature with `response` or `error`.
1115

1216
# Overview
1317

@@ -310,13 +314,25 @@ Use it this way:
310314

311315
## ValidateAndLogV2
312316
[Here](https://dev.appsflyer.com/hc/docs/validate-and-log-purchase-ios) you can find the info on what is the ValidateAndLog API purpose.
317+
318+
### AFSDKPurchaseType Enum
319+
320+
A new enum `AFSDKPurchaseType` is now used to specify the purchase type in the `AFSDKPurchaseDetails` constructor for the ValidateAndLog API. The available values are:
321+
322+
- `AFSDKPurchaseType.Subscription` — for subscription-based purchases (e.g., monthly or yearly recurring payments).
323+
- `AFSDKPurchaseType.OneTimePurchase` — for one-time purchases (e.g., single in-app purchase, non-recurring).
324+
313325
```c#
314-
AFSDKPurchaseDetails details = new AFSDKPurchaseDetails("1234", "4.0", "USD", "123456789");
315-
AppsFlyerLib.Shared.ValidateAndLogInAppPurchase(details, dictionary, (dict) =>
326+
AFSDKPurchaseDetails details = new AFSDKPurchaseDetails("1234", "123456789", AFSDKPurchaseType.OneTimePurchase);
327+
AppsFlyerLib.Shared.ValidateAndLogInAppPurchase(details, dictionary, (response, error) =>
316328
{
317-
Console.WriteLine(dict.Description);
318-
Console.WriteLine(dict.status);
319-
Console.WriteLine(dict.error.Description);
329+
if (error != null)
330+
{
331+
Console.WriteLine($"Error: {error.Description}");
332+
return;
333+
}
334+
335+
Console.WriteLine($"Status: {response.Status}");
320336
});
321337
```
322338

frameworks/AppsFlyerLib.xcframework/Info.plist

Lines changed: 14 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,39 @@
44
<dict>
55
<key>AvailableLibraries</key>
66
<array>
7-
<dict>
8-
<key>BinaryPath</key>
9-
<string>AppsFlyerLib.framework/Versions/A/AppsFlyerLib</string>
10-
<key>LibraryIdentifier</key>
11-
<string>macos-arm64_x86_64</string>
12-
<key>LibraryPath</key>
13-
<string>AppsFlyerLib.framework</string>
14-
<key>SupportedArchitectures</key>
15-
<array>
16-
<string>arm64</string>
17-
<string>x86_64</string>
18-
</array>
19-
<key>SupportedPlatform</key>
20-
<string>macos</string>
21-
</dict>
227
<dict>
238
<key>BinaryPath</key>
249
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
2510
<key>LibraryIdentifier</key>
26-
<string>tvos-arm64</string>
11+
<string>ios-arm64_x86_64-simulator</string>
2712
<key>LibraryPath</key>
2813
<string>AppsFlyerLib.framework</string>
2914
<key>SupportedArchitectures</key>
3015
<array>
3116
<string>arm64</string>
17+
<string>x86_64</string>
3218
</array>
3319
<key>SupportedPlatform</key>
34-
<string>tvos</string>
20+
<string>ios</string>
21+
<key>SupportedPlatformVariant</key>
22+
<string>simulator</string>
3523
</dict>
3624
<dict>
3725
<key>BinaryPath</key>
38-
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
26+
<string>AppsFlyerLib.framework/Versions/A/AppsFlyerLib</string>
3927
<key>LibraryIdentifier</key>
40-
<string>ios-arm64</string>
28+
<string>ios-arm64_x86_64-maccatalyst</string>
4129
<key>LibraryPath</key>
4230
<string>AppsFlyerLib.framework</string>
4331
<key>SupportedArchitectures</key>
4432
<array>
4533
<string>arm64</string>
34+
<string>x86_64</string>
4635
</array>
4736
<key>SupportedPlatform</key>
4837
<string>ios</string>
38+
<key>SupportedPlatformVariant</key>
39+
<string>maccatalyst</string>
4940
</dict>
5041
<dict>
5142
<key>BinaryPath</key>
@@ -68,35 +59,29 @@
6859
<key>BinaryPath</key>
6960
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
7061
<key>LibraryIdentifier</key>
71-
<string>ios-arm64_x86_64-simulator</string>
62+
<string>tvos-arm64</string>
7263
<key>LibraryPath</key>
7364
<string>AppsFlyerLib.framework</string>
7465
<key>SupportedArchitectures</key>
7566
<array>
7667
<string>arm64</string>
77-
<string>x86_64</string>
7868
</array>
7969
<key>SupportedPlatform</key>
80-
<string>ios</string>
81-
<key>SupportedPlatformVariant</key>
82-
<string>simulator</string>
70+
<string>tvos</string>
8371
</dict>
8472
<dict>
8573
<key>BinaryPath</key>
86-
<string>AppsFlyerLib.framework/Versions/A/AppsFlyerLib</string>
74+
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
8775
<key>LibraryIdentifier</key>
88-
<string>ios-arm64_x86_64-maccatalyst</string>
76+
<string>ios-arm64</string>
8977
<key>LibraryPath</key>
9078
<string>AppsFlyerLib.framework</string>
9179
<key>SupportedArchitectures</key>
9280
<array>
9381
<string>arm64</string>
94-
<string>x86_64</string>
9582
</array>
9683
<key>SupportedPlatform</key>
9784
<string>ios</string>
98-
<key>SupportedPlatformVariant</key>
99-
<string>maccatalyst</string>
10085
</dict>
10186
</array>
10287
<key>CFBundlePackageType</key>
-156 Bytes
Binary file not shown.
-176 Bytes
Binary file not shown.
-204 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)