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

Dev/delivery 80634 #57

Merged
merged 13 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions AppsFlyerBinding.iOS/AppsFlyerBinding.iOS.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>xamarin.ios10;net6.0-ios</TargetFrameworks>
<TargetFrameworks>xamarin.ios10;net7.0-ios</TargetFrameworks>
<NoNFloatUsing Condition="'$(TargetFramework)' == 'xamarin.ios10'">true</NoNFloatUsing>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<IsBindingProject>true</IsBindingProject>
<NoBindingEmbedding>true</NoBindingEmbedding>
<SupportedOSPlatformVersion>10.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion>12.0</SupportedOSPlatformVersion>
<RootNamespace>AppsFlyerXamarinBinding</RootNamespace>
<AssemblyName>AppsFlyerBinding.iOS</AssemblyName>
<AssemblyVersion>6.13.1</AssemblyVersion>
<FileVersion>6.13.1</FileVersion>
<AssemblyVersion>6.15.3</AssemblyVersion>
<FileVersion>6.15.3</FileVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup>
Expand All @@ -23,7 +23,7 @@
<Copyright>AppsFlyer</Copyright>
<PackageProjectUrl>https://github.com/AppsFlyerSDK/XamariniOSBinding</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageVersion>6.13.1</PackageVersion>
<PackageVersion>6.15.3</PackageVersion>
<!-- <GeneratePackageOnBuild>true</GeneratePackageOnBuild> -->
</PropertyGroup>

Expand Down
25 changes: 23 additions & 2 deletions README.md
morisgateno-appsflyer marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Xamarin Binding integration guide For iOS

AppsFlyer Xamarin Binding version `v6.13.1` <br>
Built with AppsFlyer iOS SDK `v6.13.1`
AppsFlyer Xamarin Binding version `v6.15.3` <br>
Built with AppsFlyer iOS SDK `v6.15.3`

## ❗ v6 Breaking Changes

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


Expand Down Expand Up @@ -271,6 +273,25 @@ Full example:
AppsFlyerLib.Shared.Start();
}
```
## ValidateAndLogV2
[Here](https://dev.appsflyer.com/hc/docs/validate-and-log-purchase-ios) you can find the info on what is the ValidateAndLog API purpose.
```c#
AFSDKPurchaseDetails details = new AFSDKPurchaseDetails().initWithProductId("1234", "4.0", "USD", "123456789");
morisgateno-appsflyer marked this conversation as resolved.
Show resolved Hide resolved
AppsFlyerLib.Shared.ValidateAndLogInAppPurchase(details, dictionary, (dict) =>
{
Console.WriteLine(dict.Description);
Console.WriteLine(dict.status);
Console.WriteLine(dict.error.Description);
});
```

## LogAdRevenue
[Here](https://dev.appsflyer.com/hc/docs/ad-revenue-2) you can find the info on what is the LogAdRevenue API purpose.
```c#
AFAdRevenueData adRevenueData = new AFAdRevenueData().initWithMonetizationNetwork("ironsource", AppsFlyerAdRevenueMediationNetworkType.Admost, "USD", 23.3);
morisgateno-appsflyer marked this conversation as resolved.
Show resolved Hide resolved
AppsFlyerLib.Shared.LogAdRevenue(adRevenueData, dictionary);
```

## Sample App
Sample apps for `xamarin.ios10` and `net6.0-ios` can be found here:
```
Expand Down
46 changes: 28 additions & 18 deletions frameworks/AppsFlyerLib.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,41 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -46,11 +50,13 @@
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>AppsFlyerLib.framework/Versions/A/AppsFlyerLib</string>
<key>LibraryIdentifier</key>
<string>macos-arm64_x86_64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -59,34 +65,38 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>AppsFlyerLib.framework/AppsFlyerLib</string>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
<string>tvos-arm64</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>AppsFlyerLib.framework/Versions/A/AppsFlyerLib</string>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>AppsFlyerLib.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>macos</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading