Skip to content

Commit 8f5cff9

Browse files
Merge pull request #57 from AppsFlyerSDK/dev/DELIVERY-80634
Dev/delivery 80634
2 parents aee4cdd + f893a3e commit 8f5cff9

File tree

138 files changed

+12418
-329
lines changed

Some content is hidden

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

138 files changed

+12418
-329
lines changed

AppsFlyerBinding.iOS/AppsFlyerBinding.iOS.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<Project Sdk="Xamarin.Legacy.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>xamarin.ios10;net6.0-ios</TargetFrameworks>
3+
<TargetFrameworks>xamarin.ios10;net7.0-ios</TargetFrameworks>
44
<NoNFloatUsing Condition="'$(TargetFramework)' == 'xamarin.ios10'">true</NoNFloatUsing>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>true</ImplicitUsings>
77
<IsBindingProject>true</IsBindingProject>
88
<NoBindingEmbedding>true</NoBindingEmbedding>
9-
<SupportedOSPlatformVersion>10.0</SupportedOSPlatformVersion>
9+
<SupportedOSPlatformVersion>12.0</SupportedOSPlatformVersion>
1010
<RootNamespace>AppsFlyerXamarinBinding</RootNamespace>
1111
<AssemblyName>AppsFlyerBinding.iOS</AssemblyName>
12-
<AssemblyVersion>6.13.1</AssemblyVersion>
13-
<FileVersion>6.13.1</FileVersion>
12+
<AssemblyVersion>6.15.3</AssemblyVersion>
13+
<FileVersion>6.15.3</FileVersion>
1414
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1515
</PropertyGroup>
1616
<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.13.1</PackageVersion>
26+
<PackageVersion>6.15.3</PackageVersion>
2727
<!-- <GeneratePackageOnBuild>true</GeneratePackageOnBuild> -->
2828
</PropertyGroup>
2929

README.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Xamarin Binding integration guide For iOS
44

5-
AppsFlyer Xamarin Binding version `v6.13.1` <br>
6-
Built with AppsFlyer iOS SDK `v6.13.1`
5+
AppsFlyer Xamarin Binding version `v6.15.3` <br>
6+
Built with AppsFlyer iOS SDK `v6.15.3`
77

88
## ❗ v6 Breaking Changes
99

