Skip to content

Commit b7762f3

Browse files
authored
Merge pull request #49 from AppsFlyerSDK/dev/6.10.1-update
6.10.1 Update
2 parents 8b5c132 + 50bfb26 commit b7762f3

File tree

33 files changed

+279
-50
lines changed

33 files changed

+279
-50
lines changed

AppsFlyerBinding.iOS/AppsFlyerBinding.iOS.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<SupportedOSPlatformVersion>10.0</SupportedOSPlatformVersion>
1111
<RootNamespace>AppsFlyerXamarinBinding</RootNamespace>
1212
<AssemblyName>AppsFlyerBinding.iOS</AssemblyName>
13-
<AssemblyVersion>1.0.0.0</AssemblyVersion>
14-
<FileVersion>6.9.2.1</FileVersion>
13+
<AssemblyVersion>6.10.1.111</AssemblyVersion>
14+
<FileVersion>6.10.1</FileVersion>
1515
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1616
</PropertyGroup>
1717
<PropertyGroup>
@@ -24,7 +24,7 @@
2424
<Copyright>AppsFlyer</Copyright>
2525
<PackageProjectUrl>https://github.com/AppsFlyerSDK/XamariniOSBinding</PackageProjectUrl>
2626
<PackageReadmeFile>README.md</PackageReadmeFile>
27-
<PackageVersion>6.9.3-beta1</PackageVersion>
27+
<PackageVersion>6.10.1</PackageVersion>
2828
<!--<GeneratePackageOnBuild>true</GeneratePackageOnBuild>-->
2929
</PropertyGroup>
3030

@@ -37,7 +37,7 @@
3737
<None Include="AppsFlyerBinding.iOS.targets" Pack="True" PackagePath="build/AppsFlyerXamarinBinding.targets" />
3838
<None Include="AppsFlyerBinding.iOS.targets" Pack="True" PackagePath="buildTransitive/AppsFlyerXamarinBinding.targets" />
3939

40-
<None Include="../README.md" Pack="true" PackagePath="\"/>
40+
<None Include="../README.md" Pack="true" PackagePath="\" />
4141
</ItemGroup>
4242

4343
<!-- An iOS app project cannot find Xcframeworks within a NuGet if a TFM

AppsFlyerBinding.iOS/Extras.cs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
using System;
2+
using System.Reflection;
3+
4+
namespace AppsFlyerXamarinBinding
5+
{
6+
partial class AppsFlyerLib
7+
{
8+
static bool didSetPlugin = false;
9+
10+
public static AppsFlyerLib Shared
11+
{
12+
get
13+
{
14+
var Instance = AppsFlyerLib.__Shared;
15+
if (didSetPlugin)
16+
{
17+
return Instance;
18+
}
19+
var assembly = typeof(AppsFlyerLib).GetTypeInfo().Assembly;
20+
var assemblyName = new AssemblyName(assembly.FullName);
21+
var version = assemblyName.Version.ToString();
22+
23+
24+
Instance.SetPluginInfoWith(AFSDKPlugin.Xamarin, version, null);
25+
didSetPlugin = true;
26+
return Instance;
27+
}
28+
}
29+
}
30+
}
31+