@@ -33,6 +33,8 @@ The API for the binding coincides with the native iOS API, which can be found [h
3333
- [Logging In-App Events](#adding_events)
3434
- [Get Conversion Data](#conversion_data)
3535
- [Stop](#Stop)
36+
- [validateAndLogV2](#validateAndLogV2)
37+
- [logAdRevenue](#logAdRevenue)
3638
- [Sample App](#sample_app)
3739

3840

@@ -271,6 +273,25 @@ Full example:
271273
AppsFlyerLib.Shared.Start();
272274
}
273275
```
276+
## ValidateAndLogV2
277+
[Here](https://dev.appsflyer.com/hc/docs/validate-and-log-purchase-ios) you can find the info on what is the ValidateAndLog API purpose.
278+
```c#
279+
AFSDKPurchaseDetails details = new AFSDKPurchaseDetails("1234", "4.0", "USD", "123456789");
280+
AppsFlyerLib.Shared.ValidateAndLogInAppPurchase(details, dictionary, (dict) =>
281+
{
282+
Console.WriteLine(dict.Description);
283+
Console.WriteLine(dict.status);
284+
Console.WriteLine(dict.error.Description);
285+
});
286+
```
287+
288+
## LogAdRevenue
289+
[Here](https://dev.appsflyer.com/hc/docs/ad-revenue-2) you can find the info on what is the LogAdRevenue API purpose.
290+
```c#
291+
AFAdRevenueData adRevenueData = new AFAdRevenueData("ironsource", AppsFlyerAdRevenueMediationNetworkType.Admost, "USD", 23.3);
292+
AppsFlyerLib.Shared.LogAdRevenue(adRevenueData, dictionary);
293+
```
294+
274295
## Sample App
275296
Sample apps for `xamarin.ios10` and `net6.0-ios` can be found here:
276297
```

frameworks/AppsFlyerLib.xcframework/Info.plist

+28-18
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,41 @@
55
<key>AvailableLibraries</key>
66
<array>
77
<dict>
8+
<key>BinaryPath</key>
9+
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
810
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_armv7</string>
11+
<string>tvos-arm64_x86_64-simulator</string>
1012
<key>LibraryPath</key>
1113
<string>AppsFlyerLib.framework</string>
1214
<key>SupportedArchitectures</key>
1315
<array>
1416
<string>arm64</string>
15-
<string>armv7</string>
17+
<string>x86_64</string>
1618
</array>
1719
<key>SupportedPlatform</key>
18-
<string>ios</string>
20+
<string>tvos</string>
21+
<key>SupportedPlatformVariant</key>
22+
<string>simulator</string>
1923
</dict>
2024
<dict>
25+
<key>BinaryPath</key>
26+
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
2127
<key>LibraryIdentifier</key>
22-
<string>ios-arm64_i386_x86_64-simulator</string>
28+
<string>ios-arm64</string>
2329
<key>LibraryPath</key>
2430
<string>AppsFlyerLib.framework</string>
2531
<key>SupportedArchitectures</key>
2632
<array>
2733
<string>arm64</string>
28-
<string>i386</string>
29-
<string>x86_64</string>
3034
</array>
3135
<key>SupportedPlatform</key>
3236
<string>ios</string>
33-
<key>SupportedPlatformVariant</key>
34-
<string>simulator</string>
3537
</dict>
3638
<dict>
39+
<key>BinaryPath</key>
40+
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
3741
<key>LibraryIdentifier</key>
38-
<string>ios-arm64_x86_64-maccatalyst</string>
42+
<string>ios-arm64_x86_64-simulator</string>
3943
<key>LibraryPath</key>
4044
<string>AppsFlyerLib.framework</string>
4145
<key>SupportedArchitectures</key>
@@ -46,11 +50,13 @@
4650
<key>SupportedPlatform</key>
4751
<string>ios</string>
4852
<key>SupportedPlatformVariant</key>
49-
<string>maccatalyst</string>
53+
<string>simulator</string>
5054
</dict>
5155
<dict>
56+
<key>BinaryPath</key>
57+
<string>AppsFlyerLib.framework/Versions/A/AppsFlyerLib</string>
5258
<key>LibraryIdentifier</key>
53-
<string>macos-arm64_x86_64</string>
59+
<string>ios-arm64_x86_64-maccatalyst</string>
5460
<key>LibraryPath</key>
5561
<string>AppsFlyerLib.framework</string>
5662
<key>SupportedArchitectures</key>
@@ -59,34 +65,38 @@
5965
<string>x86_64</string>
6066
</array>
6167
<key>SupportedPlatform</key>
62-
<string>macos</string>
68+
<string>ios</string>
69+
<key>SupportedPlatformVariant</key>
70+
<string>maccatalyst</string>
6371
</dict>
6472
<dict>
73+
<key>BinaryPath</key>
74+
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
6575
<key>LibraryIdentifier</key>
66-
<string>tvos-arm64_x86_64-simulator</string>
76+
<string>tvos-arm64</string>
6777
<key>LibraryPath</key>
6878
<string>AppsFlyerLib.framework</string>
6979
<key>SupportedArchitectures</key>
7080
<array>
7181
<string>arm64</string>
72-
<string>x86_64</string>
7382
</array>
7483
<key>SupportedPlatform</key>
7584
<string>tvos</string>
76-
<key>SupportedPlatformVariant</key>
77-
<string>simulator</string>
7885
</dict>
7986
<dict>
87+
<key>BinaryPath</key>
88+
<string>AppsFlyerLib.framework/Versions/A/AppsFlyerLib</string>
8089
<key>LibraryIdentifier</key>
81-
<string>tvos-arm64</string>
90+
<string>macos-arm64_x86_64</string>
8291
<key>LibraryPath</key>
8392
<string>AppsFlyerLib.framework</string>
8493
<key>SupportedArchitectures</key>
8594
<array>
8695
<string>arm64</string>
96+
<string>x86_64</string>
8797
</array>
8898
<key>SupportedPlatform</key>
89-
<string>tvos</string>
99+
<string>macos</string>
90100
</dict>
91101
</array>
92102
<key>CFBundlePackageType</key>
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)