frameworks/AppsFlyerLib.xcframework/Info.plist

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,20 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_i386_x86_64-simulator</string>
9+
<string>ios-arm64_armv7</string>
1010
<key>LibraryPath</key>
1111
<string>AppsFlyerLib.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>i386</string>
16-
<string>x86_64</string>
15+
<string>armv7</string>
1716
</array>
1817
<key>SupportedPlatform</key>
1918
<string>ios</string>
20-
<key>SupportedPlatformVariant</key>
21-
<string>simulator</string>
2219
</dict>
2320
<dict>
2421
<key>LibraryIdentifier</key>
25-
<string>macos-arm64_x86_64</string>
22+
<string>ios-arm64_x86_64-maccatalyst</string>
2623
<key>LibraryPath</key>
2724
<string>AppsFlyerLib.framework</string>
2825
<key>SupportedArchitectures</key>
@@ -31,51 +28,56 @@
3128
<string>x86_64</string>
3229
</array>
3330
<key>SupportedPlatform</key>
34-
<string>macos</string>
31+
<string>ios</string>
32+
<key>SupportedPlatformVariant</key>
33+
<string>maccatalyst</string>
3534
</dict>
3635
<dict>
3736
<key>LibraryIdentifier</key>
38-
<string>tvos-arm64_x86_64-simulator</string>
37+
<string>tvos-arm64</string>
3938
<key>LibraryPath</key>
4039
<string>AppsFlyerLib.framework</string>
4140
<key>SupportedArchitectures</key>
4241
<array>
4342
<string>arm64</string>
44-
<string>x86_64</string>
4543
</array>
4644
<key>SupportedPlatform</key>
4745
<string>tvos</string>
48-
<key>SupportedPlatformVariant</key>
49-
<string>simulator</string>
5046
</dict>
5147
<dict>
5248
<key>LibraryIdentifier</key>
53-
<string>tvos-arm64</string>
49+
<string>tvos-arm64_x86_64-simulator</string>
5450
<key>LibraryPath</key>
5551
<string>AppsFlyerLib.framework</string>
5652
<key>SupportedArchitectures</key>
5753
<array>
5854
<string>arm64</string>
55+
<string>x86_64</string>
5956
</array>
6057
<key>SupportedPlatform</key>
6158
<string>tvos</string>
59+
<key>SupportedPlatformVariant</key>
60+
<string>simulator</string>
6261
</dict>
6362
<dict>
6463
<key>LibraryIdentifier</key>
65-
<string>ios-arm64_armv7</string>
64+
<string>ios-arm64_i386_x86_64-simulator</string>
6665
<key>LibraryPath</key>
6766
<string>AppsFlyerLib.framework</string>
6867
<key>SupportedArchitectures</key>
6968
<array>
7069
<string>arm64</string>
71-
<string>armv7</string>
70+
<string>i386</string>
71+
<string>x86_64</string>
7272
</array>
7373
<key>SupportedPlatform</key>
7474
<string>ios</string>
75+
<key>SupportedPlatformVariant</key>
76+
<string>simulator</string>
7577
</dict>
7678
<dict>
7779
<key>LibraryIdentifier</key>
78-
<string>ios-arm64_x86_64-maccatalyst</string>
80+
<string>macos-arm64_x86_64</string>
7981
<key>LibraryPath</key>
8082
<string>AppsFlyerLib.framework</string>
8183
<key>SupportedArchitectures</key>
@@ -84,9 +86,7 @@
8486
<string>x86_64</string>
8587
</array>
8688
<key>SupportedPlatform</key>
87-
<string>ios</string>
88-
<key>SupportedPlatformVariant</key>
89-
<string>maccatalyst</string>
89+
<string>macos</string>
9090
</dict>
9191
</array>
9292
<key>CFBundlePackageType</key>
Binary file not shown.

frameworks/AppsFlyerLib.xcframework/ios-arm64_armv7/AppsFlyerLib.framework/Headers/AppsFlyerLib.h

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// AppsFlyerLib.h
33
// AppsFlyerLib
44
//
5-
// AppsFlyer iOS SDK 6.9.2 (98)
6-
// Copyright (c) 2012-2020 AppsFlyer Ltd. All rights reserved.
5+
// AppsFlyer iOS SDK 6.10.1 (109)
6+
// Copyright (c) 2012-2023 AppsFlyer Ltd. All rights reserved.
77
//
88

99
#import <Foundation/Foundation.h>
@@ -140,6 +140,27 @@ typedef enum {
140140
EmailCryptTypeSHA256 = 3
141141
} EmailCryptType;
142142

143+
typedef NS_CLOSED_ENUM (NSInteger ,AFSDKPlugin) {
144+
AFSDKPluginIOSNative,
145+
AFSDKPluginUnity,
146+
AFSDKPluginFlutter,
147+
AFSDKPluginReactNative,
148+
AFSDKPluginAdobeAir,
149+
AFSDKPluginAdobeMobile,
150+
AFSDKPluginCocos2dx,
151+
AFSDKPluginCordova,
152+
AFSDKPluginMparticle,
153+
AFSDKPluginNativeScript,
154+
AFSDKPluginExpo,
155+
AFSDKPluginUnreal,
156+
AFSDKPluginXamarin,
157+
AFSDKPluginCapacitor,
158+
AFSDKPluginSegment,
159+
AFSDKPluginAdobeSwiftAEP
160+
} NS_SWIFT_NAME(Plugin);
161+
162+
@class AFSDKPluginInfo;
163+
143164
NS_SWIFT_NAME(DeepLinkDelegate)
144165
@protocol AppsFlyerDeepLinkDelegate <NSObject>
145166

@@ -298,6 +319,9 @@ NS_SWIFT_NAME(waitForATTUserAuthorization(timeoutInterval:));
298319
*/
299320
@property(atomic) BOOL disableCollectASA;
300321

322+
/**
323+
Disable Apple Ads Attribution API +[AAAtribution attributionTokenWithError:]
324+
*/
301325
@property(nonatomic) BOOL disableAppleAdsAttribution;
302326

303327
/**
@@ -368,6 +392,11 @@ NS_SWIFT_NAME(waitForATTUserAuthorization(timeoutInterval:));
368392
*/
369393
@property(nonatomic, nullable) NSString *currentDeviceLanguage;
370394

395+
/**
396+
Internal API. Please don't use.
397+
*/
398+
- (void)setPluginInfoWith:(AFSDKPlugin)plugin pluginVersion:(NSString *)version additionalParams:(NSDictionary * _Nullable)additionalParams
399+
NS_SWIFT_NAME(setPluginInfo(plugin:version:additionalParams:));
371400
/**
372401
Enable the collection of Facebook Deferred AppLinks
373402
Requires Facebook SDK and Facebook app on target/client device.
Binary file not shown.

frameworks/AppsFlyerLib.xcframework/ios-arm64_i386_x86_64-simulator/AppsFlyerLib.framework/Headers/AppsFlyerLib.h

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// AppsFlyerLib.h
33
// AppsFlyerLib
44
//
5-
// AppsFlyer iOS SDK 6.9.2 (98)
6-
// Copyright (c) 2012-2020 AppsFlyer Ltd. All rights reserved.
5+
// AppsFlyer iOS SDK 6.10.1 (109)
6+
// Copyright (c) 2012-2023 AppsFlyer Ltd. All rights reserved.
77
//
88

99
#import <Foundation/Foundation.h>
@@ -140,6 +140,27 @@ typedef enum {
140140
EmailCryptTypeSHA256 = 3
141141
} EmailCryptType;
142142

143+
typedef NS_CLOSED_ENUM (NSInteger ,AFSDKPlugin) {
144+
AFSDKPluginIOSNative,
145+
AFSDKPluginUnity,
146+
AFSDKPluginFlutter,
147+
AFSDKPluginReactNative,
148+
AFSDKPluginAdobeAir,
149+
AFSDKPluginAdobeMobile,
150+
AFSDKPluginCocos2dx,
151+
AFSDKPluginCordova,
152+
AFSDKPluginMparticle,
153+
AFSDKPluginNativeScript,
154+
AFSDKPluginExpo,
155+
AFSDKPluginUnreal,
156+
AFSDKPluginXamarin,
157+
AFSDKPluginCapacitor,
158+
AFSDKPluginSegment,
159+
AFSDKPluginAdobeSwiftAEP
160+
} NS_SWIFT_NAME(Plugin);
161+
162+
@class AFSDKPluginInfo;
163+
143164
NS_SWIFT_NAME(DeepLinkDelegate)
144165
@protocol AppsFlyerDeepLinkDelegate <NSObject>
145166

@@ -298,6 +319,9 @@ NS_SWIFT_NAME(waitForATTUserAuthorization(timeoutInterval:));
298319
*/
299320
@property(atomic) BOOL disableCollectASA;
300321

322+
/**
323+
Disable Apple Ads Attribution API +[AAAtribution attributionTokenWithError:]
324+
*/
301325
@property(nonatomic) BOOL disableAppleAdsAttribution;
302326

303327
/**
@@ -368,6 +392,11 @@ NS_SWIFT_NAME(waitForATTUserAuthorization(timeoutInterval:));
368392
*/
369393
@property(nonatomic, nullable) NSString *currentDeviceLanguage;
370394

395+
/**
396+
Internal API. Please don't use.
397+
*/
398+
- (void)setPluginInfoWith:(AFSDKPlugin)plugin pluginVersion:(NSString *)version additionalParams:(NSDictionary * _Nullable)additionalParams
399+
NS_SWIFT_NAME(setPluginInfo(plugin:version:additionalParams:));
371400
/**
372401
Enable the collection of Facebook Deferred AppLinks
373402
Requires Facebook SDK and Facebook app on target/client device.

0 commit comments

Comments
 (0)