diff --git a/.gitignore b/.gitignore
index 8dd4607..92fd7b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -395,4 +395,12 @@ FodyWeavers.xsd
*.msp
# JetBrains Rider
-*.sln.iml
\ No newline at end of file
+*.sln.iml
+BranchSDK.AndroidBinding/.DS_Store
+BranchSDK.iOSBinding/.DS_Store
+BranchSDK/.DS_Store
+Timber/.DS_Store
+Timber/Platforms/.DS_Store
+.DS_Store
+.vscode/launch.json
+Timber/nuget.config
diff --git a/Branch-Xamarin-SDK.nuspec b/Branch-Xamarin-SDK.nuspec
index b74aefd..83d6084 100644
--- a/Branch-Xamarin-SDK.nuspec
+++ b/Branch-Xamarin-SDK.nuspec
@@ -4,7 +4,7 @@
Branch-Xamarin-Linking-SDK
Branch Xamarin SDK
Hosted deep links for your Xamarin-based Android or iOS app by Branch
- 9.0.1
+ 10.0.0
Branch Metrics, Inc.
Branch Metrics, Inc.
https://github.com/BranchMetrics/xamarin-branch-deep-linking-attribution
@@ -13,14 +13,14 @@
Copyright 2020 Branch Metrics, Inc.
Xamarin Branch deep linking tracking measurement iOS Android sharing referral invite analytics
-
+
-
+
-
+
@@ -32,19 +32,19 @@
-
-
-
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
diff --git a/BranchSDK.AndroidBinding/BranchSDK.AndroidBinding.csproj b/BranchSDK.AndroidBinding/BranchSDK.AndroidBinding.csproj
index a8fa5d2..7fddca9 100644
--- a/BranchSDK.AndroidBinding/BranchSDK.AndroidBinding.csproj
+++ b/BranchSDK.AndroidBinding/BranchSDK.AndroidBinding.csproj
@@ -1,6 +1,6 @@
- net6.0-android
+ net7.0-android
24
enable
enable
diff --git a/BranchSDK.AndroidBinding/Jars/Branch-5.15.0.jar b/BranchSDK.AndroidBinding/Jars/Branch-5.15.0.jar
new file mode 100644
index 0000000..97054f8
Binary files /dev/null and b/BranchSDK.AndroidBinding/Jars/Branch-5.15.0.jar differ
diff --git a/BranchSDK.AndroidBinding/Jars/Branch-5.4.0.jar b/BranchSDK.AndroidBinding/Jars/Branch-5.4.0.jar
deleted file mode 100644
index 39a1a54..0000000
Binary files a/BranchSDK.AndroidBinding/Jars/Branch-5.4.0.jar and /dev/null differ
diff --git a/BranchSDK.AndroidBinding/Transforms/Metadata.xml b/BranchSDK.AndroidBinding/Transforms/Metadata.xml
index cfc2469..2e96b6e 100644
--- a/BranchSDK.AndroidBinding/Transforms/Metadata.xml
+++ b/BranchSDK.AndroidBinding/Transforms/Metadata.xml
@@ -18,4 +18,9 @@
Java.Lang.Object
Java.Lang.Object[]
Java.Lang.Object
+ OnChannelSelected
+ OnChannelSelectedBranchNativeLinkShareListener
+ OnChannelSelectedExtendedBranchLinkShareListener
+ OnLinkShareResponse
+ OnLinkShareResponseBranchNativeLinkShareListener
diff --git a/BranchSDK.iOSBinding/ApiDefinition.cs b/BranchSDK.iOSBinding/ApiDefinition.cs
index a8beb0b..6f13ebb 100644
--- a/BranchSDK.iOSBinding/ApiDefinition.cs
+++ b/BranchSDK.iOSBinding/ApiDefinition.cs
@@ -6,74 +6,9 @@
using ObjCRuntime;
using UIKit;
-namespace IOSNativeBranch {
-
- // The first step to creating a binding is to add your native framework ("MyLibrary.xcframework")
- // to the project.
- // Open your binding csproj and add a section like this
- //
- //
- // Framework
- //
- //
- //
- //
- // Once you've added it, you will need to customize it for your specific library:
- // - Change the Include to the correct path/name of your library
- // - Change Kind to Static (.a) or Framework (.framework/.xcframework) based upon the library kind and extension.
- // - Dynamic (.dylib) is a third option but rarely if ever valid, and only on macOS and Mac Catalyst
- // - If your library depends on other frameworks, add them inside
- // Example:
- //
- // Framework
- // CoreLocation ModelIO
- //
- //
- // Once you've done that, you're ready to move on to binding the API...
- //
- // Here is where you'd define your API definition for the native Objective-C library.
- //
- // For example, to bind the following Objective-C class:
- //
- // @interface Widget : NSObject {
- // }
- //
- // The C# binding would look like this:
- //
- // [BaseType (typeof (NSObject))]
- // interface Widget {
- // }
- //
- // To bind Objective-C properties, such as:
- //
- // @property (nonatomic, readwrite, assign) CGPoint center;
- //
- // You would add a property definition in the C# interface like so:
- //
- // [Export ("center")]
- // CGPoint Center { get; set; }
- //
- // To bind an Objective-C method, such as:
- //
- // -(void) doSomething:(NSObject *)object atIndex:(NSInteger)index;
- //
- // You would add a method definition to the C# interface like so:
- //
- // [Export ("doSomething:atIndex:")]
- // void DoSomething (NSObject object, nint index);
- //
- // Objective-C "constructors" such as:
- //
- // -(id)initWithElmo:(ElmoMuppet *)elmo;
- //
- // Can be bound as:
- //
- // [Export ("initWithElmo:")]
- // NativeHandle Constructor (ElmoMuppet elmo);
- //
- // For more information, see https://aka.ms/ios-binding
- //
-
+namespace IOSNativeBranch
+{
+ //Updated
// typedef void (^callbackWithParams)(NSDictionary * _Nullable, NSError * _Nullable);
delegate void callbackWithParams([NullAllowed] NSDictionary arg0, [NullAllowed] NSError arg1);
@@ -92,86 +27,109 @@ namespace IOSNativeBranch {
// typedef void (^callbackWithBranchUniversalObject)(BranchUniversalObject * _Nullable, BranchLinkProperties * _Nullable, NSError * _Nullable);
delegate void callbackWithBranchUniversalObject([NullAllowed] BranchUniversalObject arg0, [NullAllowed] BranchLinkProperties arg1, [NullAllowed] NSError arg2);
+ // typedef void (^callbackWithData)(NSData * _Nullable, NSError * _Nullable);
+ delegate void callbackWithData([NullAllowed] NSData arg0, [NullAllowed] NSError arg1);
+
// @interface BNCServerResponse : NSObject
[BaseType(typeof(NSObject))]
interface BNCServerResponse
{
- // @property (nonatomic, strong) NSNumber * statusCode;
+ // @property (nonatomic, strong) NSNumber * _Nonnull statusCode;
[Export("statusCode", ArgumentSemantic.Strong)]
NSNumber StatusCode { get; set; }
- // @property (nonatomic, strong) id data;
- [Export("data", ArgumentSemantic.Strong)]
+ // @property (nonatomic, strong) id _Nullable data;
+ [NullAllowed, Export("data", ArgumentSemantic.Strong)]
NSObject Data { get; set; }
+
+ // @property (copy, nonatomic) NSString * _Nullable requestId;
+ [NullAllowed, Export("requestId")]
+ string RequestId { get; set; }
}
// @interface BNCPreferenceHelper : NSObject
[BaseType(typeof(NSObject))]
interface BNCPreferenceHelper
{
- // @property (nonatomic, strong) NSString * lastRunBranchKey;
- [Export("lastRunBranchKey", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * lastRunBranchKey;
+ [Export("lastRunBranchKey")]
string LastRunBranchKey { get; set; }
// @property (nonatomic, strong) NSDate * lastStrongMatchDate;
[Export("lastStrongMatchDate", ArgumentSemantic.Strong)]
NSDate LastStrongMatchDate { get; set; }
- // @property (nonatomic, strong) NSString * appVersion;
- [Export("appVersion", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * appVersion;
+ [Export("appVersion")]
string AppVersion { get; set; }
- // @property (nonatomic, strong) NSString * deviceFingerprintID;
- [Export("deviceFingerprintID", ArgumentSemantic.Strong)]
- string DeviceFingerprintID { get; set; }
+ // @property (copy, nonatomic) NSString * randomizedDeviceToken;
+ [Export("randomizedDeviceToken")]
+ string RandomizedDeviceToken { get; set; }
- // @property (nonatomic, strong) NSString * sessionID;
- [Export("sessionID", ArgumentSemantic.Strong)]
- string SessionID { get; set; }
+ // @property (copy, nonatomic) NSString * randomizedBundleToken;
+ [Export("randomizedBundleToken")]
+ string RandomizedBundleToken { get; set; }
+
+ // @property (copy, nonatomic) NSString * anonID;
+ [Export("anonID")]
+ string AnonID { get; set; }
- // @property (nonatomic, strong) NSString * identityID;
- [Export("identityID", ArgumentSemantic.Strong)]
- string IdentityID { get; set; }
+ // @property (copy, nonatomic) NSString * sessionID;
+ [Export("sessionID")]
+ string SessionID { get; set; }
- // @property (nonatomic, strong) NSString * linkClickIdentifier;
- [Export("linkClickIdentifier", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * linkClickIdentifier;
+ [Export("linkClickIdentifier")]
string LinkClickIdentifier { get; set; }
- // @property (nonatomic, strong) NSString * spotlightIdentifier;
- [Export("spotlightIdentifier", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * spotlightIdentifier;
+ [Export("spotlightIdentifier")]
string SpotlightIdentifier { get; set; }
- // @property (atomic, strong) NSString * universalLinkUrl;
- [Export("universalLinkUrl", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * universalLinkUrl;
+ [Export("universalLinkUrl")]
string UniversalLinkUrl { get; set; }
- // @property (nonatomic, strong) NSString * userUrl;
- [Export("userUrl", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * initialReferrer;
+ [Export("initialReferrer")]
+ string InitialReferrer { get; set; }
+
+ // @property (copy, nonatomic) NSString * userUrl;
+ [Export("userUrl")]
string UserUrl { get; set; }
- // @property (nonatomic, strong) NSString * userIdentity;
- [Export("userIdentity", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * localUrl;
+ [Export("localUrl")]
+ string LocalUrl { get; set; }
+
+ // @property (copy, nonatomic) NSString * userIdentity;
+ [Export("userIdentity")]
string UserIdentity { get; set; }
- // @property (nonatomic, strong) NSString * sessionParams;
- [Export("sessionParams", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * sessionParams;
+ [Export("sessionParams")]
string SessionParams { get; set; }
- // @property (nonatomic, strong) NSString * installParams;
- [Export("installParams", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * installParams;
+ [Export("installParams")]
string InstallParams { get; set; }
// @property (assign, nonatomic) BOOL isDebug;
[Export("isDebug")]
bool IsDebug { get; set; }
- // @property (assign, nonatomic) BOOL checkedFacebookAppLinks;
- [Export("checkedFacebookAppLinks")]
- bool CheckedFacebookAppLinks { get; set; }
+ // @property (assign, readwrite, nonatomic) BOOL appleAttributionTokenChecked;
+ [Export("appleAttributionTokenChecked")]
+ bool AppleAttributionTokenChecked { get; set; }
- // @property (assign, nonatomic) BOOL checkedAppleSearchAdAttribution;
- [Export("checkedAppleSearchAdAttribution")]
- bool CheckedAppleSearchAdAttribution { get; set; }
+ // @property (assign, readwrite, nonatomic) BOOL hasOptedInBefore;
+ [Export("hasOptedInBefore")]
+ bool HasOptedInBefore { get; set; }
+
+ // @property (assign, readwrite, nonatomic) BOOL hasCalledHandleATTAuthorizationStatus;
+ [Export("hasCalledHandleATTAuthorizationStatus")]
+ bool HasCalledHandleATTAuthorizationStatus { get; set; }
// @property (assign, nonatomic) NSInteger retryCount;
[Export("retryCount")]
@@ -185,105 +143,121 @@ interface BNCPreferenceHelper
[Export("timeout")]
double Timeout { get; set; }
- // @property (atomic, strong) NSString * externalIntentURI;
- [Export("externalIntentURI", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * externalIntentURI;
+ [Export("externalIntentURI")]
string ExternalIntentURI { get; set; }
// @property (nonatomic, strong) NSMutableDictionary * savedAnalyticsData;
[Export("savedAnalyticsData", ArgumentSemantic.Strong)]
NSMutableDictionary SavedAnalyticsData { get; set; }
- // @property (nonatomic, strong) NSDictionary * appleSearchAdDetails;
- [Export("appleSearchAdDetails", ArgumentSemantic.Strong)]
- NSDictionary AppleSearchAdDetails { get; set; }
-
- // @property (assign, nonatomic) BOOL appleSearchAdNeedsSend;
- [Export("appleSearchAdNeedsSend")]
- bool AppleSearchAdNeedsSend { get; set; }
-
- // @property (nonatomic, strong) NSString * lastSystemBuildVersion;
- [Export("lastSystemBuildVersion", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * lastSystemBuildVersion;
+ [Export("lastSystemBuildVersion")]
string LastSystemBuildVersion { get; set; }
- // @property (nonatomic, strong) NSString * browserUserAgentString;
- [Export("browserUserAgentString", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * browserUserAgentString;
+ [Export("browserUserAgentString")]
string BrowserUserAgentString { get; set; }
- // @property (atomic, strong) NSString * referringURL;
- [Export("referringURL", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * referringURL;
+ [Export("referringURL")]
string ReferringURL { get; set; }
- // @property (atomic, strong) NSString * branchAPIURL;
- [Export("branchAPIURL", ArgumentSemantic.Strong)]
- string BranchAPIURL { get; set; }
-
- // @property (readwrite, nonatomic, strong) NSString * branchBlacklistURL;
- [Export("branchBlacklistURL", ArgumentSemantic.Strong)]
- string BranchBlacklistURL { get; set; }
-
- // @property (assign, atomic) BOOL limitFacebookTracking;
+ // @property (assign, nonatomic) BOOL limitFacebookTracking;
[Export("limitFacebookTracking")]
bool LimitFacebookTracking { get; set; }
- // @property (atomic, strong) NSDate * previousAppBuildDate;
+ // @property (nonatomic, strong) NSDate * previousAppBuildDate;
[Export("previousAppBuildDate", ArgumentSemantic.Strong)]
NSDate PreviousAppBuildDate { get; set; }
- // @property (readwrite, nonatomic, strong) NSURL * faceBookAppLink;
- [Export("faceBookAppLink", ArgumentSemantic.Strong)]
- NSUrl FaceBookAppLink { get; set; }
+ // @property (assign, readwrite, nonatomic) BOOL disableAdNetworkCallouts;
+ [Export("disableAdNetworkCallouts")]
+ bool DisableAdNetworkCallouts { get; set; }
- // @property (atomic, strong) NSArray * URLBlackList;
- [Export("URLBlackList", ArgumentSemantic.Strong)]
- string[] URLBlackList { get; set; }
+ // @property (readwrite, copy, nonatomic) NSString * patternListURL;
+ [Export("patternListURL")]
+ string PatternListURL { get; set; }
- // @property (assign, atomic) NSInteger URLBlackListVersion;
- [Export("URLBlackListVersion")]
- nint URLBlackListVersion { get; set; }
+ // @property (nonatomic, strong) NSArray * savedURLPatternList;
+ [Export("savedURLPatternList", ArgumentSemantic.Strong)]
+ string[] SavedURLPatternList { get; set; }
- // @property (assign, atomic) BOOL blacklistURLOpen;
- [Export("blacklistURLOpen")]
- bool BlacklistURLOpen { get; set; }
+ // @property (assign, nonatomic) NSInteger savedURLPatternListVersion;
+ [Export("savedURLPatternListVersion")]
+ nint SavedURLPatternListVersion { get; set; }
- // @property (assign, atomic) BOOL trackingDisabled;
+ // @property (assign, nonatomic) BOOL dropURLOpen;
+ [Export("dropURLOpen")]
+ bool DropURLOpen { get; set; }
+
+ // @property (assign, nonatomic) BOOL trackingDisabled;
[Export("trackingDisabled")]
bool TrackingDisabled { get; set; }
- // -(void)clearTrackingInformation;
- [Export("clearTrackingInformation")]
- void ClearTrackingInformation();
+ // @property (copy, nonatomic) NSString * referrerGBRAID;
+ [Export("referrerGBRAID")]
+ string ReferrerGBRAID { get; set; }
- // +(BNCPreferenceHelper *)preferenceHelper;
- [Static]
- [Export("preferenceHelper")]
- //[Verify(MethodToProperty)]
- BNCPreferenceHelper PreferenceHelper { get; }
+ // @property (assign, nonatomic) NSTimeInterval referrerGBRAIDValidityWindow;
+ [Export("referrerGBRAIDValidityWindow")]
+ double ReferrerGBRAIDValidityWindow { get; set; }
+
+ // @property (nonatomic, strong) NSDate * referrerGBRAIDInitDate;
+ [Export("referrerGBRAIDInitDate", ArgumentSemantic.Strong)]
+ NSDate ReferrerGBRAIDInitDate { get; set; }
+
+ // @property (nonatomic, strong) NSMutableDictionary * referringURLQueryParameters;
+ [Export("referringURLQueryParameters", ArgumentSemantic.Strong)]
+ NSMutableDictionary ReferringURLQueryParameters { get; set; }
- // -(NSString *)getAPIBaseURL;
- [Export("getAPIBaseURL")]
- //[Verify(MethodToProperty)]
- string APIBaseURL { get; }
+ // @property (assign, nonatomic) NSInteger skanCurrentWindow;
+ [Export("skanCurrentWindow")]
+ nint SkanCurrentWindow { get; set; }
- // -(NSString *)getAPIURL:(NSString *)endpoint;
- [Export("getAPIURL:")]
- string GetAPIURL(string endpoint);
+ // @property (assign, nonatomic) NSInteger highestConversionValueSent;
+ [Export("highestConversionValueSent")]
+ nint HighestConversionValueSent { get; set; }
- // -(NSString *)getEndpointFromURL:(NSString *)url;
- [Export("getEndpointFromURL:")]
- string GetEndpointFromURL(string url);
+ // @property (nonatomic, strong) NSDate * firstAppLaunchTime;
+ [Export("firstAppLaunchTime", ArgumentSemantic.Strong)]
+ NSDate FirstAppLaunchTime { get; set; }
+
+ // @property (assign, nonatomic) BOOL invokeRegisterApp;
+ [Export("invokeRegisterApp")]
+ bool InvokeRegisterApp { get; set; }
+
+ // @property (assign, nonatomic) BOOL eeaRegion;
+ [Export("eeaRegion")]
+ bool EeaRegion { get; set; }
+
+ // @property (assign, nonatomic) BOOL adPersonalizationConsent;
+ [Export("adPersonalizationConsent")]
+ bool AdPersonalizationConsent { get; set; }
+
+ // @property (assign, nonatomic) BOOL adUserDataUsageConsent;
+ [Export("adUserDataUsageConsent")]
+ bool AdUserDataUsageConsent { get; set; }
+
+ // @property (assign, nonatomic) NSString * attributionLevel;
+ [Export("attributionLevel")]
+ string AttributionLevel { get; set; }
+
+ // -(void)clearTrackingInformation;
+ [Export("clearTrackingInformation")]
+ void ClearTrackingInformation();
- // -(id)getBranchUniversalLinkDomains;
- [Export("getBranchUniversalLinkDomains")]
- //[Verify(MethodToProperty)]
- NSObject BranchUniversalLinkDomains { get; }
+ // +(BNCPreferenceHelper *)sharedInstance;
+ [Static]
+ [Export("sharedInstance")]
+ BNCPreferenceHelper SharedInstance { get; }
// -(void)setRequestMetadataKey:(NSString *)key value:(NSObject *)value;
[Export("setRequestMetadataKey:value:")]
- void SetRequestMetadataKey(string key, NSObject value);
+ void SetRequestMetadataKey(string key, string value);
// -(NSMutableDictionary *)requestMetadataDictionary;
[Export("requestMetadataDictionary")]
- //[Verify(MethodToProperty)]
NSMutableDictionary RequestMetadataDictionary { get; }
// -(void)addInstrumentationDictionaryKey:(NSString *)key value:(NSString *)value;
@@ -292,9 +266,12 @@ interface BNCPreferenceHelper
// -(NSMutableDictionary *)instrumentationDictionary;
[Export("instrumentationDictionary")]
- //[Verify(MethodToProperty)]
NSMutableDictionary InstrumentationDictionary { get; }
+ // -(NSDictionary *)instrumentationParameters;
+ [Export("instrumentationParameters")]
+ NSDictionary InstrumentationParameters { get; }
+
// -(void)clearInstrumentationDictionary;
[Export("clearInstrumentationDictionary")]
void ClearInstrumentationDictionary();
@@ -309,12 +286,10 @@ interface BNCPreferenceHelper
// -(NSMutableDictionary *)getBranchAnalyticsData;
[Export("getBranchAnalyticsData")]
- //[Verify(MethodToProperty)]
NSMutableDictionary BranchAnalyticsData { get; }
// -(NSDictionary *)getContentAnalyticsManifest;
[Export("getContentAnalyticsManifest")]
- //[Verify(MethodToProperty)]
NSDictionary ContentAnalyticsManifest { get; }
// -(void)saveContentAnalyticsManifest:(NSDictionary *)cdManifest;
@@ -333,106 +308,114 @@ interface BNCPreferenceHelper
[Static]
[Export("clearAll")]
void ClearAll();
- }
-
- //// @protocol BNCNetworkOperationProtocol
- ///*
- // Check whether adding [Model] to this declaration is appropriate.
- // [Model] is used to generate a C# class that implements this protocol,
- // and might be useful for protocols that consumers are supposed to implement,
- // since consumers can subclass the generated class instead of implementing
- // the generated interface. If consumers are not supposed to implement this
- // protocol, then [Model] is redundant and will generate code that will never
- // be used.
- //*/
- //[Protocol]
- //[BaseType(typeof(NSObject))]
- //interface BNCNetworkOperationProtocol
- //{
- // // @required @property (readonly, copy) NSURLRequest * request;
- // [Abstract]
- // [Export("request", ArgumentSemantic.Copy)]
- // NSUrlRequest Request { get; }
-
- // // @required @property (readonly, copy) NSHTTPURLResponse * response;
- // [Abstract]
- // [Export("response", ArgumentSemantic.Copy)]
- // NSHttpUrlResponse Response { get; }
- // // @required @property (readonly, strong) NSData * responseData;
- // [Abstract]
- // [Export("responseData", ArgumentSemantic.Strong)]
- // NSData ResponseData { get; }
-
- // // @required @property (readonly, copy) NSError * error;
- // [Abstract]
- // [Export("error", ArgumentSemantic.Copy)]
- // NSError Error { get; }
-
- // // @required @property (readonly, copy) NSDate * startDate;
- // [Abstract]
- // [Export("startDate", ArgumentSemantic.Copy)]
- // NSDate StartDate { get; }
-
- // // @required @property (readonly, copy) NSDate * timeoutDate;
- // [Abstract]
- // [Export("timeoutDate", ArgumentSemantic.Copy)]
- // NSDate TimeoutDate { get; }
+ // -(BOOL)eeaRegionInitialized;
+ [Export("eeaRegionInitialized")]
+ bool EeaRegionInitialized { get; }
- // // @required @property (strong) NSDictionary * userInfo;
- // [Abstract]
- // [Export("userInfo", ArgumentSemantic.Strong)]
- // NSDictionary UserInfo { get; set; }
-
- // // @required -(void)start;
- // [Abstract]
- // [Export("start")]
- // void Start();
-
- // // @optional -(void)cancel;
- // [Export("cancel")]
- // void Cancel();
- //}
-
- //// @protocol BNCNetworkServiceProtocol
- ///*
- // Check whether adding [Model] to this declaration is appropriate.
- // [Model] is used to generate a C# class that implements this protocol,
- // and might be useful for protocols that consumers are supposed to implement,
- // since consumers can subclass the generated class instead of implementing
- // the generated interface. If consumers are not supposed to implement this
- // protocol, then [Model] is redundant and will generate code that will never
- // be used.
- //*/
- //[Protocol]
- //[BaseType(typeof(NSObject))]
- //interface BNCNetworkServiceProtocol
- //{
- // // @required +(id)new;
- // [Static, Abstract]
- // [Export("new")]
- // //[Verify(MethodToProperty)]
- // BNCNetworkServiceProtocol New { get; }
-
- // // @optional -(void)cancelAllOperations;
- // [Export("cancelAllOperations")]
- // void CancelAllOperations();
-
- // // @required -(id)networkOperationWithURLRequest:(NSMutableURLRequest *)request completion:(void (^)(id))completion;
- // [Abstract]
- // [Export("networkOperationWithURLRequest:completion:")]
- // BNCNetworkOperationProtocol NetworkOperationWithURLRequest(NSMutableUrlRequest request, Action completion);
-
- // // @required @property (strong) NSDictionary * userInfo;
- // [Abstract]
- // [Export("userInfo", ArgumentSemantic.Strong)]
- // NSDictionary UserInfo { get; set; }
+ // -(BOOL)attributionLevelInitialized;
+ [Export("attributionLevelInitialized")]
+ [Verify(MethodToProperty)]
+ bool AttributionLevelInitialized { get; }
+ }
- // // @optional -(NSError *)pinSessionToPublicSecKeyRefs:(NSArray *)publicKeys;
- // [Export("pinSessionToPublicSecKeyRefs:")]
- // //[Verify(StronglyTypedNSArray)]
- // NSError PinSessionToPublicSecKeyRefs(NSObject[] publicKeys);
- //}
+ // @protocol BNCNetworkOperationProtocol
+ /*
+ Check whether adding [Model] to this declaration is appropriate.
+ [Model] is used to generate a C# class that implements this protocol,
+ and might be useful for protocols that consumers are supposed to implement,
+ since consumers can subclass the generated class instead of implementing
+ the generated interface. If consumers are not supposed to implement this
+ protocol, then [Model] is redundant and will generate code that will never
+ be used.
+ */
+ // [Protocol]
+ // [BaseType(typeof(NSObject))]
+ // interface BNCNetworkOperationProtocol
+ // {
+ // // @required @property (readonly, copy, nonatomic) NSURLRequest * request;
+ // [Abstract]
+ // [Export("request", ArgumentSemantic.Copy)]
+ // NSUrlRequest Request { get; }
+
+ // // @required @property (readonly, copy, nonatomic) NSHTTPURLResponse * response;
+ // [Abstract]
+ // [Export("response", ArgumentSemantic.Copy)]
+ // NSHttpUrlResponse Response { get; }
+
+ // // @required @property (readonly, nonatomic, strong) NSData * responseData;
+ // [Abstract]
+ // [Export("responseData", ArgumentSemantic.Strong)]
+ // NSData ResponseData { get; }
+
+ // // @required @property (readonly, copy, nonatomic) NSError * error;
+ // [Abstract]
+ // [Export("error", ArgumentSemantic.Copy)]
+ // NSError Error { get; }
+
+ // // @required @property (readonly, copy, nonatomic) NSDate * startDate;
+ // [Abstract]
+ // [Export("startDate", ArgumentSemantic.Copy)]
+ // NSDate StartDate { get; }
+
+ // // @required @property (readonly, copy, nonatomic) NSDate * timeoutDate;
+ // [Abstract]
+ // [Export("timeoutDate", ArgumentSemantic.Copy)]
+ // NSDate TimeoutDate { get; }
+
+ // // @required @property (nonatomic, strong) NSDictionary * userInfo;
+ // [Abstract]
+ // [Export("userInfo", ArgumentSemantic.Strong)]
+ // NSDictionary UserInfo { get; set; }
+
+ // // @required -(void)start;
+ // [Abstract]
+ // [Export("start")]
+ // void Start();
+
+ // // @optional -(void)cancel;
+ // [Export("cancel")]
+ // void Cancel();
+ // }
+
+ //Updated
+ // @protocol BNCNetworkServiceProtocol
+ /*
+ Check whether adding [Model] to this declaration is appropriate.
+ [Model] is used to generate a C# class that implements this protocol,
+ and might be useful for protocols that consumers are supposed to implement,
+ since consumers can subclass the generated class instead of implementing
+ the generated interface. If consumers are not supposed to implement this
+ protocol, then [Model] is redundant and will generate code that will never
+ be used.
+*/
+ // [Protocol]
+ // [BaseType(typeof(NSObject))]
+ // interface BNCNetworkServiceProtocol
+ // {
+ // // @required +(id)new;
+ // [Static, Abstract]
+ // [Export("new")]
+ // BNCNetworkServiceProtocol New { get; }
+
+ // // @optional -(void)cancelAllOperations;
+ // [Export("cancelAllOperations")]
+ // void CancelAllOperations();
+
+ // // @required -(id)networkOperationWithURLRequest:(NSMutableURLRequest *)request completion:(void (^)(id))completion;
+ // [Abstract]
+ // [Export("networkOperationWithURLRequest:completion:")]
+ // BNCNetworkOperationProtocol NetworkOperationWithURLRequest(NSMutableUrlRequest request, Action completion);
+
+ // // @required @property (nonatomic, strong) NSDictionary * userInfo;
+ // [Abstract]
+ // [Export("userInfo", ArgumentSemantic.Strong)]
+ // NSDictionary UserInfo { get; set; }
+
+ // // @optional -(NSError *)pinSessionToPublicSecKeyRefs:(NSArray *)publicKeys __attribute__((deprecated("")));
+ // [Export("pinSessionToPublicSecKeyRefs:")]
+ // NSError PinSessionToPublicSecKeyRefs(NSObject[] publicKeys);
+ // }
// typedef void (^BNCServerCallback)(BNCServerResponse *, NSError *);
delegate void BNCServerCallback(BNCServerResponse arg0, NSError arg1);
@@ -453,9 +436,9 @@ interface BNCServerInterface
[Export("postRequest:url:key:callback:")]
void PostRequest(NSDictionary post, string url, string key, BNCServerCallback callback);
- //// -(void)genericHTTPRequest:(NSURLRequest *)request retryNumber:(NSInteger)retryNumber callback:(BNCServerCallback)callback retryHandler:(NSURLRequest *(^)(NSInteger))retryHandler;
- //[Export("genericHTTPRequest:retryNumber:callback:retryHandler:")]
- //void GenericHTTPRequest(NSUrlRequest request, nint retryNumber, BNCServerCallback callback, Func retryHandler);
+ // // -(void)genericHTTPRequest:(NSURLRequest *)request retryNumber:(NSInteger)retryNumber callback:(BNCServerCallback)callback retryHandler:(NSURLRequest *(^)(NSInteger))retryHandler;
+ // [Export("genericHTTPRequest:retryNumber:callback:retryHandler:")]
+ // void GenericHTTPRequest(NSUrlRequest request, nint retryNumber, BNCServerCallback callback, Func retryHandler);
// @property (nonatomic, strong) BNCPreferenceHelper * preferenceHelper;
[Export("preferenceHelper", ArgumentSemantic.Strong)]
@@ -479,94 +462,9 @@ interface BNCServerRequest : INSSecureCoding
void SafeSetValue(NSObject value, string key, NSMutableDictionary dict);
}
- //[Static]
- //[Verify(ConstantsInterfaceAssociation)]
+ [Static]
partial interface Constants
{
- // extern BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
- [Field("BNCProductCategoryAnimalSupplies", "__Internal")]
- NSString BNCProductCategoryAnimalSupplies { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryApparel;
- [Field("BNCProductCategoryApparel", "__Internal")]
- NSString BNCProductCategoryApparel { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
- [Field("BNCProductCategoryArtsEntertainment", "__Internal")]
- NSString BNCProductCategoryArtsEntertainment { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
- [Field("BNCProductCategoryBabyToddler", "__Internal")]
- NSString BNCProductCategoryBabyToddler { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
- [Field("BNCProductCategoryBusinessIndustrial", "__Internal")]
- NSString BNCProductCategoryBusinessIndustrial { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
- [Field("BNCProductCategoryCamerasOptics", "__Internal")]
- NSString BNCProductCategoryCamerasOptics { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryElectronics;
- [Field("BNCProductCategoryElectronics", "__Internal")]
- NSString BNCProductCategoryElectronics { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
- [Field("BNCProductCategoryFoodBeverageTobacco", "__Internal")]
- NSString BNCProductCategoryFoodBeverageTobacco { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryFurniture;
- [Field("BNCProductCategoryFurniture", "__Internal")]
- NSString BNCProductCategoryFurniture { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryHardware;
- [Field("BNCProductCategoryHardware", "__Internal")]
- NSString BNCProductCategoryHardware { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
- [Field("BNCProductCategoryHealthBeauty", "__Internal")]
- NSString BNCProductCategoryHealthBeauty { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
- [Field("BNCProductCategoryHomeGarden", "__Internal")]
- NSString BNCProductCategoryHomeGarden { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
- [Field("BNCProductCategoryLuggageBags", "__Internal")]
- NSString BNCProductCategoryLuggageBags { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryMature;
- [Field("BNCProductCategoryMature", "__Internal")]
- NSString BNCProductCategoryMature { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryMedia;
- [Field("BNCProductCategoryMedia", "__Internal")]
- NSString BNCProductCategoryMedia { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
- [Field("BNCProductCategoryOfficeSupplies", "__Internal")]
- NSString BNCProductCategoryOfficeSupplies { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryReligious;
- [Field("BNCProductCategoryReligious", "__Internal")]
- NSString BNCProductCategoryReligious { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategorySoftware;
- [Field("BNCProductCategorySoftware", "__Internal")]
- NSString BNCProductCategorySoftware { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
- [Field("BNCProductCategorySportingGoods", "__Internal")]
- NSString BNCProductCategorySportingGoods { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryToysGames;
- [Field("BNCProductCategoryToysGames", "__Internal")]
- NSString BNCProductCategoryToysGames { get; }
-
- // extern BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
- [Field("BNCProductCategoryVehiclesParts", "__Internal")]
- NSString BNCProductCategoryVehiclesParts { get; }
-
// extern BNCCurrency _Nonnull BNCCurrencyAED;
[Field("BNCCurrencyAED", "__Internal")]
NSString BNCCurrencyAED { get; }
@@ -1278,110 +1176,115 @@ partial interface Constants
// extern BNCCurrency _Nonnull BNCCurrencyZMW;
[Field("BNCCurrencyZMW", "__Internal")]
NSString BNCCurrencyZMW { get; }
- }
- // @interface BNCProduct : NSObject
- [BaseType(typeof(NSObject))]
- interface BNCProduct
- {
- // @property (nonatomic, strong) NSString * _Nullable sku;
- [NullAllowed, Export("sku", ArgumentSemantic.Strong)]
- string Sku { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
+ [Field("BNCProductCategoryAnimalSupplies", "__Internal")]
+ NSString BNCProductCategoryAnimalSupplies { get; }
- // @property (nonatomic, strong) NSString * _Nullable name;
- [NullAllowed, Export("name", ArgumentSemantic.Strong)]
- string Name { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryApparel;
+ [Field("BNCProductCategoryApparel", "__Internal")]
+ NSString BNCProductCategoryApparel { get; }
- // @property (nonatomic, strong) NSDecimalNumber * _Nullable price;
- [NullAllowed, Export("price", ArgumentSemantic.Strong)]
- NSDecimalNumber Price { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
+ [Field("BNCProductCategoryArtsEntertainment", "__Internal")]
+ NSString BNCProductCategoryArtsEntertainment { get; }
- // @property (nonatomic, strong) NSNumber * _Nullable quantity;
- [NullAllowed, Export("quantity", ArgumentSemantic.Strong)]
- NSNumber Quantity { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
+ [Field("BNCProductCategoryBabyToddler", "__Internal")]
+ NSString BNCProductCategoryBabyToddler { get; }
- // @property (nonatomic, strong) NSString * _Nullable brand;
- [NullAllowed, Export("brand", ArgumentSemantic.Strong)]
- string Brand { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
+ [Field("BNCProductCategoryBusinessIndustrial", "__Internal")]
+ NSString BNCProductCategoryBusinessIndustrial { get; }
- // @property (nonatomic, strong) BNCProductCategory _Nullable category;
- [NullAllowed, Export("category", ArgumentSemantic.Strong)]
- string Category { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
+ [Field("BNCProductCategoryCamerasOptics", "__Internal")]
+ NSString BNCProductCategoryCamerasOptics { get; }
- // @property (nonatomic, strong) NSString * _Nullable variant;
- [NullAllowed, Export("variant", ArgumentSemantic.Strong)]
- string Variant { get; set; }
- }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryElectronics;
+ [Field("BNCProductCategoryElectronics", "__Internal")]
+ NSString BNCProductCategoryElectronics { get; }
- // @interface BNCCommerceEvent : NSObject
- [BaseType(typeof(NSObject))]
- interface BNCCommerceEvent
- {
- // @property (nonatomic, strong) NSDecimalNumber * _Nullable revenue;
- [NullAllowed, Export("revenue", ArgumentSemantic.Strong)]
- NSDecimalNumber Revenue { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
+ [Field("BNCProductCategoryFoodBeverageTobacco", "__Internal")]
+ NSString BNCProductCategoryFoodBeverageTobacco { get; }
- // @property (nonatomic, strong) BNCCurrency _Nullable currency;
- [NullAllowed, Export("currency", ArgumentSemantic.Strong)]
- string Currency { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryFurniture;
+ [Field("BNCProductCategoryFurniture", "__Internal")]
+ NSString BNCProductCategoryFurniture { get; }
- // @property (nonatomic, strong) NSString * _Nullable transactionID;
- [NullAllowed, Export("transactionID", ArgumentSemantic.Strong)]
- string TransactionID { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryHardware;
+ [Field("BNCProductCategoryHardware", "__Internal")]
+ NSString BNCProductCategoryHardware { get; }
- // @property (nonatomic, strong) NSDecimalNumber * _Nullable shipping;
- [NullAllowed, Export("shipping", ArgumentSemantic.Strong)]
- NSDecimalNumber Shipping { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
+ [Field("BNCProductCategoryHealthBeauty", "__Internal")]
+ NSString BNCProductCategoryHealthBeauty { get; }
- // @property (nonatomic, strong) NSDecimalNumber * _Nullable tax;
- [NullAllowed, Export("tax", ArgumentSemantic.Strong)]
- NSDecimalNumber Tax { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
+ [Field("BNCProductCategoryHomeGarden", "__Internal")]
+ NSString BNCProductCategoryHomeGarden { get; }
- // @property (nonatomic, strong) NSString * _Nullable coupon;
- [NullAllowed, Export("coupon", ArgumentSemantic.Strong)]
- string Coupon { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
+ [Field("BNCProductCategoryLuggageBags", "__Internal")]
+ NSString BNCProductCategoryLuggageBags { get; }
- // @property (nonatomic, strong) NSString * _Nullable affiliation;
- [NullAllowed, Export("affiliation", ArgumentSemantic.Strong)]
- string Affiliation { get; set; }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryMature;
+ [Field("BNCProductCategoryMature", "__Internal")]
+ NSString BNCProductCategoryMature { get; }
- // @property (nonatomic, strong) NSArray * _Nullable products;
- [NullAllowed, Export("products", ArgumentSemantic.Strong)]
- BNCProduct[] Products { get; set; }
- }
+ // extern BNCProductCategory _Nonnull BNCProductCategoryMedia;
+ [Field("BNCProductCategoryMedia", "__Internal")]
+ NSString BNCProductCategoryMedia { get; }
- // @interface BranchCommerceEventRequest : BNCServerRequest
- [BaseType(typeof(BNCServerRequest))]
- interface BranchCommerceEventRequest : INSSecureCoding
- {
- // -(instancetype _Nonnull)initWithCommerceEvent:(BNCCommerceEvent * _Nonnull)commerceEvent metadata:(NSDictionary * _Nullable)dictionary completion:(void (^ _Nullable)(NSDictionary * _Nullable, NSError * _Nullable))callBack;
- [Export("initWithCommerceEvent:metadata:completion:")]
- IntPtr Constructor(BNCCommerceEvent commerceEvent, [NullAllowed] NSDictionary dictionary, [NullAllowed] Action callBack);
+ // extern BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
+ [Field("BNCProductCategoryOfficeSupplies", "__Internal")]
+ NSString BNCProductCategoryOfficeSupplies { get; }
+
+ // extern BNCProductCategory _Nonnull BNCProductCategoryReligious;
+ [Field("BNCProductCategoryReligious", "__Internal")]
+ NSString BNCProductCategoryReligious { get; }
+
+ // extern BNCProductCategory _Nonnull BNCProductCategorySoftware;
+ [Field("BNCProductCategorySoftware", "__Internal")]
+ NSString BNCProductCategorySoftware { get; }
+
+ // extern BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
+ [Field("BNCProductCategorySportingGoods", "__Internal")]
+ NSString BNCProductCategorySportingGoods { get; }
+
+ // extern BNCProductCategory _Nonnull BNCProductCategoryToysGames;
+ [Field("BNCProductCategoryToysGames", "__Internal")]
+ NSString BNCProductCategoryToysGames { get; }
+
+ // extern BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
+ [Field("BNCProductCategoryVehiclesParts", "__Internal")]
+ NSString BNCProductCategoryVehiclesParts { get; }
}
//[Static]
- //[Verify(ConstantsInterfaceAssociation)]
partial interface Constants
{
- // extern NSString *const _Nonnull BNC_SDK_VERSION;
[Field("BNC_SDK_VERSION", "__Internal")]
NSString BNC_SDK_VERSION { get; }
- // extern NSString *const _Nonnull BNC_API_BASE_URL;
- [Field("BNC_API_BASE_URL", "__Internal")]
- NSString BNC_API_BASE_URL { get; }
+ [Field("BNC_LINK_URL", "__Internal")]
+ NSString BNC_LINK_URL { get; }
- // extern const BOOL BNC_API_PINNED;
- [Field("BNC_API_PINNED", "__Internal")]
- bool BNC_API_PINNED { get; }
+ [Field("BNC_CDN_URL", "__Internal")]
+ NSString BNC_CDN_URL { get; }
- // extern NSString *const _Nonnull BNC_API_VERSION;
- [Field("BNC_API_VERSION", "__Internal")]
- NSString BNC_API_VERSION { get; }
+ [Field("BNC_API_URL", "__Internal")]
+ NSString BNC_API_URL { get; }
- // extern NSString *const _Nonnull BNC_LINK_URL;
- [Field("BNC_LINK_URL", "__Internal")]
- NSString BNC_LINK_URL { get; }
+ [Field("BNC_SAFETRACK_API_URL", "__Internal")]
+ NSString BNC_SAFETRACK_API_URL { get; }
+
+ [Field("BNC_EU_API_URL", "__Internal")]
+ NSString BNC_EU_API_URL { get; }
+
+ [Field("BNC_SAFETRACK_EU_API_URL", "__Internal")]
+ NSString BNC_SAFETRACK_EU_API_URL { get; }
}
// @interface Branch (NSError)
@@ -1393,7 +1296,6 @@ interface NSError_Branch
// +(NSString * _Nonnull)bncErrorDomain;
[Static]
[Export("bncErrorDomain")]
- //[Verify(MethodToProperty)]
string BncErrorDomain { get; }
// +(NSError * _Nonnull)branchErrorWithCode:(BNCErrorCode)errorCode;
@@ -1412,6 +1314,7 @@ interface NSError_Branch
NSError BranchErrorWithCode(BNCErrorCode errorCode, [NullAllowed] string message);
}
+ // @interface BNCLinkData : NSObject
// @interface BNCLinkData : NSObject
[BaseType(typeof(NSObject))]
interface BNCLinkData : INSSecureCoding
@@ -1422,8 +1325,7 @@ interface BNCLinkData : INSSecureCoding
// -(void)setupTags:(NSArray *)tags;
[Export("setupTags:")]
- //[Verify(StronglyTypedNSArray)]
- void SetupTags(NSObject[] tags);
+ void SetupTags(string[] tags);
// -(void)setupAlias:(NSString *)alias;
[Export("setupAlias:")]
@@ -1489,12 +1391,10 @@ interface BNCServerRequestQueue
// -(BNCServerRequest *)dequeue;
[Export("dequeue")]
- //[Verify(MethodToProperty)]
BNCServerRequest Dequeue { get; }
// -(BNCServerRequest *)peek;
[Export("peek")]
- //[Verify(MethodToProperty)]
BNCServerRequest Peek { get; }
// -(BNCServerRequest *)peekAt:(NSUInteger)index;
@@ -1513,50 +1413,26 @@ interface BNCServerRequestQueue
[Export("remove:")]
void Remove(BNCServerRequest request);
- // -(void)persistEventually;
- [Export("persistEventually")]
- void PersistEventually();
-
- // -(void)persistImmediately;
- [Export("persistImmediately")]
- void PersistImmediately();
-
// -(void)clearQueue;
[Export("clearQueue")]
void ClearQueue();
+ // -(NSInteger)queueDepth;
+ [Export("queueDepth")]
+ nint QueueDepth { get; }
+
// -(BOOL)containsInstallOrOpen;
[Export("containsInstallOrOpen")]
- //[Verify(MethodToProperty)]
bool ContainsInstallOrOpen { get; }
- // -(BOOL)removeInstallOrOpen;
- [Export("removeInstallOrOpen")]
- //[Verify(MethodToProperty)]
- bool RemoveInstallOrOpen { get; }
-
- // -(BOOL)containsClose;
- [Export("containsClose")]
- //[Verify(MethodToProperty)]
- bool ContainsClose { get; }
-
- //// -(BranchOpenRequest *)moveInstallOrOpenToFront:(NSInteger)networkCount;
- //[Export("moveInstallOrOpenToFront:")]
- //BranchOpenRequest MoveInstallOrOpenToFront(nint networkCount);
+ // -(BranchOpenRequest *)findExistingInstallOrOpen;
+ // [Export("findExistingInstallOrOpen")]
+ // BranchOpenRequest FindExistingInstallOrOpen { get; }
// +(id)getInstance;
[Static]
[Export("getInstance")]
- //[Verify(MethodToProperty)]
NSObject Instance { get; }
-
- // @property (readonly, assign, atomic) NSInteger queueDepth;
- [Export("queueDepth")]
- nint QueueDepth { get; }
-
- // @property (readonly, assign, atomic) BOOL isDirty;
- [Export("isDirty")]
- bool IsDirty { get; }
}
// @protocol BranchActivityItemProviderDelegate
@@ -1570,8 +1446,7 @@ interface BranchActivityItemProviderDelegate
// @optional -(NSArray *)activityItemTagsForChannel:(NSString *)channel;
[Export("activityItemTagsForChannel:")]
- //[Verify(StronglyTypedNSArray)]
- NSObject[] ActivityItemTagsForChannel(string channel);
+ string[] ActivityItemTagsForChannel(string channel);
// @optional -(NSString *)activityItemFeatureForChannel:(NSString *)channel;
[Export("activityItemFeatureForChannel:")]
@@ -1600,13 +1475,11 @@ interface BranchActivityItemProvider
{
// -(id)initWithParams:(NSDictionary *)params andTags:(NSArray *)tags andFeature:(NSString *)feature andStage:(NSString *)stage andAlias:(NSString *)alias __attribute__((deprecated("Use the delegate method instead")));
[Export("initWithParams:andTags:andFeature:andStage:andAlias:")]
- //[Verify(StronglyTypedNSArray)]
- IntPtr Constructor(NSDictionary @params, NSObject[] tags, string feature, string stage, string alias);
+ NativeHandle Constructor(NSDictionary @params, string[] tags, string feature, string stage, string alias);
// -(id)initWithParams:(NSDictionary *)params tags:(NSArray *)tags feature:(NSString *)feature stage:(NSString *)stage campaign:(NSString *)campaign alias:(NSString *)alias delegate:(id)delegate;
[Export("initWithParams:tags:feature:stage:campaign:alias:delegate:")]
- //[Verify(StronglyTypedNSArray)]
- IntPtr Constructor(NSDictionary @params, NSObject[] tags, string feature, string stage, string campaign, string alias, BranchActivityItemProviderDelegate @delegate);
+ NativeHandle Constructor(NSDictionary @params, string[] tags, string feature, string stage, string campaign, string alias, BranchActivityItemProviderDelegate @delegate);
// +(NSString *)humanReadableChannelWithActivityType:(NSString *)activityString;
[Static]
@@ -1615,21 +1488,12 @@ interface BranchActivityItemProvider
}
//[Static]
- //[Verify(ConstantsInterfaceAssociation)]
partial interface Constants
{
- // extern NSString *const BRANCH_REQUEST_KEY_BRANCH_IDENTITY;
- [Field("BRANCH_REQUEST_KEY_BRANCH_IDENTITY", "__Internal")]
- NSString BRANCH_REQUEST_KEY_BRANCH_IDENTITY { get; }
-
// extern NSString *const BRANCH_REQUEST_KEY_DEVELOPER_IDENTITY;
[Field("BRANCH_REQUEST_KEY_DEVELOPER_IDENTITY", "__Internal")]
NSString BRANCH_REQUEST_KEY_DEVELOPER_IDENTITY { get; }
- // extern NSString *const BRANCH_REQUEST_KEY_DEVICE_FINGERPRINT_ID;
- [Field("BRANCH_REQUEST_KEY_DEVICE_FINGERPRINT_ID", "__Internal")]
- NSString BRANCH_REQUEST_KEY_DEVICE_FINGERPRINT_ID { get; }
-
// extern NSString *const BRANCH_REQUEST_KEY_SESSION_ID;
[Field("BRANCH_REQUEST_KEY_SESSION_ID", "__Internal")]
NSString BRANCH_REQUEST_KEY_SESSION_ID { get; }
@@ -1662,26 +1526,6 @@ partial interface Constants
[Field("BRANCH_REQUEST_KEY_STARTING_TRANSACTION_ID", "__Internal")]
NSString BRANCH_REQUEST_KEY_STARTING_TRANSACTION_ID { get; }
- // extern NSString *const BRANCH_REQUEST_KEY_REFERRAL_USAGE_TYPE;
- [Field("BRANCH_REQUEST_KEY_REFERRAL_USAGE_TYPE", "__Internal")]
- NSString BRANCH_REQUEST_KEY_REFERRAL_USAGE_TYPE { get; }
-
- // extern NSString *const BRANCH_REQUEST_KEY_REFERRAL_TYPE;
- [Field("BRANCH_REQUEST_KEY_REFERRAL_TYPE", "__Internal")]
- NSString BRANCH_REQUEST_KEY_REFERRAL_TYPE { get; }
-
- // extern NSString *const BRANCH_REQUEST_KEY_REFERRAL_CREATION_SOURCE;
- [Field("BRANCH_REQUEST_KEY_REFERRAL_CREATION_SOURCE", "__Internal")]
- NSString BRANCH_REQUEST_KEY_REFERRAL_CREATION_SOURCE { get; }
-
- // extern NSString *const BRANCH_REQUEST_KEY_REFERRAL_PREFIX;
- [Field("BRANCH_REQUEST_KEY_REFERRAL_PREFIX", "__Internal")]
- NSString BRANCH_REQUEST_KEY_REFERRAL_PREFIX { get; }
-
- // extern NSString *const BRANCH_REQUEST_KEY_REFERRAL_EXPIRATION;
- [Field("BRANCH_REQUEST_KEY_REFERRAL_EXPIRATION", "__Internal")]
- NSString BRANCH_REQUEST_KEY_REFERRAL_EXPIRATION { get; }
-
// extern NSString *const BRANCH_REQUEST_KEY_URL_SOURCE;
[Field("BRANCH_REQUEST_KEY_URL_SOURCE", "__Internal")]
NSString BRANCH_REQUEST_KEY_URL_SOURCE { get; }
@@ -1742,10 +1586,6 @@ partial interface Constants
[Field("BRANCH_REQUEST_KEY_IOS_VENDOR_ID", "__Internal")]
NSString BRANCH_REQUEST_KEY_IOS_VENDOR_ID { get; }
- // extern NSString *const BRANCH_REQUEST_KEY_AD_TRACKING_ENABLED;
- [Field("BRANCH_REQUEST_KEY_AD_TRACKING_ENABLED", "__Internal")]
- NSString BRANCH_REQUEST_KEY_AD_TRACKING_ENABLED { get; }
-
// extern NSString *const BRANCH_REQUEST_KEY_DEBUG;
[Field("BRANCH_REQUEST_KEY_DEBUG", "__Internal")]
NSString BRANCH_REQUEST_KEY_DEBUG { get; }
@@ -1774,14 +1614,6 @@ partial interface Constants
[Field("BRANCH_REQUEST_KEY_URI_SCHEME", "__Internal")]
NSString BRANCH_REQUEST_KEY_URI_SCHEME { get; }
- // extern NSString *const BRANCH_REQUEST_KEY_CHECKED_FACEBOOK_APPLINKS;
- [Field("BRANCH_REQUEST_KEY_CHECKED_FACEBOOK_APPLINKS", "__Internal")]
- NSString BRANCH_REQUEST_KEY_CHECKED_FACEBOOK_APPLINKS { get; }
-
- // extern NSString *const BRANCH_REQUEST_KEY_CHECKED_APPLE_AD_ATTRIBUTION;
- [Field("BRANCH_REQUEST_KEY_CHECKED_APPLE_AD_ATTRIBUTION", "__Internal")]
- NSString BRANCH_REQUEST_KEY_CHECKED_APPLE_AD_ATTRIBUTION { get; }
-
// extern NSString *const BRANCH_REQUEST_KEY_LINK_IDENTIFIER;
[Field("BRANCH_REQUEST_KEY_LINK_IDENTIFIER", "__Internal")]
NSString BRANCH_REQUEST_KEY_LINK_IDENTIFIER { get; }
@@ -1834,18 +1666,10 @@ partial interface Constants
[Field("BRANCH_REQUEST_KEY_APPLE_TESTFLIGHT", "__Internal")]
NSString BRANCH_REQUEST_KEY_APPLE_TESTFLIGHT { get; }
- // extern NSString *const BRANCH_REQUEST_ENDPOINT_SET_IDENTITY;
- [Field("BRANCH_REQUEST_ENDPOINT_SET_IDENTITY", "__Internal")]
- NSString BRANCH_REQUEST_ENDPOINT_SET_IDENTITY { get; }
-
// extern NSString *const BRANCH_REQUEST_ENDPOINT_APP_LINK_SETTINGS;
[Field("BRANCH_REQUEST_ENDPOINT_APP_LINK_SETTINGS", "__Internal")]
NSString BRANCH_REQUEST_ENDPOINT_APP_LINK_SETTINGS { get; }
- // extern NSString *const BRANCH_REQUEST_ENDPOINT_LOGOUT;
- [Field("BRANCH_REQUEST_ENDPOINT_LOGOUT", "__Internal")]
- NSString BRANCH_REQUEST_ENDPOINT_LOGOUT { get; }
-
// extern NSString *const BRANCH_REQUEST_ENDPOINT_USER_COMPLETED_ACTION;
[Field("BRANCH_REQUEST_ENDPOINT_USER_COMPLETED_ACTION", "__Internal")]
NSString BRANCH_REQUEST_ENDPOINT_USER_COMPLETED_ACTION { get; }
@@ -1854,10 +1678,6 @@ partial interface Constants
[Field("BRANCH_REQUEST_ENDPOINT_GET_SHORT_URL", "__Internal")]
NSString BRANCH_REQUEST_ENDPOINT_GET_SHORT_URL { get; }
- // extern NSString *const BRANCH_REQUEST_ENDPOINT_CLOSE;
- [Field("BRANCH_REQUEST_ENDPOINT_CLOSE", "__Internal")]
- NSString BRANCH_REQUEST_ENDPOINT_CLOSE { get; }
-
// extern NSString *const BRANCH_REQUEST_ENDPOINT_OPEN;
[Field("BRANCH_REQUEST_ENDPOINT_OPEN", "__Internal")]
NSString BRANCH_REQUEST_ENDPOINT_OPEN { get; }
@@ -1870,18 +1690,10 @@ partial interface Constants
[Field("BRANCH_REQUEST_ENDPOINT_REGISTER_VIEW", "__Internal")]
NSString BRANCH_REQUEST_ENDPOINT_REGISTER_VIEW { get; }
- // extern NSString *const BRANCH_REQUEST_ENDPOINT_CPID;
- [Field("BRANCH_REQUEST_ENDPOINT_CPID", "__Internal")]
- NSString BRANCH_REQUEST_ENDPOINT_CPID { get; }
-
// extern NSString *const BRANCH_REQUEST_ENDPOINT_LATD;
[Field("BRANCH_REQUEST_ENDPOINT_LATD", "__Internal")]
NSString BRANCH_REQUEST_ENDPOINT_LATD { get; }
- // extern NSString *const BRANCH_RESPONSE_KEY_BRANCH_IDENTITY;
- [Field("BRANCH_RESPONSE_KEY_BRANCH_IDENTITY", "__Internal")]
- NSString BRANCH_RESPONSE_KEY_BRANCH_IDENTITY { get; }
-
// extern NSString *const BRANCH_RESPONSE_KEY_SESSION_ID;
[Field("BRANCH_RESPONSE_KEY_SESSION_ID", "__Internal")]
NSString BRANCH_RESPONSE_KEY_SESSION_ID { get; }
@@ -1914,10 +1726,6 @@ partial interface Constants
[Field("BRANCH_RESPONSE_KEY_DEVELOPER_IDENTITY", "__Internal")]
NSString BRANCH_RESPONSE_KEY_DEVELOPER_IDENTITY { get; }
- // extern NSString *const BRANCH_RESPONSE_KEY_DEVICE_FINGERPRINT_ID;
- [Field("BRANCH_RESPONSE_KEY_DEVICE_FINGERPRINT_ID", "__Internal")]
- NSString BRANCH_RESPONSE_KEY_DEVICE_FINGERPRINT_ID { get; }
-
// extern NSString *const BRANCH_RESPONSE_KEY_SESSION_DATA;
[Field("BRANCH_RESPONSE_KEY_SESSION_DATA", "__Internal")]
NSString BRANCH_RESPONSE_KEY_SESSION_DATA { get; }
@@ -2094,44 +1902,108 @@ partial interface Constants
[Field("BRANCH_ENTITIES_KEY", "__Internal")]
NSString BRANCH_ENTITIES_KEY { get; }
- // extern NSString *const BRANCH_REQUEST_KEY_SEARCH_AD;
- [Field("BRANCH_REQUEST_KEY_SEARCH_AD", "__Internal")]
- NSString BRANCH_REQUEST_KEY_SEARCH_AD { get; }
-
// extern NSString *const BRANCH_CRASHLYTICS_SDK_VERSION_KEY;
[Field("BRANCH_CRASHLYTICS_SDK_VERSION_KEY", "__Internal")]
NSString BRANCH_CRASHLYTICS_SDK_VERSION_KEY { get; }
- // extern NSString *const BRANCH_CRASHLYTICS_FINGERPRINT_ID_KEY;
- [Field("BRANCH_CRASHLYTICS_FINGERPRINT_ID_KEY", "__Internal")]
- NSString BRANCH_CRASHLYTICS_FINGERPRINT_ID_KEY { get; }
-
// extern NSString *const BRANCH_CRASHLYTICS_LOW_MEMORY_KEY;
[Field("BRANCH_CRASHLYTICS_LOW_MEMORY_KEY", "__Internal")]
NSString BRANCH_CRASHLYTICS_LOW_MEMORY_KEY { get; }
+ [Field("BRANCH_REQUEST_KEY_RANDOMIZED_BUNDLE_TOKEN", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_RANDOMIZED_BUNDLE_TOKEN { get; }
+
+ [Field("BRANCH_REQUEST_KEY_RANDOMIZED_DEVICE_TOKEN", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_RANDOMIZED_DEVICE_TOKEN { get; }
+
+ [Field("BRANCH_REQUEST_KEY_OPTED_IN_STATUS", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_OPTED_IN_STATUS { get; }
+
+ [Field("BRANCH_REQUEST_KEY_FIRST_OPT_IN", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_FIRST_OPT_IN { get; }
+
+ [Field("BRANCH_REQUEST_KEY_LOCAL_URL", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_LOCAL_URL { get; }
+
+ [Field("BRANCH_REQUEST_KEY_INITIAL_REFERRER", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_INITIAL_REFERRER { get; }
+
+ [Field("BRANCH_REQUEST_KEY_APP_CLIP_BUNDLE_ID", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_APP_CLIP_BUNDLE_ID { get; }
+
+ [Field("BRANCH_REQUEST_KEY_LATEST_APP_CLIP_INSTALL_TIME", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_LATEST_APP_CLIP_INSTALL_TIME { get; }
+
+ [Field("BRANCH_REQUEST_KEY_APP_CLIP_RANDOMIZED_DEVICE_TOKEN", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_APP_CLIP_RANDOMIZED_DEVICE_TOKEN { get; }
+
+ [Field("BRANCH_REQUEST_KEY_APP_CLIP_RANDOMIZED_BUNDLE_TOKEN", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_APP_CLIP_RANDOMIZED_BUNDLE_TOKEN { get; }
+
+ [Field("BRANCH_REQUEST_KEY_PARTNER_PARAMETERS", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_PARTNER_PARAMETERS { get; }
+
+ [Field("BRANCH_REQUEST_METADATA_KEY_SCANTIME_WINDOW", "__Internal")]
+ NSString BRANCH_REQUEST_METADATA_KEY_SCANTIME_WINDOW { get; }
+
+ [Field("BRANCH_REQUEST_KEY_REFERRER_GBRAID", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_REFERRER_GBRAID { get; }
+
+ [Field("BRANCH_REQUEST_KEY_REFERRER_GBRAID_TIMESTAMP", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_REFERRER_GBRAID_TIMESTAMP { get; }
+
+ [Field("BRANCH_REQUEST_KEY_IS_DEEPLINK_GBRAID", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_IS_DEEPLINK_GBRAID { get; }
+
+ [Field("BRANCH_REQUEST_KEY_GCLID", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_GCLID { get; }
+
+ [Field("BRANCH_REQUEST_KEY_META_CAMPAIGN_IDS", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_META_CAMPAIGN_IDS { get; }
+
+ [Field("BRANCH_REQUEST_KEY_SCCID", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_SCCID { get; }
+
+ [Field("BRANCH_REQUEST_KEY_APPLE_ATTRIBUTION_TOKEN", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_APPLE_ATTRIBUTION_TOKEN { get; }
+
+ [Field("BRANCH_REQUEST_KEY_SKAN_POSTBACK_INDEX", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_SKAN_POSTBACK_INDEX { get; }
+
+ [Field("BRANCH_REQUEST_KEY_DMA_EEA", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_DMA_EEA { get; }
+
+ [Field("BRANCH_REQUEST_KEY_DMA_AD_PEROSALIZATION", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_DMA_AD_PEROSALIZATION { get; }
+
+ [Field("BRANCH_REQUEST_KEY_DMA_AD_USER_DATA", "__Internal")]
+ NSString BRANCH_REQUEST_KEY_DMA_AD_USER_DATA { get; }
}
// @interface BranchCSSearchableItemAttributeSet : CSSearchableItemAttributeSet
[BaseType(typeof(CSSearchableItemAttributeSet))]
interface BranchCSSearchableItemAttributeSet
{
- // -(id)initWithContentType:(NSString *)type;
+ // -(instancetype _Nonnull)initWithContentType:(UTType * _Nonnull)contentType __attribute__((availability(ios, introduced=14))) __attribute__((availability(maccatalyst, introduced=14)));
[Export("initWithContentType:")]
- IntPtr Constructor(string type);
+ NativeHandle Constructor(string contentType);
+
+ // // -(instancetype _Nonnull)initWithItemContentType:(NSString * _Nonnull)type;
+ // [Export("initWithItemContentType:")]
+ // NativeHandle Constructor(string type);
- // -(void)indexWithCallback:(void (^)(NSString *, NSString *, NSError *))callback;
+ // -(void)indexWithCallback:(void (^ _Nonnull)(NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))callback;
[Export("indexWithCallback:")]
void IndexWithCallback(Action callback);
- // @property (nonatomic, strong) NSDictionary * params;
- [Export("params", ArgumentSemantic.Strong)]
+ // @property (nonatomic, strong) NSDictionary * _Nullable params;
+ [NullAllowed, Export("params", ArgumentSemantic.Strong)]
NSDictionary Params { get; set; }
- // @property (nonatomic, strong) NSSet * keywords;
- [Export("keywords", ArgumentSemantic.Strong)]
+ // @property (nonatomic, strong) NSSet * _Nullable keywords;
+ [NullAllowed, Export("keywords", ArgumentSemantic.Strong)]
NSSet Keywords { get; set; }
- // @property (nonatomic) BOOL publiclyIndexable;
+ // @property (assign, nonatomic) BOOL publiclyIndexable;
[Export("publiclyIndexable")]
bool PubliclyIndexable { get; set; }
}
@@ -2181,7 +2053,6 @@ interface BranchCSSearchableItemAttributeSet
//}
//[Static]
- //[Verify(ConstantsInterfaceAssociation)]
partial interface Constants
{
// extern BranchContentSchema _Nonnull BranchContentSchemaCommerceAuction;
@@ -2317,8 +2188,8 @@ partial interface Constants
[BaseType(typeof(NSObject))]
interface BranchContentMetadata
{
- // @property (nonatomic, strong) BranchContentSchema _Nullable contentSchema;
- [NullAllowed, Export("contentSchema", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) BranchContentSchema _Nullable contentSchema;
+ [NullAllowed, Export("contentSchema")]
string ContentSchema { get; set; }
// @property (assign, nonatomic) double quantity;
@@ -2329,32 +2200,32 @@ interface BranchContentMetadata
[NullAllowed, Export("price", ArgumentSemantic.Strong)]
NSDecimalNumber Price { get; set; }
- // @property (nonatomic, strong) BNCCurrency _Nullable currency;
- [NullAllowed, Export("currency", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) BNCCurrency _Nullable currency;
+ [NullAllowed, Export("currency")]
string Currency { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable sku;
- [NullAllowed, Export("sku", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable sku;
+ [NullAllowed, Export("sku")]
string Sku { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable productName;
- [NullAllowed, Export("productName", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable productName;
+ [NullAllowed, Export("productName")]
string ProductName { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable productBrand;
- [NullAllowed, Export("productBrand", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable productBrand;
+ [NullAllowed, Export("productBrand")]
string ProductBrand { get; set; }
- // @property (nonatomic, strong) BNCProductCategory _Nullable productCategory;
- [NullAllowed, Export("productCategory", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) BNCProductCategory _Nullable productCategory;
+ [NullAllowed, Export("productCategory")]
string ProductCategory { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable productVariant;
- [NullAllowed, Export("productVariant", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable productVariant;
+ [NullAllowed, Export("productVariant")]
string ProductVariant { get; set; }
- // @property (nonatomic, strong) BranchCondition _Nullable condition;
- [NullAllowed, Export("condition", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) BranchCondition _Nullable condition;
+ [NullAllowed, Export("condition")]
string Condition { get; set; }
// @property (assign, nonatomic) double ratingAverage;
@@ -2373,24 +2244,24 @@ interface BranchContentMetadata
[Export("rating")]
double Rating { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable addressStreet;
- [NullAllowed, Export("addressStreet", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable addressStreet;
+ [NullAllowed, Export("addressStreet")]
string AddressStreet { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable addressCity;
- [NullAllowed, Export("addressCity", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable addressCity;
+ [NullAllowed, Export("addressCity")]
string AddressCity { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable addressRegion;
- [NullAllowed, Export("addressRegion", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable addressRegion;
+ [NullAllowed, Export("addressRegion")]
string AddressRegion { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable addressCountry;
- [NullAllowed, Export("addressCountry", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable addressCountry;
+ [NullAllowed, Export("addressCountry")]
string AddressCountry { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable addressPostalCode;
- [NullAllowed, Export("addressPostalCode", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable addressPostalCode;
+ [NullAllowed, Export("addressPostalCode")]
string AddressPostalCode { get; set; }
// @property (assign, nonatomic) double latitude;
@@ -2411,9 +2282,7 @@ interface BranchContentMetadata
// -(NSDictionary * _Nonnull)dictionary;
[Export("dictionary")]
- //[Verify(MethodToProperty)]
- //NSDictionary Dictionary { get; }
- NSDictionary Dictionary();
+ NSDictionary Dictionary { get; }
// +(BranchContentMetadata * _Nonnull)contentMetadataWithDictionary:(NSDictionary * _Nullable)dictionary;
[Static]
@@ -2427,30 +2296,26 @@ interface BranchUniversalObject
{
// -(instancetype _Nonnull)initWithCanonicalIdentifier:(NSString * _Nonnull)canonicalIdentifier;
[Export("initWithCanonicalIdentifier:")]
- IntPtr Constructor(string canonicalIdentifier);
-
- //// -(instancetype _Nonnull)initWithTitle:(NSString * _Nonnull)title;
- //[Export("initWithTitle:")]
- //IntPtr Constructor(string title);
+ NativeHandle Constructor(string canonicalIdentifier);
- // @property (nonatomic, strong) NSString * _Nullable canonicalIdentifier;
- [NullAllowed, Export("canonicalIdentifier", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable canonicalIdentifier;
+ [NullAllowed, Export("canonicalIdentifier")]
string CanonicalIdentifier { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable canonicalUrl;
- [NullAllowed, Export("canonicalUrl", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable canonicalUrl;
+ [NullAllowed, Export("canonicalUrl")]
string CanonicalUrl { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable title;
- [NullAllowed, Export("title", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable title;
+ [NullAllowed, Export("title")]
string Title { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable contentDescription;
- [NullAllowed, Export("contentDescription", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable contentDescription;
+ [NullAllowed, Export("contentDescription")]
string ContentDescription { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable imageUrl;
- [NullAllowed, Export("imageUrl", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable imageUrl;
+ [NullAllowed, Export("imageUrl")]
string ImageUrl { get; set; }
// @property (nonatomic, strong) NSArray * _Nullable keywords;
@@ -2517,14 +2382,6 @@ interface BranchUniversalObject
[Export("registerViewWithCallback:")]
void RegisterViewWithCallback([NullAllowed] Action callback);
- // -(void)userCompletedAction:(NSString * _Nonnull)action;
- [Export("userCompletedAction:")]
- void UserCompletedAction(string action);
-
- // -(void)userCompletedAction:(NSString * _Nonnull)action withState:(NSDictionary * _Nullable)state;
- [Export("userCompletedAction:withState:")]
- void UserCompletedAction(string action, [NullAllowed] NSDictionary state);
-
// -(NSString * _Nullable)getShortUrlWithLinkProperties:(BranchLinkProperties * _Nonnull)linkProperties;
[Export("getShortUrlWithLinkProperties:")]
[return: NullAllowed]
@@ -2541,31 +2398,17 @@ interface BranchUniversalObject
// -(NSString * _Nullable)getLongUrlWithChannel:(NSString * _Nullable)channel andTags:(NSArray * _Nullable)tags andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andAlias:(NSString * _Nullable)alias;
[Export("getLongUrlWithChannel:andTags:andFeature:andStage:andAlias:")]
- //[Verify(StronglyTypedNSArray)]
- [return: NullAllowed]
- string GetLongUrlWithChannel([NullAllowed] string channel, [NullAllowed] NSObject[] tags, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias);
-
- // -(UIActivityItemProvider * _Nullable)getBranchActivityItemWithLinkProperties:(BranchLinkProperties * _Nonnull)linkProperties;
- [Export("getBranchActivityItemWithLinkProperties:")]
[return: NullAllowed]
- UIActivityItemProvider GetBranchActivityItemWithLinkProperties(BranchLinkProperties linkProperties);
+ string GetLongUrlWithChannel([NullAllowed] string channel, [NullAllowed] string[] tags, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias);
- // -(void)showShareSheetWithShareText:(NSString * _Nullable)shareText completion:(void (^ _Nullable)(NSString * _Nullable, BOOL))completion;
+ // -(void)showShareSheetWithShareText:(NSString * _Nullable)shareText completion:(void (^ _Nullable)(NSString * _Nullable, BOOL, NSError * _Nullable))completion;
[Export("showShareSheetWithShareText:completion:")]
- void ShowShareSheetWithShareText([NullAllowed] string shareText, [NullAllowed] Action completion);
-
- // -(void)showShareSheetWithLinkProperties:(BranchLinkProperties * _Nullable)linkProperties andShareText:(NSString * _Nullable)shareText fromViewController:(UIViewController * _Nullable)viewController completion:(void (^ _Nullable)(NSString * _Nullable, BOOL))completion;
- [Export("showShareSheetWithLinkProperties:andShareText:fromViewController:completion:")]
- void ShowShareSheetWithLinkProperties([NullAllowed] BranchLinkProperties linkProperties, [NullAllowed] string shareText, [NullAllowed] UIViewController viewController, [NullAllowed] Action completion);
+ void ShowShareSheetWithShareText([NullAllowed] string shareText, [NullAllowed] Action completion);
// -(void)showShareSheetWithLinkProperties:(BranchLinkProperties * _Nullable)linkProperties andShareText:(NSString * _Nullable)shareText fromViewController:(UIViewController * _Nullable)viewController completionWithError:(void (^ _Nullable)(NSString * _Nullable, BOOL, NSError * _Nullable))completion;
[Export("showShareSheetWithLinkProperties:andShareText:fromViewController:completionWithError:")]
void ShowShareSheetWithLinkProperties([NullAllowed] BranchLinkProperties linkProperties, [NullAllowed] string shareText, [NullAllowed] UIViewController viewController, [NullAllowed] Action completion);
- // -(void)showShareSheetWithLinkProperties:(BranchLinkProperties * _Nullable)linkProperties andShareText:(NSString * _Nullable)shareText fromViewController:(UIViewController * _Nullable)viewController anchor:(UIBarButtonItem * _Nullable)anchor completion:(void (^ _Nullable)(NSString * _Nullable, BOOL))completion;
- [Export("showShareSheetWithLinkProperties:andShareText:fromViewController:anchor:completion:")]
- void ShowShareSheetWithLinkProperties([NullAllowed] BranchLinkProperties linkProperties, [NullAllowed] string shareText, [NullAllowed] UIViewController viewController, [NullAllowed] UIBarButtonItem anchor, [NullAllowed] Action completion);
-
// -(void)showShareSheetWithLinkProperties:(BranchLinkProperties * _Nullable)linkProperties andShareText:(NSString * _Nullable)shareText fromViewController:(UIViewController * _Nullable)viewController anchor:(UIBarButtonItem * _Nullable)anchor completionWithError:(void (^ _Nullable)(NSString * _Nullable, BOOL, NSError * _Nullable))completion;
[Export("showShareSheetWithLinkProperties:andShareText:fromViewController:anchor:completionWithError:")]
void ShowShareSheetWithLinkProperties([NullAllowed] BranchLinkProperties linkProperties, [NullAllowed] string shareText, [NullAllowed] UIViewController viewController, [NullAllowed] UIBarButtonItem anchor, [NullAllowed] Action completion);
@@ -2576,15 +2419,15 @@ interface BranchUniversalObject
// -(void)listOnSpotlightWithCallback:(void (^ _Nullable)(NSString * _Nullable, NSError * _Nullable))callback;
[Export("listOnSpotlightWithCallback:")]
- void ListOnSpotlightWithCallback([NullAllowed] Action callback);
+ void ListOnSpotlightWithCallback([NullAllowed] Action callback);
// -(void)listOnSpotlightWithIdentifierCallback:(void (^ _Nullable)(NSString * _Nullable, NSString * _Nullable, NSError * _Nullable))spotlightCallback __attribute__((deprecated("iOS 10 has changed how Spotlight indexing works and we’ve updated the SDK to reflect this. Please see https://dev.branch.io/features/spotlight-indexing/overview/ for instructions on migration.")));
[Export("listOnSpotlightWithIdentifierCallback:")]
- void ListOnSpotlightWithIdentifierCallback([NullAllowed] Action spotlightCallback);
+ void ListOnSpotlightWithIdentifierCallback([NullAllowed] Action spotlightCallback);
// -(void)listOnSpotlightWithLinkProperties:(BranchLinkProperties * _Nullable)linkproperties callback:(void (^ _Nullable)(NSString * _Nullable, NSError * _Nullable))completion;
[Export("listOnSpotlightWithLinkProperties:callback:")]
- void ListOnSpotlightWithLinkProperties([NullAllowed] BranchLinkProperties linkproperties, [NullAllowed] Action completion);
+ void ListOnSpotlightWithLinkProperties([NullAllowed] BranchLinkProperties linkproperties, [NullAllowed] Action completion);
// -(void)removeFromSpotlightWithCallback:(void (^ _Nullable)(NSError * _Nullable))completion;
[Export("removeFromSpotlightWithCallback:")]
@@ -2600,25 +2443,61 @@ interface BranchUniversalObject
// -(NSMutableDictionary * _Nonnull)dictionary;
[Export("dictionary")]
- //[Verify(MethodToProperty)]
- //NSMutableDictionary Dictionary { get; }
- NSMutableDictionary Dictionary();
+ NSMutableDictionary Dictionary { get; }
// +(BranchUniversalObject * _Nonnull)objectWithDictionary:(NSDictionary * _Null_unspecified)dictionary;
[Static]
[Export("objectWithDictionary:")]
BranchUniversalObject ObjectWithDictionary(NSDictionary dictionary);
- //// -(NSString * _Nonnull)description;
- //[Export("description")]
- //[Verify(MethodToProperty)]
- //string Description { get; }
+ // -(NSString * _Nonnull)description;
+ [Export("description")]
+ string Description { get; }
+ }
+
+ // @interface BNCInitSessionResponse : NSObject
+ [BaseType(typeof(NSObject))]
+ interface BNCInitSessionResponse
+ {
+ // @property (readwrite, nonatomic, strong) NSDictionary * _Nonnull params;
+ [Export("params", ArgumentSemantic.Strong)]
+ NSDictionary Params { get; set; }
+
+ // @property (readwrite, nonatomic, strong) BranchUniversalObject * _Nonnull universalObject;
+ [Export("universalObject", ArgumentSemantic.Strong)]
+ BranchUniversalObject UniversalObject { get; set; }
+
+ // @property (readwrite, nonatomic, strong) BranchLinkProperties * _Nonnull linkProperties;
+ [Export("linkProperties", ArgumentSemantic.Strong)]
+ BranchLinkProperties LinkProperties { get; set; }
+
+ // @property (readwrite, copy, nonatomic) NSString * _Nonnull sceneIdentifier;
+ [Export("sceneIdentifier")]
+ string SceneIdentifier { get; set; }
+
+ // @property (readwrite, nonatomic, strong) NSError * _Nonnull error;
+ [Export("error", ArgumentSemantic.Strong)]
+ NSError Error { get; set; }
}
- //[Static]
- //[Verify(ConstantsInterfaceAssociation)]
partial interface Constants
{
+ // extern const BranchAttributionLevel _Nonnull BranchAttributionLevelFull;
+ [Field("BranchAttributionLevelFull", "__Internal")]
+ NSString BranchAttributionLevelFull { get; }
+
+ // extern const BranchAttributionLevel _Nonnull BranchAttributionLevelReduced;
+ [Field("BranchAttributionLevelReduced", "__Internal")]
+ NSString BranchAttributionLevelReduced { get; }
+
+ // extern const BranchAttributionLevel _Nonnull BranchAttributionLevelMinimal;
+ [Field("BranchAttributionLevelMinimal", "__Internal")]
+ NSString BranchAttributionLevelMinimal { get; }
+
+ // extern const BranchAttributionLevel _Nonnull BranchAttributionLevelNone;
+ [Field("BranchAttributionLevelNone", "__Internal")]
+ NSString BranchAttributionLevelNone { get; }
+
// extern BranchStandardEvent _Nonnull BranchStandardEventAddToCart;
[Field("BranchStandardEventAddToCart", "__Internal")]
NSString BranchStandardEventAddToCart { get; }
@@ -2643,6 +2522,10 @@ partial interface Constants
[Field("BranchStandardEventPurchase", "__Internal")]
NSString BranchStandardEventPurchase { get; }
+ // extern BranchStandardEvent _Nonnull BranchStandardEventSpendCredits;
+ [Field("BranchStandardEventSpendCredits", "__Internal")]
+ NSString BranchStandardEventSpendCredits { get; }
+
// extern BranchStandardEvent _Nonnull BranchStandardEventSubscribe;
[Field("BranchStandardEventSubscribe", "__Internal")]
NSString BranchStandardEventSubscribe { get; }
@@ -2714,6 +2597,14 @@ partial interface Constants
// extern BranchStandardEvent _Nonnull BranchStandardEventReserve;
[Field("BranchStandardEventReserve", "__Internal")]
NSString BranchStandardEventReserve { get; }
+
+ // extern BranchStandardEvent _Nonnull BranchStandardEventOptIn;
+ [Field("BranchStandardEventOptIn", "__Internal")]
+ NSString BranchStandardEventOptIn { get; }
+
+ // extern BranchStandardEvent _Nonnull BranchStandardEventOptOut;
+ [Field("BranchStandardEventOptOut", "__Internal")]
+ NSString BranchStandardEventOptOut { get; }
}
// @interface BranchEvent : NSObject
@@ -2724,7 +2615,7 @@ interface BranchEvent
// -(instancetype _Nonnull)initWithName:(NSString * _Nonnull)name __attribute__((objc_designated_initializer));
[Export("initWithName:")]
[DesignatedInitializer]
- IntPtr Constructor(string name);
+ NativeHandle Constructor(string name);
// +(instancetype _Nonnull)standardEvent:(BranchStandardEvent _Nonnull)standardEvent;
[Static]
@@ -2746,16 +2637,16 @@ interface BranchEvent
[Export("customEventWithName:contentItem:")]
BranchEvent CustomEventWithName(string name, BranchUniversalObject contentItem);
- // @property (nonatomic, strong) NSString * _Nullable alias;
- [NullAllowed, Export("alias", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable alias;
+ [NullAllowed, Export("alias")]
string Alias { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable transactionID;
- [NullAllowed, Export("transactionID", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable transactionID;
+ [NullAllowed, Export("transactionID")]
string TransactionID { get; set; }
- // @property (nonatomic, strong) BNCCurrency _Nullable currency;
- [NullAllowed, Export("currency", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) BNCCurrency _Nullable currency;
+ [NullAllowed, Export("currency")]
string Currency { get; set; }
// @property (nonatomic, strong) NSDecimalNumber * _Nullable revenue;
@@ -2770,49 +2661,49 @@ interface BranchEvent
[NullAllowed, Export("tax", ArgumentSemantic.Strong)]
NSDecimalNumber Tax { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable coupon;
- [NullAllowed, Export("coupon", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable coupon;
+ [NullAllowed, Export("coupon")]
string Coupon { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable affiliation;
- [NullAllowed, Export("affiliation", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable affiliation;
+ [NullAllowed, Export("affiliation")]
string Affiliation { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable eventDescription;
- [NullAllowed, Export("eventDescription", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable eventDescription;
+ [NullAllowed, Export("eventDescription")]
string EventDescription { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable searchQuery;
- [NullAllowed, Export("searchQuery", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable searchQuery;
+ [NullAllowed, Export("searchQuery")]
string SearchQuery { get; set; }
// @property (assign, nonatomic) BranchEventAdType adType;
[Export("adType", ArgumentSemantic.Assign)]
BranchEventAdType AdType { get; set; }
- // @property (copy, nonatomic) NSArray * _Nonnull contentItems;
+ // @property (nonatomic, strong) NSArray * _Nonnull contentItems;
[Export("contentItems", ArgumentSemantic.Strong)]
- //BranchUniversalObject[] ContentItems { get; set; }
NSArray ContentItems { get; set; }
- // @property (copy, nonatomic) NSDictionary * _Nonnull customData;
+ // @property (nonatomic, strong) NSDictionary * _Nonnull customData;
[Export("customData", ArgumentSemantic.Strong)]
NSDictionary CustomData { get; set; }
+ // -(void)logEventWithCompletion:(void (^ _Nullable)(BOOL, NSError * _Nullable))completion;
+ [Export("logEventWithCompletion:")]
+ void LogEventWithCompletion([NullAllowed] Action completion);
+
// -(void)logEvent;
[Export("logEvent")]
void LogEvent();
// -(NSDictionary * _Nonnull)dictionary;
[Export("dictionary")]
- //[Verify(MethodToProperty)]
- //NSDictionary Dictionary { get; }
- NSDictionary Dictionary();
-
- //// -(NSString * _Nonnull)description;
- //[Export("description")]
- //[Verify(MethodToProperty)]
- //string Description { get; }
+ NSDictionary Dictionary { get; }
+
+ // -(NSString * _Nonnull)description;
+ [Export("description")]
+ string Description { get; }
}
// @interface BranchEventRequest : BNCServerRequest
@@ -2821,17 +2712,17 @@ interface BranchEventRequest : INSSecureCoding
{
// -(instancetype _Nonnull)initWithServerURL:(NSURL * _Nonnull)serverURL eventDictionary:(NSDictionary * _Nullable)eventDictionary completion:(void (^ _Nullable)(NSDictionary * _Nullable, NSError * _Nullable))completion;
[Export("initWithServerURL:eventDictionary:completion:")]
- IntPtr Constructor(NSUrl serverURL, [NullAllowed] NSDictionary eventDictionary, [NullAllowed] Action completion);
+ NativeHandle Constructor(NSUrl serverURL, [NullAllowed] NSDictionary eventDictionary, [NullAllowed] Action completion);
- // @property (strong) NSDictionary * _Nullable eventDictionary;
+ // @property (nonatomic, strong) NSDictionary * _Nullable eventDictionary;
[NullAllowed, Export("eventDictionary", ArgumentSemantic.Strong)]
NSDictionary EventDictionary { get; set; }
- // @property (strong) NSURL * _Nullable serverURL;
+ // @property (nonatomic, strong) NSURL * _Nullable serverURL;
[NullAllowed, Export("serverURL", ArgumentSemantic.Strong)]
NSUrl ServerURL { get; set; }
- // @property (copy) void (^ _Nullable)(NSDictionary * _Nullable, NSError * _Nullable) completion;
+ // @property (copy, nonatomic) void (^ _Nullable)(NSDictionary * _Nullable, NSError * _Nullable) completion;
[NullAllowed, Export("completion", ArgumentSemantic.Copy)]
Action Completion { get; set; }
}
@@ -2842,30 +2733,29 @@ interface BranchLinkProperties
{
// @property (nonatomic, strong) NSArray * tags;
[Export("tags", ArgumentSemantic.Strong)]
- //[Verify(StronglyTypedNSArray)]
NSObject[] Tags { get; set; }
- // @property (nonatomic, strong) NSString * feature;
- [Export("feature", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * feature;
+ [Export("feature")]
string Feature { get; set; }
- // @property (nonatomic, strong) NSString * alias;
- [Export("alias", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * alias;
+ [Export("alias")]
string Alias { get; set; }
- // @property (nonatomic, strong) NSString * channel;
- [Export("channel", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * channel;
+ [Export("channel")]
string Channel { get; set; }
- // @property (nonatomic, strong) NSString * stage;
- [Export("stage", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * stage;
+ [Export("stage")]
string Stage { get; set; }
- // @property (nonatomic, strong) NSString * campaign;
- [Export("campaign", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * campaign;
+ [Export("campaign")]
string Campaign { get; set; }
- // @property (nonatomic) NSUInteger matchDuration;
+ // @property (assign, nonatomic) NSUInteger matchDuration;
[Export("matchDuration")]
nuint MatchDuration { get; set; }
@@ -2882,10 +2772,9 @@ interface BranchLinkProperties
[Export("getBranchLinkPropertiesFromDictionary:")]
BranchLinkProperties GetBranchLinkPropertiesFromDictionary(NSDictionary dictionary);
- //// -(NSString *)description;
- //[Export("description")]
- //[Verify(MethodToProperty)]
- //string Description { get; }
+ // -(NSString *)description;
+ [Export("description")]
+ string Description { get; }
}
// @protocol BranchDelegate
@@ -2907,7 +2796,6 @@ interface BranchDelegate
}
//[Static]
- //[Verify(ConstantsInterfaceAssociation)]
partial interface Constants
{
// extern NSString *const _Nonnull BranchWillStartSessionNotification;
@@ -2957,39 +2845,47 @@ interface BranchShareLink
// -(instancetype _Nonnull)initWithUniversalObject:(BranchUniversalObject * _Nonnull)universalObject linkProperties:(BranchLinkProperties * _Nonnull)linkProperties __attribute__((objc_designated_initializer));
[Export("initWithUniversalObject:linkProperties:")]
[DesignatedInitializer]
- IntPtr Constructor(BranchUniversalObject universalObject, BranchLinkProperties linkProperties);
+ NativeHandle Constructor(BranchUniversalObject universalObject, BranchLinkProperties linkProperties);
// -(NSArray * _Nonnull)activityItems;
[Export("activityItems")]
- //[Verify(MethodToProperty)]
UIActivityItemProvider[] ActivityItems { get; }
// -(void)presentActivityViewControllerFromViewController:(UIViewController * _Nullable)viewController anchor:(id _Nullable)anchorViewOrButtonItem;
[Export("presentActivityViewControllerFromViewController:anchor:")]
void PresentActivityViewControllerFromViewController([NullAllowed] UIViewController viewController, [NullAllowed] NSObject anchorViewOrButtonItem);
- // @property (nonatomic, strong) NSString * _Nullable title;
- [NullAllowed, Export("title", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable title;
+ [NullAllowed, Export("title")]
string Title { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable shareText;
- [NullAllowed, Export("shareText", ArgumentSemantic.Strong)]
+ // @property (nonatomic, strong) NSURL * _Nullable placeholderURL;
+ [NullAllowed, Export("placeholderURL", ArgumentSemantic.Strong)]
+ NSUrl PlaceholderURL { get; set; }
+
+ // @property (nonatomic, strong) LPLinkMetadata * _Nullable lpMetaData __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(maccatalyst, introduced=13.1)));
+ // [MacCatalyst(13, 1), iOS(13, 0)]
+ // [NullAllowed, Export("lpMetaData", ArgumentSemantic.Strong)]
+ // LPLinkMetadata LpMetaData { get; set; }
+
+ // @property (copy, nonatomic) NSString * _Nullable shareText;
+ [NullAllowed, Export("shareText")]
string ShareText { get; set; }
// @property (nonatomic, strong) id _Nullable shareObject;
[NullAllowed, Export("shareObject", ArgumentSemantic.Strong)]
NSObject ShareObject { get; set; }
- // @property (nonatomic, strong) NSString * _Nullable emailSubject;
- [NullAllowed, Export("emailSubject", ArgumentSemantic.Strong)]
+ // @property (copy, nonatomic) NSString * _Nullable emailSubject;
+ [NullAllowed, Export("emailSubject")]
string EmailSubject { get; set; }
// @property (readonly, nonatomic, strong) NSURL * _Nullable shareURL;
[NullAllowed, Export("shareURL", ArgumentSemantic.Strong)]
NSUrl ShareURL { get; }
- // @property (readonly, nonatomic, strong) NSString * _Nullable activityType;
- [NullAllowed, Export("activityType", ArgumentSemantic.Strong)]
+ // @property (readonly, copy, nonatomic) NSString * _Nullable activityType;
+ [NullAllowed, Export("activityType")]
string ActivityType { get; }
// @property (nonatomic, strong) NSMutableDictionary * _Nullable serverParameters;
@@ -3011,57 +2907,14 @@ interface BranchShareLink
// @property (nonatomic, weak) id _Nullable delegate;
[NullAllowed, Export("delegate", ArgumentSemantic.Weak)]
NSObject WeakDelegate { get; set; }
- }
- // @interface BranchProbabilisticCrossPlatformID : NSObject
- [BaseType(typeof(NSObject))]
- interface BranchProbabilisticCrossPlatformID
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull crossPlatformID;
- [Export("crossPlatformID")]
- string CrossPlatformID { get; }
-
- // @property (readonly, copy, nonatomic) NSNumber * _Nonnull score;
- [Export("score", ArgumentSemantic.Copy)]
- NSNumber Score { get; }
+ // @property void (^ _Nullable)(NSString * _Nullable, BOOL, NSError * _Nullable) completionError;
+ [NullAllowed, Export("completionError", ArgumentSemantic.Assign)]
+ Action CompletionError { get; set; }
- // +(BranchProbabilisticCrossPlatformID * _Nullable)buildFromJSON:(NSDictionary * _Nonnull)json;
- [Static]
- [Export("buildFromJSON:")]
- [return: NullAllowed]
- BranchProbabilisticCrossPlatformID BuildFromJSON(NSDictionary json);
- }
-
- // @interface BranchCrossPlatformID : NSObject
- [BaseType(typeof(NSObject))]
- interface BranchCrossPlatformID
- {
- // @property (readonly, copy, nonatomic) NSString * _Nonnull crossPlatformID;
- [Export("crossPlatformID")]
- string CrossPlatformID { get; }
-
- // @property (readonly, copy, nonatomic) NSString * _Nonnull developerID;
- [Export("developerID")]
- string DeveloperID { get; }
-
- // @property (readonly, nonatomic, strong) NSArray * _Nonnull pastCrossPlatformIDs;
- [Export("pastCrossPlatformIDs", ArgumentSemantic.Strong)]
- string[] PastCrossPlatformIDs { get; }
-
- // @property (readonly, nonatomic, strong) NSArray * _Nonnull probabiliticCrossPlatformIDs;
- [Export("probabiliticCrossPlatformIDs", ArgumentSemantic.Strong)]
- BranchProbabilisticCrossPlatformID[] ProbabiliticCrossPlatformIDs { get; }
-
- // +(BranchCrossPlatformID * _Nullable)buildFromJSON:(NSDictionary * _Nonnull)json;
- [Static]
- [Export("buildFromJSON:")]
- [return: NullAllowed]
- BranchCrossPlatformID BuildFromJSON(NSDictionary json);
-
- // +(void)requestCrossPlatformIdData:(BNCServerInterface * _Nonnull)serverInterface key:(NSString * _Nonnull)key completion:(void (^ _Nonnull)(BranchCrossPlatformID * _Nullable))completion;
- [Static]
- [Export("requestCrossPlatformIdData:key:completion:")]
- void RequestCrossPlatformIdData(BNCServerInterface serverInterface, string key, Action completion);
+ // -(void)addLPLinkMetadata:(NSString * _Nullable)title icon:(UIImage * _Nullable)icon __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(maccatalyst, introduced=13.1)));
+ [Export("addLPLinkMetadata:icon:")]
+ void AddLPLinkMetadata([NullAllowed] string title, [NullAllowed] UIImage icon);
}
// @interface BranchLastAttributedTouchData : NSObject
@@ -3072,8 +2925,8 @@ interface BranchLastAttributedTouchData
[Export("lastAttributedTouchJSON", ArgumentSemantic.Strong)]
NSDictionary LastAttributedTouchJSON { get; }
- // @property (readonly, copy, nonatomic) NSNumber * _Nonnull attributionWindow;
- [Export("attributionWindow", ArgumentSemantic.Copy)]
+ // @property (readonly, nonatomic, strong) NSNumber * _Nonnull attributionWindow;
+ [Export("attributionWindow", ArgumentSemantic.Strong)]
NSNumber AttributionWindow { get; }
// +(BranchLastAttributedTouchData * _Nullable)buildFromJSON:(NSDictionary * _Nonnull)json;
@@ -3082,10 +2935,10 @@ interface BranchLastAttributedTouchData
[return: NullAllowed]
BranchLastAttributedTouchData BuildFromJSON(NSDictionary json);
- // +(void)requestLastTouchAttributedData:(BNCServerInterface * _Nonnull)serverInterface key:(NSString * _Nonnull)key attributionWindow:(NSInteger)window completion:(void (^ _Nonnull)(BranchLastAttributedTouchData * _Nonnull))completion;
+ // +(void)requestLastTouchAttributedData:(BNCServerInterface * _Nonnull)serverInterface key:(NSString * _Nonnull)key attributionWindow:(NSInteger)window completion:(void (^ _Nonnull)(BranchLastAttributedTouchData * _Nonnull, NSError * _Nonnull))completion;
[Static]
[Export("requestLastTouchAttributedData:key:attributionWindow:completion:")]
- void RequestLastTouchAttributedData(BNCServerInterface serverInterface, string key, nint window, Action completion);
+ void RequestLastTouchAttributedData(BNCServerInterface serverInterface, string key, nint window, Action completion);
}
// @interface Branch (UIViewController)
@@ -3096,23 +2949,77 @@ interface UIViewController_Branch
// +(UIWindow * _Nullable)bnc_currentWindow;
[Static]
[NullAllowed, Export("bnc_currentWindow")]
- //[Verify(MethodToProperty)]
UIWindow Bnc_currentWindow { get; }
// +(UIViewController * _Nullable)bnc_currentViewController;
[Static]
[NullAllowed, Export("bnc_currentViewController")]
- //[Verify(MethodToProperty)]
UIViewController Bnc_currentViewController { get; }
//// -(UIViewController * _Nonnull)bnc_currentViewController;
//[Export("bnc_currentViewController")]
- //[Verify(MethodToProperty)]
//UIViewController Bnc_currentViewController { get; }
}
+ // typedef void (^BranchLogCallback)(NSString * _Nonnull, BranchLogLevel, NSError * _Nullable);
+ delegate void BranchLogCallback(string arg0, BranchLogLevel arg1, [NullAllowed] NSError arg2);
+
+ // @interface BranchLogger : NSObject
+ [BaseType(typeof(NSObject))]
+ interface BranchLogger
+ {
+ // @property (assign, nonatomic) BOOL loggingEnabled;
+ [Export("loggingEnabled")]
+ bool LoggingEnabled { get; set; }
+
+ // @property (assign, nonatomic) BOOL includeCallerDetails;
+ [Export("includeCallerDetails")]
+ bool IncludeCallerDetails { get; set; }
+
+ // @property (copy, nonatomic) BranchLogCallback _Nullable logCallback;
+ [NullAllowed, Export("logCallback", ArgumentSemantic.Copy)]
+ BranchLogCallback LogCallback { get; set; }
+
+ // @property (assign, nonatomic) BranchLogLevel logLevelThreshold;
+ [Export("logLevelThreshold", ArgumentSemantic.Assign)]
+ BranchLogLevel LogLevelThreshold { get; set; }
+
+ // +(instancetype _Nonnull)shared;
+ [Static]
+ [Export("shared")]
+ BranchLogger Shared();
+
+ // -(BOOL)shouldLog:(BranchLogLevel)level;
+ [Export("shouldLog:")]
+ bool ShouldLog(BranchLogLevel level);
+
+ // -(void)disableCallerDetails;
+ [Export("disableCallerDetails")]
+ void DisableCallerDetails();
+
+ // -(void)logError:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+ [Export("logError:error:")]
+ void LogError(string message, [NullAllowed] NSError error);
+
+ // -(void)logWarning:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+ [Export("logWarning:error:")]
+ void LogWarning(string message, [NullAllowed] NSError error);
+
+ // -(void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+ [Export("logDebug:error:")]
+ void LogDebug(string message, [NullAllowed] NSError error);
+
+ // -(void)logVerbose:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+ [Export("logVerbose:error:")]
+ void LogVerbose(string message, [NullAllowed] NSError error);
+
+ // +(NSString * _Nonnull)formatMessage:(NSString * _Nonnull)message logLevel:(BranchLogLevel)logLevel error:(NSError * _Nonnull)error;
+ [Static]
+ [Export("formatMessage:logLevel:error:")]
+ string FormatMessage(string message, BranchLogLevel logLevel, NSError error);
+ }
+
//[Static]
- //[Verify(ConstantsInterfaceAssociation)]
partial interface Constants
{
// extern NSString *const _Nonnull BRANCH_FEATURE_TAG_SHARE;
@@ -3187,10 +3094,6 @@ partial interface Constants
[Field("BNCPurchaseCurrency", "__Internal")]
NSString BNCPurchaseCurrency { get; }
- //// extern NSString *const _Nonnull BNCCanonicalIdList;
- //[Field("BNCCanonicalIdList", "__Internal")]
- //NSString BNCCanonicalIdList { get; }
-
// extern NSString *const _Nonnull BNCRegisterViewEvent;
[Field("BNCRegisterViewEvent", "__Internal")]
NSString BNCRegisterViewEvent { get; }
@@ -3250,13 +3153,11 @@ interface Branch
// +(Branch * _Nonnull)getTestInstance __attribute__((deprecated("Use `Branch.useTestBranchKey = YES;` instead.")));
[Static]
[Export("getTestInstance")]
- //[Verify(MethodToProperty)]
Branch TestInstance { get; }
// +(Branch * _Nonnull)getInstance;
[Static]
[Export("getInstance")]
- //[Verify(MethodToProperty)]
Branch Instance { get; }
// +(Branch * _Nonnull)getInstance:(NSString * _Nonnull)branchKey;
@@ -3268,14 +3169,12 @@ interface Branch
// +(void)setNetworkServiceClass:(Class _Nonnull)networkServiceClass;
[Static]
[Export("networkServiceClass")]
- //[Verify(MethodToProperty)]
Class NetworkServiceClass { get; set; }
// +(BOOL)useTestBranchKey;
// +(void)setUseTestBranchKey:(BOOL)useTestKey;
[Static]
[Export("useTestBranchKey")]
- //[Verify(MethodToProperty)]
bool UseTestBranchKey { get; set; }
// +(void)setBranchKey:(NSString * _Nonnull)branchKey error:(NSError * _Nullable * _Nullable)error;
@@ -3287,22 +3186,13 @@ interface Branch
// +(void)setBranchKey:(NSString * _Nonnull)branchKey;
[Static]
[NullAllowed, Export("branchKey")]
- //[Verify(MethodToProperty)]
string BranchKey { get; set; }
// +(BOOL)branchKeyIsSet;
[Static]
[Export("branchKeyIsSet")]
- //[Verify(MethodToProperty)]
bool BranchKeyIsSet { get; }
- // +(BOOL)enableFingerprintIDInCrashlyticsReports;
- // +(void)setEnableFingerprintIDInCrashlyticsReports:(BOOL)enabled;
- [Static]
- [Export("enableFingerprintIDInCrashlyticsReports")]
- //[Verify(MethodToProperty)]
- bool EnableFingerprintIDInCrashlyticsReports { get; set; }
-
[Wrap("WeakDelegate")]
[NullAllowed]
BranchDelegate Delegate { get; set; }
@@ -3329,26 +3219,22 @@ interface Branch
// +(BranchActivityItemProvider * _Nonnull)getBranchActivityItemWithParams:(NSDictionary * _Nonnull)params feature:(NSString * _Nullable)feature stage:(NSString * _Nullable)stage tags:(NSArray * _Nullable)tags;
[Static]
[Export("getBranchActivityItemWithParams:feature:stage:tags:")]
- //[Verify(StronglyTypedNSArray)]
- BranchActivityItemProvider GetBranchActivityItemWithParams(NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] NSObject[] tags);
+ BranchActivityItemProvider GetBranchActivityItemWithParams(NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string[] tags);
// +(BranchActivityItemProvider * _Nonnull)getBranchActivityItemWithParams:(NSDictionary * _Nonnull)params feature:(NSString * _Nullable)feature stage:(NSString * _Nullable)stage tags:(NSArray * _Nullable)tags alias:(NSString * _Nullable)alias;
[Static]
[Export("getBranchActivityItemWithParams:feature:stage:tags:alias:")]
- //[Verify(StronglyTypedNSArray)]
- BranchActivityItemProvider GetBranchActivityItemWithParams(NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] NSObject[] tags, [NullAllowed] string alias);
+ BranchActivityItemProvider GetBranchActivityItemWithParams(NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string[] tags, [NullAllowed] string alias);
// +(BranchActivityItemProvider * _Nonnull)getBranchActivityItemWithParams:(NSDictionary * _Nonnull)params feature:(NSString * _Nullable)feature stage:(NSString * _Nullable)stage campaign:(NSString * _Nullable)campaign tags:(NSArray * _Nullable)tags alias:(NSString * _Nullable)alias;
[Static]
[Export("getBranchActivityItemWithParams:feature:stage:campaign:tags:alias:")]
- //[Verify(StronglyTypedNSArray)]
- BranchActivityItemProvider GetBranchActivityItemWithParams(NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string campaign, [NullAllowed] NSObject[] tags, [NullAllowed] string alias);
+ BranchActivityItemProvider GetBranchActivityItemWithParams(NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string campaign, [NullAllowed] string[] tags, [NullAllowed] string alias);
// +(BranchActivityItemProvider * _Nonnull)getBranchActivityItemWithParams:(NSDictionary * _Nonnull)params feature:(NSString * _Nullable)feature stage:(NSString * _Nullable)stage tags:(NSArray * _Nullable)tags alias:(NSString * _Nullable)alias delegate:(id _Nullable)delegate;
[Static]
[Export("getBranchActivityItemWithParams:feature:stage:tags:alias:delegate:")]
- //[Verify(StronglyTypedNSArray)]
- BranchActivityItemProvider GetBranchActivityItemWithParams(NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] NSObject[] tags, [NullAllowed] string alias, [NullAllowed] BranchActivityItemProviderDelegate @delegate);
+ BranchActivityItemProvider GetBranchActivityItemWithParams(NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string[] tags, [NullAllowed] string alias, [NullAllowed] BranchActivityItemProviderDelegate @delegate);
// -(void)initSessionWithLaunchOptions:(NSDictionary * _Nullable)options;
[Export("initSessionWithLaunchOptions:")]
@@ -3374,9 +3260,9 @@ interface Branch
[Export("initSessionWithLaunchOptions:isReferrable:andRegisterDeepLinkHandler:")]
void InitSessionWithLaunchOptions([NullAllowed] NSDictionary options, bool isReferrable, [NullAllowed] callbackWithParams callback);
- //// -(void)initSessionWithLaunchOptions:(NSDictionary * _Nullable)options isReferrable:(BOOL)isReferrable automaticallyDisplayDeepLinkController:(BOOL)automaticallyDisplayController;
- //[Export("initSessionWithLaunchOptions:isReferrable:automaticallyDisplayDeepLinkController:")]
- //void InitSessionWithLaunchOptions([NullAllowed] NSDictionary options, bool isReferrable, bool automaticallyDisplayController);
+ // -(void)initSessionWithLaunchOptions:(NSDictionary * _Nullable)options isReferrable:(BOOL)isReferrable automaticallyDisplayDeepLinkController:(BOOL)automaticallyDisplayController;
+ [Export("initSessionWithLaunchOptions:isReferrable:automaticallyDisplayDeepLinkController:")]
+ void InitSessionWithLaunchOptions([NullAllowed] NSDictionary options, bool isReferrable, bool automaticallyDisplayController);
//// -(void)initSessionWithLaunchOptions:(NSDictionary * _Nullable)options automaticallyDisplayDeepLinkController:(BOOL)automaticallyDisplayController deepLinkHandler:(callbackWithParams _Nullable)callback;
//[Export("initSessionWithLaunchOptions:automaticallyDisplayDeepLinkController:deepLinkHandler:")]
@@ -3386,10 +3272,18 @@ interface Branch
[Export("initSessionWithLaunchOptions:automaticallyDisplayDeepLinkController:isReferrable:deepLinkHandler:")]
void InitSessionWithLaunchOptions([NullAllowed] NSDictionary options, bool automaticallyDisplayController, bool isReferrable, [NullAllowed] callbackWithParams callback);
+ // -(void)initSceneSessionWithLaunchOptions:(NSDictionary * _Nonnull)options isReferrable:(BOOL)isReferrable explicitlyRequestedReferrable:(BOOL)explicitlyRequestedReferrable automaticallyDisplayController:(BOOL)automaticallyDisplayController registerDeepLinkHandler:(void (^ _Nonnull)(BNCInitSessionResponse * _Nullable, NSError * _Nullable))callback;
+ [Export("initSceneSessionWithLaunchOptions:isReferrable:explicitlyRequestedReferrable:automaticallyDisplayController:registerDeepLinkHandler:")]
+ void InitSceneSessionWithLaunchOptions(NSDictionary options, bool isReferrable, bool explicitlyRequestedReferrable, bool automaticallyDisplayController, Action callback);
+
// -(BOOL)handleDeepLink:(NSURL * _Nullable)url;
[Export("handleDeepLink:")]
bool HandleDeepLink([NullAllowed] NSUrl url);
+ // -(BOOL)handleDeepLink:(NSURL * _Nullable)url sceneIdentifier:(NSString * _Nullable)sceneIdentifier;
+ [Export("handleDeepLink:sceneIdentifier:")]
+ bool HandleDeepLink([NullAllowed] NSUrl url, [NullAllowed] string sceneIdentifier);
+
// -(BOOL)handleDeepLinkWithNewSession:(NSURL * _Nullable)url;
[Export("handleDeepLinkWithNewSession:")]
bool HandleDeepLinkWithNewSession([NullAllowed] NSUrl url);
@@ -3398,33 +3292,60 @@ interface Branch
[Export("continueUserActivity:")]
bool ContinueUserActivity([NullAllowed] NSUserActivity userActivity);
+ // -(BOOL)continueUserActivity:(NSUserActivity * _Nullable)userActivity sceneIdentifier:(NSString * _Nullable)sceneIdentifier;
+ [Export("continueUserActivity:sceneIdentifier:")]
+ bool ContinueUserActivity([NullAllowed] NSUserActivity userActivity, [NullAllowed] string sceneIdentifier);
+
// -(BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation;
[Export("application:openURL:sourceApplication:annotation:")]
bool Application([NullAllowed] UIApplication application, [NullAllowed] NSUrl url, [NullAllowed] string sourceApplication, [NullAllowed] NSObject annotation);
+ // -(BOOL)sceneIdentifier:(NSString * _Nullable)sceneIdentifier openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation;
+ [Export("sceneIdentifier:openURL:sourceApplication:annotation:")]
+ bool SceneIdentifier([NullAllowed] string sceneIdentifier, [NullAllowed] NSUrl url, [NullAllowed] string sourceApplication, [NullAllowed] NSObject annotation);
+
// -(BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url options:(NSDictionary * _Nullable)options;
[Export("application:openURL:options:")]
bool Application([NullAllowed] UIApplication application, [NullAllowed] NSUrl url, [NullAllowed] NSDictionary options);
- //// -(void)dispatchToIsolationQueue:(dispatch_block_t _Nonnull)initBlock;
- //[Export("dispatchToIsolationQueue:")]
- //void DispatchToIsolationQueue(dispatch_block_t initBlock);
+ // -(void)dispatchToIsolationQueue:(dispatch_block_t _Nonnull)initBlock;
+ // [Export("dispatchToIsolationQueue:")]
+ // void DispatchToIsolationQueue(dispatch_block_t initBlock);
+
+ // -(void)notifyNativeToInit;
+ [Export("notifyNativeToInit")]
+ void NotifyNativeToInit();
// -(void)handlePushNotification:(NSDictionary * _Nullable)userInfo;
[Export("handlePushNotification:")]
void HandlePushNotification([NullAllowed] NSDictionary userInfo);
- //// -(void)registerDeepLinkController:(UIViewController * _Nullable)controller forKey:(NSString * _Nullable)key __attribute__((deprecated("This API is deprecated. Please use registerDeepLinkController: forKey: withOption:")));
- //[Export("registerDeepLinkController:forKey:")]
- //void RegisterDeepLinkController([NullAllowed] BranchDeepLinkingController controller, [NullAllowed] string key);
+ // -(void)registerDeepLinkController:(UIViewController * _Nullable)controller forKey:(NSString * _Nullable)key __attribute__((deprecated("This API is deprecated. Please use registerDeepLinkController: forKey: withOption:")));
+ // [Export("registerDeepLinkController:forKey:")]
+ // void RegisterDeepLinkController([NullAllowed] BranchDeepLinkingController controller, [NullAllowed] string key);
+
+ // // -(void)registerDeepLinkController:(UIViewController * _Nullable)controller forKey:(NSString * _Nullable)key withPresentation:(BNCViewControllerPresentationOption)option;
+ // [Export("registerDeepLinkController:forKey:withPresentation:")]
+ // void RegisterDeepLinkController([NullAllowed] BranchDeepLinkingController controller, [NullAllowed] string key, BNCViewControllerPresentationOption option);
+
+ // +(void)enableLogging;
+ [Static]
+ [Export("enableLogging")]
+ void EnableLogging();
+
+ // +(void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(BranchLogCallback _Nullable)callback;
+ [Static]
+ [Export("enableLoggingAtLevel:withCallback:")]
+ void EnableLoggingAtLevel(BranchLogLevel logLevel, [NullAllowed] BranchLogCallback callback);
- //// -(void)registerDeepLinkController:(UIViewController * _Nullable)controller forKey:(NSString * _Nullable)key withPresentation:(BNCViewControllerPresentationOption)option;
- //[Export("registerDeepLinkController:forKey:withPresentation:")]
- //void RegisterDeepLinkController([NullAllowed] BranchDeepLinkingController controller, [NullAllowed] string key, BNCViewControllerPresentationOption option);
+ // -(void)useEUEndpoints;
+ [Export("useEUEndpoints")]
+ void UseEUEndpoints();
- // -(void)setDebug;
- [Export("setDebug")]
- void SetDebug();
+ // +(void)setAPIUrl:(NSString * _Nonnull)url;
+ [Static]
+ [Export("setAPIUrl:")]
+ void SetAPIUrl(string url);
// -(void)validateSDKIntegration;
[Export("validateSDKIntegration")]
@@ -3434,45 +3355,49 @@ interface Branch
[Export("setDeepLinkDebugMode:")]
void SetDeepLinkDebugMode([NullAllowed] NSDictionary debugParams);
- // TODO: rename C# versions
- // -(void)addWhiteListedScheme:(NSString * _Nullable)scheme;
+ // -(void)addAllowedScheme:(NSString * _Nullable)scheme;
[Export("addAllowedScheme:")]
- void AddWhiteListedScheme([NullAllowed] string scheme);
+ void AddAllowedScheme([NullAllowed] string scheme);
- // TODO: rename C# versions
- // -(void)setWhiteListedSchemes:(NSArray * _Nullable)schemes;
+ // -(void)setAllowedSchemes:(NSArray * _Nullable)schemes;
[Export("setAllowedSchemes:")]
- //[Verify(StronglyTypedNSArray)]
- void SetWhiteListedSchemes([NullAllowed] NSObject[] schemes);
+ void SetAllowedSchemes([NullAllowed] NSObject[] schemes);
- // TODO: rename C# versions
- // @property (copy) NSArray * _Nullable blackListURLRegex;
- [NullAllowed, Export("urlPatternsToIgnore", ArgumentSemantic.Copy)]
- string[] BlackListURLRegex { get; set; }
+ // -(void)setUrlPatternsToIgnore:(NSArray * _Nonnull)urlsToIgnore;
+ [Export("setUrlPatternsToIgnore:")]
+ void SetUrlPatternsToIgnore(string[] urlsToIgnore);
- // -(void)registerFacebookDeepLinkingClass:(id _Nonnull)FBSDKAppLinkUtility;
- [Export("registerFacebookDeepLinkingClass:")]
- void RegisterFacebookDeepLinkingClass(NSObject FBSDKAppLinkUtility);
+ // -(void)checkPasteboardOnInstall;
+ [Export("checkPasteboardOnInstall")]
+ void CheckPasteboardOnInstall();
- // -(void)delayInitToCheckForSearchAds;
- [Export("delayInitToCheckForSearchAds")]
- void DelayInitToCheckForSearchAds();
+ // -(BOOL)willShowPasteboardToast;
+ [Export("willShowPasteboardToast")]
+ bool WillShowPasteboardToast { get; }
- // -(void)useLongerWaitForAppleSearchAds;
- [Export("useLongerWaitForAppleSearchAds")]
- void UseLongerWaitForAppleSearchAds();
+ // -(void)setAppClipAppGroup:(NSString * _Nonnull)appGroup;
+ [Export("setAppClipAppGroup:")]
+ void SetAppClipAppGroup(string appGroup);
- // -(void)ignoreAppleSearchAdsTestData;
- [Export("ignoreAppleSearchAdsTestData")]
- void IgnoreAppleSearchAdsTestData();
+ // -(void)handleATTAuthorizationStatus:(NSUInteger)status;
+ [Export("handleATTAuthorizationStatus:")]
+ void HandleATTAuthorizationStatus(nuint status);
- // - (void)enableLogging;
- [Export("enableLogging")]
- void EnableLogging();
+ // -(void)setSKAdNetworkCalloutMaxTimeSinceInstall:(NSTimeInterval)maxTimeInterval __attribute__((deprecated("This is no longer supported for iOS 16.1+ - SKAN4.0")));
+ [Export("setSKAdNetworkCalloutMaxTimeSinceInstall:")]
+ void SetSKAdNetworkCalloutMaxTimeSinceInstall(double maxTimeInterval);
- // - (void)checkPasteboardOnInstall;
- [Export("checkPasteboardOnInstall")]
- void CheckPasteboardOnInstall();
+ // -(void)addFacebookPartnerParameterWithName:(NSString * _Nonnull)name value:(NSString * _Nonnull)value;
+ [Export("addFacebookPartnerParameterWithName:value:")]
+ void AddFacebookPartnerParameterWithName(string name, string value);
+
+ // -(void)addSnapPartnerParameterWithName:(NSString * _Nonnull)name value:(NSString * _Nonnull)value;
+ [Export("addSnapPartnerParameterWithName:value:")]
+ void AddSnapPartnerParameterWithName(string name, string value);
+
+ // -(void)clearPartnerParameters;
+ [Export("clearPartnerParameters")]
+ void ClearPartnerParameters();
// -(void)setRetryInterval:(NSTimeInterval)retryInterval;
[Export("setRetryInterval:")]
@@ -3486,95 +3411,70 @@ interface Branch
[Export("setNetworkTimeout:")]
void SetNetworkTimeout(double timeout);
- // -(void)disableCookieBasedMatching __attribute__((deprecated("Feature removed. Did not work on iOS 11+")));
- [Export("disableCookieBasedMatching")]
- void DisableCookieBasedMatching();
-
- // -(void)accountForFacebookSDKPreventingAppLaunch __attribute__((deprecated("Please ensure application:didFinishLaunchingWithOptions: always returns YES/true instead of using this method. It will be removed in a future release.")));
- [Export("accountForFacebookSDKPreventingAppLaunch")]
- void AccountForFacebookSDKPreventingAppLaunch();
-
- // -(void)suppressWarningLogs;
- [Export("suppressWarningLogs")]
- void SuppressWarningLogs();
+ // -(void)disableAdNetworkCallouts:(BOOL)disableCallouts;
+ [Export("disableAdNetworkCallouts:")]
+ void DisableAdNetworkCallouts(bool disableCallouts);
// -(void)registerPluginName:(NSString * _Nonnull)name version:(NSString * _Nonnull)version;
[Export("registerPluginName:version:")]
void RegisterPluginName(string name, string version);
- // -(void)setRequestMetadataKey:(NSString * _Nonnull)key value:(id _Nullable)value;
+ // +(BOOL)isBranchLink:(NSString * _Nonnull)urlString;
+ [Static]
+ [Export("isBranchLink:")]
+ bool IsBranchLink(string urlString);
+
+ // -(void)setRequestMetadataKey:(NSString * _Nonnull)key value:(NSString _Nullable)value;
[Export("setRequestMetadataKey:value:")]
void SetRequestMetadataKey(string key, [NullAllowed] string value);
- // -(void)enableDelayedInit __attribute__((deprecated("No longer valid with new init process")));
- [Export("enableDelayedInit")]
- void EnableDelayedInit();
-
- // -(void)disableDelayedInit __attribute__((deprecated("No longer valid with new init process")));
- [Export("disableDelayedInit")]
- void DisableDelayedInit();
-
- // -(NSURL * _Nullable)getUrlForOnboardingWithRedirectUrl:(NSString * _Nullable)redirectUrl __attribute__((deprecated("Feature removed. Did not work on iOS 11+")));
- [Export("getUrlForOnboardingWithRedirectUrl:")]
- [return: NullAllowed]
- NSUrl GetUrlForOnboardingWithRedirectUrl([NullAllowed] string redirectUrl);
-
- // -(void)resumeInit __attribute__((deprecated("Feature removed. Did not work on iOS 11+")));
- [Export("resumeInit")]
- void ResumeInit();
-
- // -(void)setInstallRequestDelay:(NSInteger)installRequestDelay __attribute__((deprecated("No longer valid with new init process")));
- [Export("setInstallRequestDelay:")]
- void SetInstallRequestDelay(nint installRequestDelay);
-
// +(BOOL)trackingDisabled;
- // +(void)setTrackingDisabled:(BOOL)disabled;
+ // +(void)setTrackingDisabled:(BOOL)disabled __attribute__((deprecated("This method has been deprecated. Use `setConsumerProtectionAttributionLevel:` with `BranchAttributionLevelNone` instead.")));
[Static]
[Export("trackingDisabled")]
- //[Verify(MethodToProperty)]
bool TrackingDisabled { get; set; }
+ // +(void)setReferrerGbraidValidityWindow:(NSTimeInterval)validityWindow;
+ [Static]
+ [Export("setReferrerGbraidValidityWindow:")]
+ void SetReferrerGbraidValidityWindow(double validityWindow);
+
+ // +(void)setDMAParamsForEEA:(BOOL)eeaRegion AdPersonalizationConsent:(BOOL)adPersonalizationConsent AdUserDataUsageConsent:(BOOL)adUserDataUsageConsent;
+ [Static]
+ [Export("setDMAParamsForEEA:AdPersonalizationConsent:AdUserDataUsageConsent:")]
+ void SetDMAParamsForEEA(bool eeaRegion, bool adPersonalizationConsent, bool adUserDataUsageConsent);
+
+ // -(void)setConsumerProtectionAttributionLevel:(BranchAttributionLevel _Nonnull)level;
+ [Export("setConsumerProtectionAttributionLevel:")]
+ void SetConsumerProtectionAttributionLevel(string level);
+
// -(BranchUniversalObject * _Nullable)getFirstReferringBranchUniversalObject;
- [Export("getFirstReferringBranchUniversalObject")]
- //[Verify(MethodToProperty)]
- //BranchUniversalObject FirstReferringBranchUniversalObject { get; }
- BranchUniversalObject FirstReferringBranchUniversalObject();
+ [NullAllowed, Export("getFirstReferringBranchUniversalObject")]
+ BranchUniversalObject FirstReferringBranchUniversalObject { get; }
// -(BranchLinkProperties * _Nullable)getFirstReferringBranchLinkProperties;
- [Export("getFirstReferringBranchLinkProperties")]
- //[Verify(MethodToProperty)]
- //BranchLinkProperties FirstReferringBranchLinkProperties { get; }
- BranchLinkProperties FirstReferringBranchLinkProperties();
+ [NullAllowed, Export("getFirstReferringBranchLinkProperties")]
+ BranchLinkProperties FirstReferringBranchLinkProperties { get; }
// -(NSDictionary * _Nullable)getFirstReferringParams;
- [Export("getFirstReferringParams")]
- //[Verify(MethodToProperty)]
- //NSDictionary FirstReferringParams { get; }
- NSDictionary FirstReferringParams();
+ [NullAllowed, Export("getFirstReferringParams")]
+ NSDictionary FirstReferringParams { get; }
// -(BranchUniversalObject * _Nullable)getLatestReferringBranchUniversalObject;
- [Export("getLatestReferringBranchUniversalObject")]
- //[Verify(MethodToProperty)]
- //BranchUniversalObject LatestReferringBranchUniversalObject { get; }
- BranchUniversalObject LatestReferringBranchUniversalObject();
+ [NullAllowed, Export("getLatestReferringBranchUniversalObject")]
+ BranchUniversalObject LatestReferringBranchUniversalObject { get; }
// -(BranchLinkProperties * _Nullable)getLatestReferringBranchLinkProperties;
- [Export("getLatestReferringBranchLinkProperties")]
- //[Verify(MethodToProperty)]
- //BranchLinkProperties LatestReferringBranchLinkProperties { get; }
- BranchLinkProperties LatestReferringBranchLinkProperties();
+ [NullAllowed, Export("getLatestReferringBranchLinkProperties")]
+ BranchLinkProperties LatestReferringBranchLinkProperties { get; }
// -(NSDictionary * _Nullable)getLatestReferringParams;
- [Export("getLatestReferringParams")]
- //[Verify(MethodToProperty)]
- //NSDictionary LatestReferringParams { get; }
- NSDictionary LatestReferringParams();
+ [NullAllowed, Export("getLatestReferringParams")]
+ NSDictionary LatestReferringParams { get; }
// -(NSDictionary * _Nullable)getLatestReferringParamsSynchronous;
- [Export("getLatestReferringParamsSynchronous")]
- //[Verify(MethodToProperty)]
- //NSDictionary LatestReferringParamsSynchronous { get; }
- NSDictionary LatestReferringParamsSynchronous();
+ [NullAllowed, Export("getLatestReferringParamsSynchronous")]
+ NSDictionary LatestReferringParamsSynchronous { get; }
// -(void)resetUserSession;
[Export("resetUserSession")]
@@ -3582,7 +3482,6 @@ interface Branch
// -(BOOL)isUserIdentified;
[Export("isUserIdentified")]
- //[Verify(MethodToProperty)]
bool IsUserIdentified { get; }
// -(void)setIdentity:(NSString * _Nullable)userId;
@@ -3601,33 +3500,12 @@ interface Branch
[Export("logoutWithCallback:")]
void LogoutWithCallback([NullAllowed] callbackWithStatus callback);
- // -(void)userCompletedAction:(NSString * _Nullable)action;
- [Export("userCompletedAction:")]
- void UserCompletedAction([NullAllowed] string action);
-
- // -(void)userCompletedAction:(NSString * _Nullable)action withState:(NSDictionary * _Nullable)state;
- [Export("userCompletedAction:withState:")]
- void UserCompletedAction([NullAllowed] string action, [NullAllowed] NSDictionary state);
-
- // -(void)userCompletedAction:(NSString * _Nullable)action withState:(NSDictionary * _Nullable)state withDelegate:(id _Nullable)branchViewCallback __attribute__((deprecated("This API is deprecated. Please use userCompletedAction:action:state instead.")));
- [Export("userCompletedAction:withState:withDelegate:")]
- void UserCompletedAction([NullAllowed] string action, [NullAllowed] NSDictionary state, [NullAllowed] NSObject branchViewCallback);
-
- // -(void)sendCommerceEvent:(BNCCommerceEvent * _Nonnull)commerceEvent metadata:(NSDictionary * _Nonnull)metadata withCompletion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion __attribute__((deprecated("Please use BranchEvent to track commerce events.")));
- [Export("sendCommerceEvent:metadata:withCompletion:")]
- void SendCommerceEvent(BNCCommerceEvent commerceEvent, NSDictionary metadata, Action completion);
-
- // -(void)crossPlatformIdDataWithCompletion:(void (^ _Nonnull)(BranchCrossPlatformID * _Nullable))completion;
- [Export("crossPlatformIdDataWithCompletion:")]
- void CrossPlatformIdDataWithCompletion(Action completion);
-
- // -(void)lastAttributedTouchDataWithAttributionWindow:(NSInteger)window completion:(void (^ _Nonnull)(BranchLastAttributedTouchData * _Nullable))completion;
+ // -(void)lastAttributedTouchDataWithAttributionWindow:(NSInteger)window completion:(void (^ _Nonnull)(BranchLastAttributedTouchData * _Nullable, NSError * _Nullable))completion;
[Export("lastAttributedTouchDataWithAttributionWindow:completion:")]
- void LastAttributedTouchDataWithAttributionWindow(nint window, Action completion);
+ void LastAttributedTouchDataWithAttributionWindow(nint window, Action completion);
// -(NSString * _Nonnull)getShortURL;
[Export("getShortURL")]
- //[Verify(MethodToProperty)]
string ShortURL { get; }
// -(NSString * _Nonnull)getShortURLWithParams:(NSDictionary * _Nullable)params;
@@ -3656,43 +3534,35 @@ interface Branch
// -(NSString * _Nonnull)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:")]
- //[Verify(StronglyTypedNSArray)]
- string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage);
+ string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage);
// -(NSString * _Nonnull)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andAlias:(NSString * _Nullable)alias;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andAlias:")]
- //[Verify(StronglyTypedNSArray)]
- string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias);
+ string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias);
// -(NSString * _Nonnull)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andAlias:(NSString * _Nullable)alias ignoreUAString:(NSString * _Nullable)ignoreUAString;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andAlias:ignoreUAString:")]
- //[Verify(StronglyTypedNSArray)]
- string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias, [NullAllowed] string ignoreUAString);
+ string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias, [NullAllowed] string ignoreUAString);
// -(NSString * _Nonnull)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andCampaign:(NSString * _Nullable)campaign andAlias:(NSString * _Nullable)alias ignoreUAString:(NSString * _Nullable)ignoreUAString forceLinkCreation:(BOOL)forceLinkCreation;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andCampaign:andAlias:ignoreUAString:forceLinkCreation:")]
- //[Verify(StronglyTypedNSArray)]
- string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string campaign, [NullAllowed] string alias, [NullAllowed] string ignoreUAString, bool forceLinkCreation);
+ string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string campaign, [NullAllowed] string alias, [NullAllowed] string ignoreUAString, bool forceLinkCreation);
// -(NSString * _Nonnull)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andType:(BranchLinkType)type;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andType:")]
- //[Verify(StronglyTypedNSArray)]
- string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, BranchLinkType type);
+ string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, BranchLinkType type);
// -(NSString * _Nonnull)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andMatchDuration:(NSUInteger)duration;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andMatchDuration:")]
- //[Verify(StronglyTypedNSArray)]
- string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, nuint duration);
+ string GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, nuint duration);
// -(NSString * _Nonnull)getShortUrlWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andAlias:(NSString * _Nullable)alias andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andMatchDuration:(NSUInteger)duration;
[Export("getShortUrlWithParams:andTags:andAlias:andChannel:andFeature:andStage:andMatchDuration:")]
- //[Verify(StronglyTypedNSArray)]
- string GetShortUrlWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string alias, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, nuint duration);
+ string GetShortUrlWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string alias, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, nuint duration);
// -(NSString * _Nonnull)getShortUrlWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andAlias:(NSString * _Nullable)alias andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andCampaign:(id)campaign andMatchDuration:(NSUInteger)duration;
[Export("getShortUrlWithParams:andTags:andAlias:andChannel:andFeature:andStage:andCampaign:andMatchDuration:")]
- //[Verify(StronglyTypedNSArray)]
- string GetShortUrlWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string alias, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, NSObject campaign, nuint duration);
+ string GetShortUrlWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string alias, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, NSObject campaign, nuint duration);
// -(NSString * _Nonnull)getLongURLWithParams:(NSDictionary * _Nullable)params;
[Export("getLongURLWithParams:")]
@@ -3708,8 +3578,7 @@ interface Branch
// -(NSString * _Nonnull)getLongURLWithParams:(NSDictionary * _Nullable)params andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andTags:(NSArray * _Nullable)tags;
[Export("getLongURLWithParams:andFeature:andStage:andTags:")]
- //[Verify(StronglyTypedNSArray)]
- string GetLongURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] NSObject[] tags);
+ string GetLongURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string[] tags);
// -(NSString * _Nonnull)getLongURLWithParams:(NSDictionary * _Nullable)params andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andAlias:(NSString * _Nullable)alias;
[Export("getLongURLWithParams:andFeature:andStage:andAlias:")]
@@ -3717,8 +3586,11 @@ interface Branch
// -(NSString * _Nonnull)getLongURLWithParams:(NSDictionary * _Nullable)params andChannel:(NSString * _Nullable)channel andTags:(NSArray * _Nullable)tags andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andAlias:(NSString * _Nullable)alias;
[Export("getLongURLWithParams:andChannel:andTags:andFeature:andStage:andAlias:")]
- //[Verify(StronglyTypedNSArray)]
- string GetLongURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string channel, [NullAllowed] NSObject[] tags, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias);
+ string GetLongURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string channel, [NullAllowed] string[] tags, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias);
+
+ // -(NSString * _Nonnull)getLongAppLinkURLWithParams:(NSDictionary * _Nonnull)params andChannel:(NSString * _Nullable)channel andTags:(NSArray * _Nonnull)tags andFeature:(NSString * _Nonnull)feature andStage:(NSString * _Nonnull)stage andAlias:(NSString * _Nonnull)alias;
+ [Export("getLongAppLinkURLWithParams:andChannel:andTags:andFeature:andStage:andAlias:")]
+ string GetLongAppLinkURLWithParams(NSDictionary @params, [NullAllowed] string channel, string[] tags, string feature, string stage, string alias);
// -(void)getShortURLWithCallback:(callbackWithUrl _Nullable)callback;
[Export("getShortURLWithCallback:")]
@@ -3750,33 +3622,27 @@ interface Branch
// -(void)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andCallback:(callbackWithUrl _Nullable)callback;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andCallback:")]
- //[Verify(StronglyTypedNSArray)]
- void GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] callbackWithUrl callback);
+ void GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] callbackWithUrl callback);
// -(void)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andAlias:(NSString * _Nullable)alias andCallback:(callbackWithUrl _Nullable)callback;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andAlias:andCallback:")]
- //[Verify(StronglyTypedNSArray)]
- void GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias, [NullAllowed] callbackWithUrl callback);
+ void GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string alias, [NullAllowed] callbackWithUrl callback);
// -(void)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andType:(BranchLinkType)type andCallback:(callbackWithUrl _Nullable)callback;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andType:andCallback:")]
- //[Verify(StronglyTypedNSArray)]
- void GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, BranchLinkType type, [NullAllowed] callbackWithUrl callback);
+ void GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, BranchLinkType type, [NullAllowed] callbackWithUrl callback);
// -(void)getShortURLWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andMatchDuration:(NSUInteger)duration andCallback:(callbackWithUrl _Nullable)callback;
[Export("getShortURLWithParams:andTags:andChannel:andFeature:andStage:andMatchDuration:andCallback:")]
- //[Verify(StronglyTypedNSArray)]
- void GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, nuint duration, [NullAllowed] callbackWithUrl callback);
+ void GetShortURLWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, nuint duration, [NullAllowed] callbackWithUrl callback);
// -(void)getShortUrlWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andAlias:(NSString * _Nullable)alias andMatchDuration:(NSUInteger)duration andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andCallback:(callbackWithUrl _Nullable)callback;
[Export("getShortUrlWithParams:andTags:andAlias:andMatchDuration:andChannel:andFeature:andStage:andCallback:")]
- //[Verify(StronglyTypedNSArray)]
- void GetShortUrlWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string alias, nuint duration, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] callbackWithUrl callback);
+ void GetShortUrlWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string alias, nuint duration, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] callbackWithUrl callback);
// -(void)getShortUrlWithParams:(NSDictionary * _Nullable)params andTags:(NSArray * _Nullable)tags andAlias:(NSString * _Nullable)alias andMatchDuration:(NSUInteger)duration andChannel:(NSString * _Nullable)channel andFeature:(NSString * _Nullable)feature andStage:(NSString * _Nullable)stage andCampaign:(NSString * _Nullable)campaign andCallback:(callbackWithUrl _Nullable)callback;
[Export("getShortUrlWithParams:andTags:andAlias:andMatchDuration:andChannel:andFeature:andStage:andCampaign:andCallback:")]
- //[Verify(StronglyTypedNSArray)]
- void GetShortUrlWithParams([NullAllowed] NSDictionary @params, [NullAllowed] NSObject[] tags, [NullAllowed] string alias, nuint duration, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string campaign, [NullAllowed] callbackWithUrl callback);
+ void GetShortUrlWithParams([NullAllowed] NSDictionary @params, [NullAllowed] string[] tags, [NullAllowed] string alias, nuint duration, [NullAllowed] string channel, [NullAllowed] string feature, [NullAllowed] string stage, [NullAllowed] string campaign, [NullAllowed] callbackWithUrl callback);
// -(void)getSpotlightUrlWithParams:(NSDictionary * _Nonnull)params callback:(callbackWithParams _Nonnull)callback;
[Export("getSpotlightUrlWithParams:callback:")]
@@ -3846,17 +3712,17 @@ interface Branch
[Export("indexOnSpotlightWithBranchUniversalObject:linkProperties:completion:")]
void IndexOnSpotlightWithBranchUniversalObject(BranchUniversalObject universalObject, [NullAllowed] BranchLinkProperties linkProperties, Action completion);
- //// -(void)indexOnSpotlightUsingSearchableItems:(NSArray * _Nonnull)universalObjects completion:(void (^ _Nonnull)(NSArray * _Nonnull, NSError * _Nonnull))completion;
- //[Export("indexOnSpotlightUsingSearchableItems:completion:")]
- //void IndexOnSpotlightUsingSearchableItems(BranchUniversalObject[] universalObjects, Action, NSError> completion);
+ // // -(void)indexOnSpotlightUsingSearchableItems:(NSArray * _Nonnull)universalObjects completion:(void (^ _Nonnull)(NSArray * _Nonnull, NSError * _Nonnull))completion;
+ // [Export("indexOnSpotlightUsingSearchableItems:completion:")]
+ // void IndexOnSpotlightUsingSearchableItems(BranchUniversalObject[] universalObjects, Action, NSError> completion);
// -(void)removeSearchableItemWithBranchUniversalObject:(BranchUniversalObject * _Nonnull)universalObject callback:(void (^ _Nullable)(NSError * _Nullable))completion;
[Export("removeSearchableItemWithBranchUniversalObject:callback:")]
void RemoveSearchableItemWithBranchUniversalObject(BranchUniversalObject universalObject, [NullAllowed] Action completion);
- // -(void)removeSearchableItemsWithBranchUniversalObjects:(NSArray * _Nonnull)universalObjects callback:(void (^ _Nullable)(NSError * _Nullable))completion;
- [Export("removeSearchableItemsWithBranchUniversalObjects:callback:")]
- void RemoveSearchableItemsWithBranchUniversalObjects(BranchUniversalObject[] universalObjects, [NullAllowed] Action completion);
+ // // -(void)removeSearchableItemsWithBranchUniversalObjects:(NSArray * _Nonnull)universalObjects callback:(void (^ _Nullable)(NSError * _Nullable))completion;
+ // [Export("removeSearchableItemsWithBranchUniversalObjects:callback:")]
+ // void RemoveSearchableItemsWithBranchUniversalObjects(BranchUniversalObject[] universalObjects, [NullAllowed] Action completion);
// -(void)removeAllPrivateContentFromSpotLightWithCallback:(void (^ _Nullable)(NSError * _Nullable))completion;
[Export("removeAllPrivateContentFromSpotLightWithCallback:")]
@@ -3864,7 +3730,7 @@ interface Branch
// -(id _Nonnull)initWithInterface:(BNCServerInterface * _Nonnull)interface queue:(BNCServerRequestQueue * _Nonnull)queue cache:(BNCLinkCache * _Nonnull)cache preferenceHelper:(BNCPreferenceHelper * _Nonnull)preferenceHelper key:(NSString * _Nonnull)key;
[Export("initWithInterface:queue:cache:preferenceHelper:key:")]
- IntPtr Constructor(BNCServerInterface @interface, BNCServerRequestQueue queue, BNCLinkCache cache, BNCPreferenceHelper preferenceHelper, string key);
+ NativeHandle Constructor(BNCServerInterface @interface, BNCServerRequestQueue queue, BNCLinkCache cache, BNCPreferenceHelper preferenceHelper, string key);
// -(void)registerViewWithParams:(NSDictionary * _Nonnull)params andCallback:(callbackWithParams _Nonnull)callback __attribute__((deprecated("This API is deprecated. Please use BranchEvent:BranchStandardEventViewItem instead.")));
[Export("registerViewWithParams:andCallback:")]
@@ -3878,11 +3744,11 @@ interface Branch
[Export("sendServerRequestWithoutSession:")]
void SendServerRequestWithoutSession(BNCServerRequest request);
- // @property (copy, nonatomic) void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable) sessionInitWithParamsCallback;
+ // @property (copy, nonatomic) DEPRECATED_ATTRIBUTE void (^)(NSDictionary * _Nullable, NSError * _Nullable) sessionInitWithParamsCallback __attribute__((deprecated("")));
[Export("sessionInitWithParamsCallback", ArgumentSemantic.Copy)]
Action SessionInitWithParamsCallback { get; set; }
- // @property (copy, nonatomic) void (^ _Nonnull)(BranchUniversalObject * _Nullable, BranchLinkProperties * _Nullable, NSError * _Nullable) sessionInitWithBranchUniversalObjectCallback;
+ // @property (copy, nonatomic) DEPRECATED_ATTRIBUTE void (^)(BranchUniversalObject * _Nullable, BranchLinkProperties * _Nullable, NSError * _Nullable) sessionInitWithBranchUniversalObjectCallback __attribute__((deprecated("")));
[Export("sessionInitWithBranchUniversalObjectCallback", ArgumentSemantic.Copy)]
Action SessionInitWithBranchUniversalObjectCallback { get; set; }
@@ -3893,6 +3759,11 @@ interface Branch
// -(void)clearNetworkQueue;
[Export("clearNetworkQueue")]
void ClearNetworkQueue();
+
+ // -(void)passPasteItemProviders:(NSArray * _Nonnull)itemProviders __attribute__((availability(ios, introduced=16))) __attribute__((availability(maccatalyst, introduced=16)));
+ // [MacCatalyst(16, 0), iOS(16, 0)]
+ // [Export("passPasteItemProviders:")]
+ // void PassPasteItemProviders(NSItemProvider[] itemProviders);
}
}
diff --git a/BranchSDK.iOSBinding/BranchSDK.iOSBinding.csproj b/BranchSDK.iOSBinding/BranchSDK.iOSBinding.csproj
index 7461c0f..b0969bd 100644
--- a/BranchSDK.iOSBinding/BranchSDK.iOSBinding.csproj
+++ b/BranchSDK.iOSBinding/BranchSDK.iOSBinding.csproj
@@ -1,6 +1,6 @@
- net6.0-ios
+ net7.0-ios
enable
true
true
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/Info.plist b/BranchSDK.iOSBinding/BranchSDK.xcframework/Info.plist
index 89f0ef2..7ba36d8 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/Info.plist
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/Info.plist
@@ -8,38 +8,38 @@
BinaryPath
BranchSDK.framework/BranchSDK
LibraryIdentifier
- tvos-arm64_x86_64-simulator
+ ios-arm64
LibraryPath
BranchSDK.framework
SupportedArchitectures
arm64
- x86_64
SupportedPlatform
- tvos
- SupportedPlatformVariant
- simulator
+ ios
BinaryPath
- BranchSDK.framework/BranchSDK
+ BranchSDK.framework/Versions/A/BranchSDK
LibraryIdentifier
- tvos-arm64
+ ios-arm64_x86_64-maccatalyst
LibraryPath
BranchSDK.framework
SupportedArchitectures
arm64
+ x86_64
SupportedPlatform
- tvos
+ ios
+ SupportedPlatformVariant
+ maccatalyst
BinaryPath
BranchSDK.framework/BranchSDK
LibraryIdentifier
- ios-arm64_x86_64-simulator
+ tvos-arm64_x86_64-simulator
LibraryPath
BranchSDK.framework
SupportedArchitectures
@@ -48,7 +48,7 @@
x86_64
SupportedPlatform
- ios
+ tvos
SupportedPlatformVariant
simulator
@@ -56,7 +56,7 @@
BinaryPath
BranchSDK.framework/BranchSDK
LibraryIdentifier
- ios-arm64
+ tvos-arm64
LibraryPath
BranchSDK.framework
SupportedArchitectures
@@ -64,13 +64,13 @@
arm64
SupportedPlatform
- ios
+ tvos
BinaryPath
- BranchSDK.framework/Versions/A/BranchSDK
+ BranchSDK.framework/BranchSDK
LibraryIdentifier
- ios-arm64_x86_64-maccatalyst
+ ios-arm64_x86_64-simulator
LibraryPath
BranchSDK.framework
SupportedArchitectures
@@ -81,7 +81,7 @@
SupportedPlatform
ios
SupportedPlatformVariant
- maccatalyst
+ simulator
CFBundlePackageType
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/BranchSDK b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/BranchSDK
index 5b95393..af28820 100755
Binary files a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/BranchSDK and b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/BranchSDK differ
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCallbacks.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCallbacks.h
index 185229a..88669ac 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCallbacks.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCallbacks.h
@@ -20,3 +20,4 @@ typedef void (^callbackWithStatus) (BOOL changed, NSError * _Nullable error);
typedef void (^callbackWithList) (NSArray * _Nullable list, NSError * _Nullable error);
typedef void (^callbackWithUrlAndSpotlightIdentifier) (NSString * _Nullable url, NSString * _Nullable spotlightIdentifier, NSError * _Nullable error);
typedef void (^callbackWithBranchUniversalObject) (BranchUniversalObject * _Nullable universalObject, BranchLinkProperties * _Nullable linkProperties, NSError * _Nullable error);
+typedef void (^callbackWithData) (NSData * _Nullable data, NSError * _Nullable error);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCommerceEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCurrency.h
similarity index 73%
rename from BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCommerceEvent.h
rename to BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCurrency.h
index 661fbf5..868427e 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCommerceEvent.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCurrency.h
@@ -1,44 +1,14 @@
//
-// BNCCommerceEvent.h
-// Branch-SDK
+// BNCCurrency.h
+// Branch
//
-// Created by Edward Smith on 12/14/16.
-// Copyright (c) 2016 Branch Metrics. All rights reserved.
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
//
-#import "BNCServerRequest.h"
+#import
-#pragma mark BNCProductCategory
-
-typedef NSString*const BNCProductCategory NS_STRING_ENUM;
-
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
-
-NSArray*_Nonnull BNCProductCategoryAllCategories(void);
-
-#pragma mark - BNCCurrency
-
-typedef NSString*const BNCCurrency NS_STRING_ENUM;
+typedef NSString * const BNCCurrency NS_STRING_ENUM;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAED;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAFN;
@@ -234,39 +204,3 @@ FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZAR;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZMW;
NSArray*_Nonnull BNCCurrencyAllCurrencies(void);
-
-#pragma mark - BNCProduct
-
-@interface BNCProduct : NSObject
-@property (nonatomic, copy) NSString*_Nullable sku;
-@property (nonatomic, copy) NSString*_Nullable name;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable price;
-@property (nonatomic, strong) NSNumber*_Nullable quantity;
-@property (nonatomic, copy) NSString*_Nullable brand;
-@property (nonatomic, copy) BNCProductCategory _Nullable category;
-@property (nonatomic, copy) NSString*_Nullable variant;
-@end
-
-#pragma mark - BNCCommerceEvent
-
-//__attribute__((deprecated(("Please use BranchEvent to track commerce events."))))
-@interface BNCCommerceEvent : NSObject
-@property (nonatomic, strong) NSDecimalNumber*_Nullable revenue;
-@property (nonatomic, copy) BNCCurrency _Nullable currency;
-@property (nonatomic, copy) NSString*_Nullable transactionID;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable shipping;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable tax;
-@property (nonatomic, copy) NSString*_Nullable coupon;
-@property (nonatomic, copy) NSString*_Nullable affiliation;
-@property (nonatomic, strong) NSArray*_Nullable products;
-@end
-
-
-@interface BranchCommerceEventRequest : BNCServerRequest
-
-- (instancetype _Nonnull) initWithCommerceEvent:(BNCCommerceEvent*_Nonnull)commerceEvent
- metadata:(NSDictionary*_Nullable)dictionary
- completion:
- (void (^_Nullable)(NSDictionary*_Nullable response, NSError*_Nullable error))callBack;
-
-@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCPreferenceHelper.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCPreferenceHelper.h
index dc8fe57..464d550 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCPreferenceHelper.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCPreferenceHelper.h
@@ -40,8 +40,6 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (copy, nonatomic) NSString *sessionParams;
@property (copy, nonatomic) NSString *installParams;
@property (assign, nonatomic) BOOL isDebug;
-@property (assign, nonatomic) BOOL checkedFacebookAppLinks;
-@property (assign, nonatomic) BOOL checkedAppleSearchAdAttribution;
@property (nonatomic, assign, readwrite) BOOL appleAttributionTokenChecked;
@property (nonatomic, assign, readwrite) BOOL hasOptedInBefore;
@property (nonatomic, assign, readwrite) BOOL hasCalledHandleATTAuthorizationStatus;
@@ -50,25 +48,18 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSTimeInterval timeout;
@property (copy, nonatomic) NSString *externalIntentURI;
@property (strong, nonatomic) NSMutableDictionary *savedAnalyticsData;
-@property (strong, nonatomic) NSDictionary *appleSearchAdDetails;
-@property (assign, nonatomic) BOOL appleSearchAdNeedsSend;
@property (copy, nonatomic) NSString *lastSystemBuildVersion;
@property (copy, nonatomic) NSString *browserUserAgentString;
@property (copy, nonatomic) NSString *referringURL;
-@property (copy, nonatomic) NSString *branchAPIURL;
@property (assign, nonatomic) BOOL limitFacebookTracking;
@property (strong, nonatomic) NSDate *previousAppBuildDate;
@property (assign, nonatomic, readwrite) BOOL disableAdNetworkCallouts;
-@property (strong, nonatomic, readwrite) NSURL *faceBookAppLink;
-
@property (nonatomic, copy, readwrite) NSString *patternListURL;
@property (strong, nonatomic) NSArray *savedURLPatternList;
@property (assign, nonatomic) NSInteger savedURLPatternListVersion;
@property (assign, nonatomic) BOOL dropURLOpen;
-@property (assign, nonatomic) BOOL sendCloseRequests;
-
@property (assign, nonatomic) BOOL trackingDisabled;
@property (copy, nonatomic) NSString *referrerGBRAID;
@@ -80,15 +71,19 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSInteger highestConversionValueSent;
@property (strong, nonatomic) NSDate *firstAppLaunchTime;
@property (assign, nonatomic) BOOL invokeRegisterApp;
-@property (assign, nonatomic) BOOL logInAppPurchasesAsBranchEvents;
+
+@property (assign, nonatomic) BOOL eeaRegion;
+@property (assign, nonatomic) BOOL adPersonalizationConsent;
+@property (assign, nonatomic) BOOL adUserDataUsageConsent;
+
+@property (nonatomic, assign) NSString *attributionLevel;
+
- (void) clearTrackingInformation;
+ (BNCPreferenceHelper *)sharedInstance;
-- (NSString *)getAPIBaseURL;
-- (NSString *)getAPIURL:(NSString *)endpoint;
-- (NSString *)getEndpointFromURL:(NSString *)url;
+- (void)setPatternListURL:(NSString *)url;
- (void)setRequestMetadataKey:(NSString *)key value:(NSObject *)value;
- (NSMutableDictionary *)requestMetadataDictionary;
@@ -107,5 +102,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
- (NSMutableString*) sanitizedMutableBaseURL:(NSString*)baseUrl;
- (void) synchronize; // Flushes preference queue to persistence.
+ (void) clearAll;
+- (BOOL) eeaRegionInitialized;
+- (BOOL) attributionLevelInitialized;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCProductCategory.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCProductCategory.h
new file mode 100644
index 0000000..eb25589
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCProductCategory.h
@@ -0,0 +1,35 @@
+//
+// BNCProductCategory.h
+// Branch
+//
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
+//
+
+#import
+
+typedef NSString * const BNCProductCategory NS_STRING_ENUM;
+
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
+
+NSArray*_Nonnull BNCProductCategoryAllCategories(void);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCServerRequest.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCServerRequest.h
index 5da9f76..9b65ff5 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCServerRequest.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCServerRequest.h
@@ -10,7 +10,11 @@
@interface BNCServerRequest : NSObject
+@property (nonatomic, copy, readwrite) NSString *requestUUID;
+@property (nonatomic, copy, readwrite) NSNumber *requestCreationTimeStamp;
+
- (void)makeRequest:(BNCServerInterface *)serverInterface key:(NSString *)key callback:(BNCServerCallback)callback;
- (void)processResponse:(BNCServerResponse *)response error:(NSError *)error;
- (void)safeSetValue:(NSObject *)value forKey:(NSString *)key onDict:(NSMutableDictionary *)dict;
++ (NSString *) generateRequestUUIDFromDate:(NSDate *) localDate;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCServerRequestQueue.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCServerRequestQueue.h
index ff391d4..1c9d939 100755
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCServerRequestQueue.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCServerRequestQueue.h
@@ -22,12 +22,8 @@
- (NSInteger)queueDepth;
- (BOOL)containsInstallOrOpen;
-- (BOOL)removeInstallOrOpen;
-- (BOOL)containsClose;
-- (BranchOpenRequest *)moveInstallOrOpenToFront:(NSInteger)networkCount;
-- (void)persistEventually;
-- (void)persistImmediately;
+- (BranchOpenRequest *)findExistingInstallOrOpen;
+ (id)getInstance;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/Branch.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/Branch.h
index f35296b..f82e60d 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/Branch.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/Branch.h
@@ -16,7 +16,6 @@
// Public classes that should be in the umbrella header
#import "BranchLinkProperties.h"
#import "BranchUniversalObject.h"
-#import "BranchCrossPlatformID.h"
#import "BranchLastAttributedTouchData.h"
#import "BranchDeepLinkingController.h"
#import "BranchDelegate.h"
@@ -40,15 +39,14 @@
#import "BNCServerInterface.h"
#import "BNCServerRequestQueue.h"
+#import "BranchLogger.h"
// Not used by Branch singleton public API
//#import "BranchEvent.h"
//#import "BranchScene.h"
//#import "BranchPluginSupport.h"
//#import "BranchQRCode.h"
-//#import "BNCCommerceEvent.h"
//#import "BNCConfig.h"
//#import "NSError+Branch.h"
-//#import "BNCLog.h"
//#import "BranchConstants.h"
//#import "UIViewController+Branch.h"
@@ -153,12 +151,6 @@ extern NSString * __nonnull const BNCShareCompletedEvent;
// Spotlight Constant
extern NSString * __nonnull const BNCSpotlightFeature;
-#pragma mark - Branch Enums
-typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- BranchMostRecentFirst,
- BranchLeastRecentFirst
-};
-
#pragma mark - BranchLink
@interface BranchLink : NSObject
@@ -263,7 +255,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
+ (BOOL)branchKeyIsSet;
-/// TODO: Add documentation.
@property (weak, nullable) NSObject* delegate;
//@property (strong, nonatomic, nullable) BranchEvent *testEvent;
@@ -573,18 +564,28 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
///--------------------
/**
- Enable debug messages to NSLog.
+ Enable debug messages to os_log.
*/
-- (void)enableLogging;
++ (void)enableLogging;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withAdvancedCallback:(nullable BranchAdvancedLogCallback)callback;
+
+// The new logging system is independent of the Branch singleton and can be called earlier.
+- (void)enableLogging __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
+- (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
/**
- setDebug is deprecated and all functionality has been disabled.
+ Send requests to EU endpoints.
- If you wish to enable logging, please invoke enableLogging.
-
- If you wish to simulate installs, please see add a Test Device (https://help.branch.io/using-branch/docs/adding-test-devices) then reset your test device's data (https://help.branch.io/using-branch/docs/adding-test-devices#section-resetting-your-test-device-data).
+ This feature must also be enabled on the server side, otherwise the server will drop requests. Contact your account manager for details.
*/
-- (void)setDebug __attribute__((deprecated(("setDebug is replaced by enableLogging and test devices. https://help.branch.io/using-branch/docs/adding-test-devices"))));
+- (void)useEUEndpoints;
+
+/**
+Sets a custom base URL for all calls to the Branch API.
+@param url Base URL that the Branch API will use.
+*/
++ (void)setAPIUrl:(NSString *)url;
/**
@brief Use the `validateSDKIntegration` method as a debugging aid to assure that you've
@@ -646,36 +647,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
These are ICU standard regular expressions.
*/
-@property (copy, nullable) NSArray/*_Nullable*/* urlPatternsToIgnore;
-
-/**
- Register your Facebook SDK's FBSDKAppLinkUtility class to be used by Branch for deferred deep linking from their platform
-
- @param FBSDKAppLinkUtility - call [FBSDKAppLinkUtility class] after importing #import
- */
-- (void)registerFacebookDeepLinkingClass:(id)FBSDKAppLinkUtility;
-
-/**
- Check for Apple Search Ads before initialization.
-
- This will usually add less than 1 second on first time startup. Up to 3.5 seconds if Apple Search Ads fails to respond.
- */
-- (void)delayInitToCheckForSearchAds;
-
-/**
- Increases the amount of time the SDK waits for Apple Search Ads to respond.
- The default wait has a better than 90% success rate, however waiting longer can improve the success rate.
-
- This will increase the usual delay to about 3 seconds on first time startup. Up to about 15 seconds if Apple Search Ads fails to respond.
- */
-- (void)useLongerWaitForAppleSearchAds;
-
-/**
- Ignores Apple Search Ads test data.
-
- Apple returns test data for all calls made to the Apple Search Ads API on developer and testflight builds.
- */
-- (void)ignoreAppleSearchAdsTestData;
+- (void)setUrlPatternsToIgnore:(NSArray *)urlsToIgnore;
/**
Checks the pasteboard (clipboard) for a Branch Link on App Install.
@@ -772,30 +744,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
- (void)disableAdNetworkCallouts:(BOOL)disableCallouts;
-/**
- Specify that Branch should NOT use an invisible SFSafariViewController to attempt cookie-based matching upon install.
- If you call this method, we will fall back to using our pool of cookie-IDFA pairs for matching.
- */
-- (void)disableCookieBasedMatching __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
-
-/**
- TL;DR: If you're using a version of the Facebook SDK that prevents application:didFinishLaunchingWithOptions: from
- returning YES/true when a Universal Link is clicked, you should enable this option.
-
- Long explanation: in application:didFinishLaunchingWithOptions: you should choose one of the following:
-
- 1. Always `return YES;`, and do *not* invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
- 2. Allow the Facebook SDK to determine whether `application:didFinishLaunchingWithOptions:` returns `YES` or `NO`,
- and invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
-
- The reason for this second option is that the Facebook SDK will return `NO` if a Universal Link opens the app
- but that UL is not a Facebook UL. Some developers prefer not to modify
- `application:didFinishLaunchingWithOptions:` to always return `YES` and should use this method instead.
- */
-- (void)accountForFacebookSDKPreventingAppLaunch __attribute__((deprecated(("Please ensure application:didFinishLaunchingWithOptions: always returns YES/true instead of using this method. It will be removed in a future release."))));
-
-- (void)suppressWarningLogs __attribute__((deprecated(("suppressWarningLogs is deprecated and all functionality has been disabled. If you wish to turn off all logging, please invoke BNCLogSetDisplayLevel(BNCLogLevelNone)."))));
-
/**
For use by other Branch SDKs
@@ -817,19 +765,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Key-value pairs to be included in the metadata on every request.
@param key String to be included in request metadata
- @param value Object to be included in request metadata
+ @param value Value to be included in request metadata
*/
-- (void)setRequestMetadataKey:(NSString *)key value:(nullable id)value;
-
-- (void)enableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
-
-- (void)disableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
-
-- (nullable NSURL *)getUrlForOnboardingWithRedirectUrl:(nullable NSString *)redirectUrl __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));;
-
-- (void)resumeInit __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
-
-- (void)setInstallRequestDelay:(NSInteger)installRequestDelay __attribute__((deprecated(("No longer valid with new init process"))));
+- (void)setRequestMetadataKey:(NSString *)key value:(nullable NSString *)value;
/**
Disables the Branch SDK from tracking the user. This is useful for GDPR privacy compliance.
@@ -842,15 +780,13 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
* Opening Branch deep links with an explicit URL will work.
* Deferred deep linking will not work.
* Generating short links will not work and will return long links instead.
- * Sending user tracking events such as `userCompletedAction`, `BranchCommerceEvents`, and
- `BranchEvents` will fail.
- * User rewards and credits will not work.
+ * Sending user tracking events such as `BranchEvents` will fail.
* Setting a user identity and logging a user identity out will not work.
@param disabled If set to `true` then tracking will be disabled.
@warning This will prevent most of the Branch SDK functionality.
*/
-+ (void) setTrackingDisabled:(BOOL)disabled;
++ (void)setTrackingDisabled:(BOOL)disabled __attribute__((deprecated("This method has been deprecated. Use `setConsumerProtectionAttributionLevel:` with `BranchAttributionLevelNone` instead.")));
///Returns the current tracking state.
+ (BOOL) trackingDisabled;
@@ -867,6 +803,74 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
+ (void) setReferrerGbraidValidityWindow:(NSTimeInterval) validityWindow;
+/*
+
+ Sets the value of parameters required by Google Conversion APIs for DMA Compliance in EEA region.
+
+ @param eeaRegion -(BOOL) If European regulations, including the DMA, apply to this user and conversion.
+ @param adPersonalizationConsent - (BOOL) If End user has granted/denied ads personalization consent.
+ @param adUserDataUsageConsent - (BOOL) If User has granted/denied consent for 3P transmission of user level data for ads
+ */
++ (void) setDMAParamsForEEA:(BOOL) eeaRegion AdPersonalizationConsent:(BOOL) adPersonalizationConsent AdUserDataUsageConsent:(BOOL) adUserDataUsageConsent;
+
+
+/**
+ * Enumeration representing different levels of consumer protection attribution levels
+ */
+typedef NSString * BranchAttributionLevel NS_STRING_ENUM;
+
+/**
+ * Full:
+ * - Advertising Ids
+ * - Device Ids
+ * - Local IP
+ * - Persisted Non-Aggregate Ids
+ * - Persisted Aggregate Ids
+ * - Ads Postbacks / Webhooks
+ * - Data Integrations Webhooks
+ * - SAN Callouts
+ * - Privacy Frameworks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelFull;
+
+/**
+ * Reduced:
+ * - Device Ids
+ * - Local IP
+ * - Data Integrations Webhooks
+ * - Privacy Frameworks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelReduced;
+
+/**
+ * Minimal:
+ * - Device Ids
+ * - Local IP
+ * - Data Integrations Webhooks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelMinimal;
+
+/**
+ * None:
+ * - Only Deterministic Deep Linking
+ * - Disables all other Branch requests
+ */
+extern BranchAttributionLevel const BranchAttributionLevelNone;
+
+
+/**
+ Sets the consumer protection attribution level.
+
+ @param level The desired consumer protection attribution level, represented by the BranchAttributionLevel enum (Full, Reduced, Minimal, None).
+ @discussion This method allows you to control the amount and type of data collected and transmitted by Branch.
+ Adjusting the consumer protection attribution level can help you comply with privacy regulations and meet your data collection needs.
+ */
+- (void)setConsumerProtectionAttributionLevel:(BranchAttributionLevel)level;
+
+
#pragma mark - Session Item methods
///--------------------
@@ -955,114 +959,8 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- (void)logoutWithCallback:(nullable callbackWithStatus)callback;
-#pragma mark - Credit methods
-
-///--------------
-/// @name Credits
-///--------------
-
-- (void)loadRewardsWithCallback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count __deprecated_msg("Referral feature has been deprecated. This is no-op.");;
-
-- (void)redeemRewards:(NSInteger)count callback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count forBucket:(nullable NSString *)bucket __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count forBucket:(nullable NSString *)bucket callback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (NSInteger)getCredits __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (NSInteger)getCreditsForBucket:(NSString *)bucket __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryWithCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryForBucket:(nullable NSString *)bucket andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryAfter:(nullable NSString *)creditTransactionId number:(NSInteger)length order:(BranchCreditHistoryOrder)order andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryForBucket:(nullable NSString *)bucket after:(nullable NSString *)creditTransactionId number:(NSInteger)length order:(BranchCreditHistoryOrder)order andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-#pragma mark - Action methods
-
-///--------------
-/// @name Actions
-///--------------
-
-/**
- Send a user action to the server. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- */
-- (void)userCompletedAction:(nullable NSString *)action __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Send a user action to the server with additional state items. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- @param state The additional state items associated with the action.
- */
-- (void)userCompletedAction:(nullable NSString *)action withState:(nullable NSDictionary *)state __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Send a user action to the server with additional state items. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- @param state The additional state items associated with the action.
- @param branchViewCallback Callback for Branch view state.
-
- @deprecated Please use userCompletedAction:action:state instead
- */
-- (void)userCompletedAction:(nullable NSString *)action withState:(nullable NSDictionary *)state withDelegate:(nullable id)branchViewCallback __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Sends a user commerce event to the server.
-
- Use commerce events to track when a user purchases an item in your online store,
- makes an in-app purchase, or buys a subscription. The commerce events are tracked in
- the Branch dashboard along with your other events so you can judge the effectiveness of
- campaigns and other analytics.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param commerceEvent The BNCCommerceEvent that describes the purchase.
- @param metadata Optional metadata you may want add to the event.
- @param completion The optional completion callback.
-
- @deprecated Please use BNCEvent to track commerce events instead.
- */
-- (void) sendCommerceEvent:(BNCCommerceEvent*)commerceEvent
- metadata:(NSDictionary*)metadata
- withCompletion:(void (^) (NSDictionary* _Nullable response, NSError* _Nullable error))completion __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-
#pragma mark - Query methods
-/**
- Branch includes SDK methods to allow retrieval of our Cross Platform ID (CPID) from the client. This results in an asynchronous call being made to Branch’s servers with CPID data returned when possible.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param completion callback with cross platform id data
- */
-- (void)crossPlatformIdDataWithCompletion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
-
/**
Branch includes SDK methods to allow retrieval of our last attributed touch data (LATD) from the client. This results in an asynchronous call being made to Branch's servers with LATD data returned when possible.
Last attributed touch data contains the information associated with that user's last viewed impression or clicked link.
@@ -1582,7 +1480,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param title Title for the spotlight preview item.
@param description Description for the spotlight preview item.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description;
@@ -1592,7 +1489,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param title Title for the spotlight preview item.
@param description Description for the spotlight preview item.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description callback:(callbackWithUrl)callback;
@@ -1603,7 +1499,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param description Description for the spotlight preview item.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1615,7 +1510,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1628,7 +1522,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1642,7 +1535,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param keywords A set of keywords to be used in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
@@ -1655,7 +1547,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param linkParams Additional params to be added to the NSUserActivity. These will also be added to the Branch link.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1669,7 +1560,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1682,7 +1572,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1694,7 +1583,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param thumbnailUrl Url to an image to be used for the thumnbail in spotlight.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param linkParams A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams publiclyIndexable:(BOOL)publiclyIndexable;
@@ -1709,7 +1597,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param keywords A set of keywords to be used in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
@@ -1725,7 +1612,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
@@ -1742,7 +1628,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl canonicalId:(NSString *)canonicalId linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
@@ -1759,7 +1644,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param spotlightCallback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
@@ -1776,7 +1660,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param spotlightCallback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl canonicalId:(NSString *)canonicalId linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
@@ -1785,7 +1668,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param universalObject Branch Universal Object is indexed on spotlight using meta data of spotlight
@param linkProperties Branch Link Properties is used in short url generation
@param completion Callback called when all Branch Universal Objects are indexed. Dynamic url generated and saved as spotlight identifier
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)indexOnSpotlightWithBranchUniversalObject:(BranchUniversalObject *)universalObject
linkProperties:(nullable BranchLinkProperties *)linkProperties
@@ -1805,7 +1687,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Remove Indexing of a Branch Universal Objects, which is indexed using SearchableItem of Apple's CoreSpotlight.
@param universalObject Branch Universal Object which is already indexed using SearchableItem is removed from spotlight
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeSearchableItemWithBranchUniversalObject:(BranchUniversalObject *)universalObject
callback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1813,7 +1694,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Remove Indexing of an array of Branch Universal Objects, which are indexed using SearchableItem of Apple's CoreSpotlight.
@param universalObjects Multiple Branch Universal Objects which are already indexed using SearchableItem are removed from spotlight. Note: The spotlight identifier of Branch Universal Object is used to remove indexing.
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeSearchableItemsWithBranchUniversalObjects:(NSArray *)universalObjects
callback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1821,7 +1701,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
/*
Remove all content spotlight indexed through either Searchable Item or privately indexed Branch Universal Object.
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeAllPrivateContentFromSpotLightWithCallback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1875,12 +1754,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param itemProviders - an array of item providers collected from pasteboard.
@warning This function works with iOS 16 or above.
*/
-- (void)passPasteItemProviders:(NSArray *)itemProviders API_AVAILABLE(ios(16));
+- (void)passPasteItemProviders:(NSArray *)itemProviders API_AVAILABLE(ios(16), macCatalyst(16));
#endif
-+ (void)setLogInAppPurchasesAsEventsEnabled:(BOOL)enabled;
-+ (BOOL)logInAppPurchasesBranchEventsEnabled;
-
@end
NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchActivityItemProvider.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchActivityItemProvider.h
index 9a9068e..f025779 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchActivityItemProvider.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchActivityItemProvider.h
@@ -6,6 +6,8 @@
// Copyright (c) 2015 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
+
#if __has_feature(modules)
@import Foundation;
@import UIKit;
@@ -40,3 +42,4 @@
+ (NSString *)humanReadableChannelWithActivityType:(NSString *)activityString;
@end
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h
index ca536c3..65d127a 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h
@@ -5,6 +5,7 @@
// Created by Derrick Staten on 9/8/15.
// Copyright © 2015 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
#if __has_feature(modules)
@import Foundation;
@@ -26,9 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)init;
-#ifdef __IPHONE_14_0
-- (instancetype)initWithContentType:(UTType *)contentType NS_AVAILABLE(10_16, 14_0);
-#endif
+- (instancetype)initWithContentType:(UTType *)contentType API_AVAILABLE(ios(14), macCatalyst(14));
- (instancetype)initWithItemContentType:(NSString *)type;
@@ -41,3 +40,4 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchCrossPlatformID.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchCrossPlatformID.h
deleted file mode 100644
index 23e2744..0000000
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchCrossPlatformID.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// BranchCrossPlatformID.h
-// Branch
-//
-// Created by Ernest Cho on 9/12/19.
-// Copyright © 2019 Branch, Inc. All rights reserved.
-//
-
-#import
-#import "BNCServerInterface.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface BranchProbabilisticCrossPlatformID : NSObject
-
-@property (nonatomic, copy, readonly) NSString *crossPlatformID;
-@property (nonatomic, copy, readonly) NSNumber *score;
-
-+ (nullable BranchProbabilisticCrossPlatformID *)buildFromJSON:(NSDictionary *)json;
-
-@end
-
-@interface BranchCrossPlatformID : NSObject
-
-@property (nonatomic, copy, readonly) NSString *crossPlatformID;
-@property (nonatomic, copy, readonly) NSString *developerID;
-@property (nonatomic, strong, readonly) NSArray *pastCrossPlatformIDs;
-@property (nonatomic, strong, readonly) NSArray *probabiliticCrossPlatformIDs;
-
-+ (nullable BranchCrossPlatformID *)buildFromJSON:(NSDictionary *)json;
-
-+ (void)requestCrossPlatformIdData:(BNCServerInterface *)serverInterface key:(NSString *)key completion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchDeepLinkingController.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchDeepLinkingController.h
index 70a07dd..b591d74 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchDeepLinkingController.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchDeepLinkingController.h
@@ -16,9 +16,6 @@
@protocol BranchDeepLinkingControllerCompletionDelegate
-- (void)deepLinkingControllerCompleted
- __attribute__((deprecated(("This API is deprecated. Instead, use deepLinkingControllerCompletedFrom: viewController"))));;
-
- (void)deepLinkingControllerCompletedFrom:(UIViewController*) viewController;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchDelegate.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchDelegate.h
index 5eb6da7..8fbf82b 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchDelegate.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchDelegate.h
@@ -6,8 +6,6 @@
// Copyright © 2017 Branch Metrics. All rights reserved.
//
-// TODO: Add documentation
-
#if __has_feature(modules)
@import Foundation;
#else
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchEvent.h
index 86b90fd..484fb52 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchEvent.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchEvent.h
@@ -7,7 +7,6 @@
//
#import "Branch.h"
-#import "BNCCommerceEvent.h"
#import "BranchUniversalObject.h"
#import
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchLogger.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchLogger.h
new file mode 100644
index 0000000..1d05cd8
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchLogger.h
@@ -0,0 +1,51 @@
+//
+// BranchLogger.h
+// Branch
+//
+// Created by Nipun Singh on 2/1/24.
+// Copyright © 2024 Branch, Inc. All rights reserved.
+//
+
+#import
+#import "BNCServerResponse.h"
+
+typedef NS_ENUM(NSUInteger, BranchLogLevel) {
+ BranchLogLevelVerbose, // development
+ BranchLogLevelDebug, // validation and troubleshooting
+ BranchLogLevelWarning, // potential errors and attempts at recovery. SDK may be in a bad state.
+ BranchLogLevelError, // severe errors. SDK is probably in a bad state.
+};
+
+typedef void(^BranchLogCallback)(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error);
+typedef void(^BranchAdvancedLogCallback)(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error, NSMutableURLRequest * _Nullable request, BNCServerResponse * _Nullable response);
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface BranchLogger : NSObject
+
+@property (nonatomic, assign) BOOL loggingEnabled;
+@property (nonatomic, assign) BOOL includeCallerDetails;
+@property (nonatomic, copy, nullable) BranchLogCallback logCallback;
+@property (nonatomic, copy, nullable) BranchAdvancedLogCallback advancedLogCallback;
+@property (nonatomic, assign) BranchLogLevel logLevelThreshold;
+
++ (instancetype _Nonnull)shared;
+
+// For expensive Log messages, check if it's even worth building the log message
+- (BOOL)shouldLog:(BranchLogLevel)level;
+
+// Caller details are relatively expensive, option to disable if the cost is too high.
+- (void)disableCallerDetails;
+
+- (void)logError:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logWarning:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error request:(NSMutableURLRequest * _Nullable)request response:(BNCServerResponse * _Nullable)response;
+- (void)logVerbose:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+
+// default Branch log format
++ (NSString *)formatMessage:(NSString *)message logLevel:(BranchLogLevel)logLevel error:(NSError *)error;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchPasteControl.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchPasteControl.h
index d163c07..2a5737f 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchPasteControl.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchPasteControl.h
@@ -6,20 +6,19 @@
// Copyright © 2022 Branch, Inc. All rights reserved.
//
+#if !TARGET_OS_TV
#import
NS_ASSUME_NONNULL_BEGIN
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000
-API_AVAILABLE(ios(16.0))
+API_AVAILABLE(ios(16.0), macCatalyst(16.0))
@interface BranchPasteControl : UIView
-// This is designated initializer. All other initializers are blocked.
- (instancetype)initWithFrame:(CGRect)frame AndConfiguration:( UIPasteControlConfiguration * _Nullable) config NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
@end
-#endif
NS_ASSUME_NONNULL_END
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchPluginSupport.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchPluginSupport.h
index 71ae754..e344dcc 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchPluginSupport.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchPluginSupport.h
@@ -14,6 +14,12 @@ NS_ASSUME_NONNULL_BEGIN
+ (BranchPluginSupport *)instance;
+/**
+Sets a custom CDN base URL.
+@param url Base URL for CDN endpoints.
+*/
++ (void)setCDNBaseUrl:(NSString *)url;
+
- (NSDictionary *)deviceDescription;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchSDK.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchSDK.h
index e034c3c..c571772 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchSDK.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchSDK.h
@@ -24,8 +24,8 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
#import
#import
#import
+#import
-#import
#import
#import
@@ -49,15 +49,16 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
// Cascading public headers...
-// BranchUniversalObject uses constants defined in BNCCommerceEvent.h
-#import
-// BNCCommerceEvent.h includes BNCServerRequest.h
+// BranchUniversalObject uses constants defined in BNCCurrency.h and BNCProductCategory.h
+#import
+#import
+
#import
// BNCServerRequest includes BNCServerInterface.h
-#import
+//#import
// BNCServerInterface.h includes BNCServerResponse.h and BNCPreferenceHelper.h
#import
-#import
+//#import
// BNCLinkCache.h uses BNCLinkData.h
#import
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchScene.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchScene.h
index a24b2ed..f0397d9 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchScene.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchScene.h
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
Provide support for UIScene. This is only supported on iOS 13.0+, iPadOS 13.0+
*/
-API_AVAILABLE(ios(13.0))
+API_AVAILABLE(ios(13.0), macCatalyst(13.1))
@interface BranchScene : NSObject
+ (BranchScene *)shared;
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchShareLink.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchShareLink.h
index 6946bc8..e121c76 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchShareLink.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchShareLink.h
@@ -6,6 +6,8 @@
// Copyright © 2017 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
+
#import "BranchUniversalObject.h"
#import
@class BranchShareLink;
@@ -93,7 +95,7 @@ Presents a UIActivityViewController that shares the Branch link.
@property (nonatomic, strong, nullable) NSURL *placeholderURL;
// iOS 13+ : LinkPresentation metadata for the preview header.
-@property (nonatomic, strong, nullable) LPLinkMetadata *lpMetaData API_AVAILABLE(ios(13.0));
+@property (nonatomic, strong, nullable) LPLinkMetadata *lpMetaData API_AVAILABLE(ios(13.0), macCatalyst(13.1));
///Share text for the item. This is not the text in the iOS 13+ preview header.
///This text can be changed later when the `branchShareSheetWillShare:` delegate method is called.
@@ -125,7 +127,6 @@ Presents a UIActivityViewController that shares the Branch link.
///The delegate. See 'BranchShareLinkDelegate' above for a description.
@property (nonatomic, weak) id_Nullable delegate;
-@property void (^ _Nullable completion)(NSString * _Nullable activityType, BOOL completed);
@property void (^ _Nullable completionError)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error);
/**
@@ -135,7 +136,7 @@ Creates and attaches an LPLinkMetadata using the provided title and icon. This m
@param icon The image used for the share sheet preview icon.
*/
-- (void) addLPLinkMetadata:(NSString *_Nullable)title
- icon:(UIImage *_Nullable)icon API_AVAILABLE(ios(13.0));
+- (void) addLPLinkMetadata:(NSString *_Nullable)title icon:(UIImage *_Nullable)icon API_AVAILABLE(ios(13.0), macCatalyst(13.1));
@end
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchUniversalObject.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchUniversalObject.h
index 9712ad4..de57a98 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchUniversalObject.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BranchUniversalObject.h
@@ -14,7 +14,8 @@
#import
#endif
-#import "BNCCommerceEvent.h"
+#import "BNCProductCategory.h"
+#import "BNCCurrency.h"
#import "BranchLinkProperties.h"
#pragma mark BranchContentIndexMode
@@ -159,17 +160,6 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
- (void)registerView;
- (void)registerViewWithCallback:(void (^_Nullable)(NSDictionary * _Nullable params, NSError * _Nullable error))callback;
-
-/// @name User Event Tracking
-
-
-- (void)userCompletedAction:(nonnull NSString *)action;
- // __attribute__((deprecated(("Use `[BranchEvent logEvent...]` instead."))));
-
-- (void)userCompletedAction:(nonnull NSString *)action withState:(nullable NSDictionary *)state;
- // __attribute__((deprecated(("Use `[BranchEvent logEvent...]` instead."))));
-
-
/// @name Short Links
@@ -195,34 +185,19 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
#if !TARGET_OS_TV
- (void)showShareSheetWithShareText:(nullable NSString *)shareText
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
-
-- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
- andShareText:(nullable NSString *)shareText
- fromViewController:(nullable UIViewController *)viewController
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
+ completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-/// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-// iPad
-- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
- andShareText:(nullable NSString *)shareText
- fromViewController:(nullable UIViewController *)viewController
- anchor:(nullable UIBarButtonItem *)anchor
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
-
-// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
anchor:(nullable UIBarButtonItem *)anchor
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-
/// @name List items on Spotlight
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Info.plist b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Info.plist
index cf0acea..a8cb2b5 100644
Binary files a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Info.plist and b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Info.plist differ
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/PrivacyInfo.xcprivacy b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/PrivacyInfo.xcprivacy
new file mode 100644
index 0000000..3593fc9
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/PrivacyInfo.xcprivacy
@@ -0,0 +1,73 @@
+
+
+
+
+ NSPrivacyTracking
+
+ NSPrivacyTrackingDomains
+
+ api-safetrack.branch.io
+ api-safetrack-eu.branch.io
+
+ NSPrivacyCollectedDataTypes
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeDeviceID
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising
+ NSPrivacyCollectedDataTypePurposeDeveloperAdvertising
+ NSPrivacyCollectedDataTypePurposeAnalytics
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypePerformanceData
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeOtherDataTypes
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyAccessedAPITypes
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryFileTimestamp
+ NSPrivacyAccessedAPITypeReasons
+
+ C617.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryUserDefaults
+ NSPrivacyAccessedAPITypeReasons
+
+ CA92.1
+
+
+
+
+
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/BranchSDK b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/BranchSDK
index f469c36..c5b986e 100755
Binary files a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/BranchSDK and b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/BranchSDK differ
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCallbacks.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCallbacks.h
index 185229a..88669ac 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCallbacks.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCallbacks.h
@@ -20,3 +20,4 @@ typedef void (^callbackWithStatus) (BOOL changed, NSError * _Nullable error);
typedef void (^callbackWithList) (NSArray * _Nullable list, NSError * _Nullable error);
typedef void (^callbackWithUrlAndSpotlightIdentifier) (NSString * _Nullable url, NSString * _Nullable spotlightIdentifier, NSError * _Nullable error);
typedef void (^callbackWithBranchUniversalObject) (BranchUniversalObject * _Nullable universalObject, BranchLinkProperties * _Nullable linkProperties, NSError * _Nullable error);
+typedef void (^callbackWithData) (NSData * _Nullable data, NSError * _Nullable error);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCommerceEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCurrency.h
similarity index 73%
rename from BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCommerceEvent.h
rename to BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCurrency.h
index 661fbf5..868427e 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64/BranchSDK.framework/Headers/BNCCommerceEvent.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCurrency.h
@@ -1,44 +1,14 @@
//
-// BNCCommerceEvent.h
-// Branch-SDK
+// BNCCurrency.h
+// Branch
//
-// Created by Edward Smith on 12/14/16.
-// Copyright (c) 2016 Branch Metrics. All rights reserved.
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
//
-#import "BNCServerRequest.h"
+#import
-#pragma mark BNCProductCategory
-
-typedef NSString*const BNCProductCategory NS_STRING_ENUM;
-
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
-
-NSArray*_Nonnull BNCProductCategoryAllCategories(void);
-
-#pragma mark - BNCCurrency
-
-typedef NSString*const BNCCurrency NS_STRING_ENUM;
+typedef NSString * const BNCCurrency NS_STRING_ENUM;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAED;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAFN;
@@ -234,39 +204,3 @@ FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZAR;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZMW;
NSArray*_Nonnull BNCCurrencyAllCurrencies(void);
-
-#pragma mark - BNCProduct
-
-@interface BNCProduct : NSObject
-@property (nonatomic, copy) NSString*_Nullable sku;
-@property (nonatomic, copy) NSString*_Nullable name;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable price;
-@property (nonatomic, strong) NSNumber*_Nullable quantity;
-@property (nonatomic, copy) NSString*_Nullable brand;
-@property (nonatomic, copy) BNCProductCategory _Nullable category;
-@property (nonatomic, copy) NSString*_Nullable variant;
-@end
-
-#pragma mark - BNCCommerceEvent
-
-//__attribute__((deprecated(("Please use BranchEvent to track commerce events."))))
-@interface BNCCommerceEvent : NSObject
-@property (nonatomic, strong) NSDecimalNumber*_Nullable revenue;
-@property (nonatomic, copy) BNCCurrency _Nullable currency;
-@property (nonatomic, copy) NSString*_Nullable transactionID;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable shipping;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable tax;
-@property (nonatomic, copy) NSString*_Nullable coupon;
-@property (nonatomic, copy) NSString*_Nullable affiliation;
-@property (nonatomic, strong) NSArray*_Nullable products;
-@end
-
-
-@interface BranchCommerceEventRequest : BNCServerRequest
-
-- (instancetype _Nonnull) initWithCommerceEvent:(BNCCommerceEvent*_Nonnull)commerceEvent
- metadata:(NSDictionary*_Nullable)dictionary
- completion:
- (void (^_Nullable)(NSDictionary*_Nullable response, NSError*_Nullable error))callBack;
-
-@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCPreferenceHelper.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCPreferenceHelper.h
index dc8fe57..464d550 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCPreferenceHelper.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCPreferenceHelper.h
@@ -40,8 +40,6 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (copy, nonatomic) NSString *sessionParams;
@property (copy, nonatomic) NSString *installParams;
@property (assign, nonatomic) BOOL isDebug;
-@property (assign, nonatomic) BOOL checkedFacebookAppLinks;
-@property (assign, nonatomic) BOOL checkedAppleSearchAdAttribution;
@property (nonatomic, assign, readwrite) BOOL appleAttributionTokenChecked;
@property (nonatomic, assign, readwrite) BOOL hasOptedInBefore;
@property (nonatomic, assign, readwrite) BOOL hasCalledHandleATTAuthorizationStatus;
@@ -50,25 +48,18 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSTimeInterval timeout;
@property (copy, nonatomic) NSString *externalIntentURI;
@property (strong, nonatomic) NSMutableDictionary *savedAnalyticsData;
-@property (strong, nonatomic) NSDictionary *appleSearchAdDetails;
-@property (assign, nonatomic) BOOL appleSearchAdNeedsSend;
@property (copy, nonatomic) NSString *lastSystemBuildVersion;
@property (copy, nonatomic) NSString *browserUserAgentString;
@property (copy, nonatomic) NSString *referringURL;
-@property (copy, nonatomic) NSString *branchAPIURL;
@property (assign, nonatomic) BOOL limitFacebookTracking;
@property (strong, nonatomic) NSDate *previousAppBuildDate;
@property (assign, nonatomic, readwrite) BOOL disableAdNetworkCallouts;
-@property (strong, nonatomic, readwrite) NSURL *faceBookAppLink;
-
@property (nonatomic, copy, readwrite) NSString *patternListURL;
@property (strong, nonatomic) NSArray *savedURLPatternList;
@property (assign, nonatomic) NSInteger savedURLPatternListVersion;
@property (assign, nonatomic) BOOL dropURLOpen;
-@property (assign, nonatomic) BOOL sendCloseRequests;
-
@property (assign, nonatomic) BOOL trackingDisabled;
@property (copy, nonatomic) NSString *referrerGBRAID;
@@ -80,15 +71,19 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSInteger highestConversionValueSent;
@property (strong, nonatomic) NSDate *firstAppLaunchTime;
@property (assign, nonatomic) BOOL invokeRegisterApp;
-@property (assign, nonatomic) BOOL logInAppPurchasesAsBranchEvents;
+
+@property (assign, nonatomic) BOOL eeaRegion;
+@property (assign, nonatomic) BOOL adPersonalizationConsent;
+@property (assign, nonatomic) BOOL adUserDataUsageConsent;
+
+@property (nonatomic, assign) NSString *attributionLevel;
+
- (void) clearTrackingInformation;
+ (BNCPreferenceHelper *)sharedInstance;
-- (NSString *)getAPIBaseURL;
-- (NSString *)getAPIURL:(NSString *)endpoint;
-- (NSString *)getEndpointFromURL:(NSString *)url;
+- (void)setPatternListURL:(NSString *)url;
- (void)setRequestMetadataKey:(NSString *)key value:(NSObject *)value;
- (NSMutableDictionary *)requestMetadataDictionary;
@@ -107,5 +102,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
- (NSMutableString*) sanitizedMutableBaseURL:(NSString*)baseUrl;
- (void) synchronize; // Flushes preference queue to persistence.
+ (void) clearAll;
+- (BOOL) eeaRegionInitialized;
+- (BOOL) attributionLevelInitialized;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCProductCategory.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCProductCategory.h
new file mode 100644
index 0000000..eb25589
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCProductCategory.h
@@ -0,0 +1,35 @@
+//
+// BNCProductCategory.h
+// Branch
+//
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
+//
+
+#import
+
+typedef NSString * const BNCProductCategory NS_STRING_ENUM;
+
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
+
+NSArray*_Nonnull BNCProductCategoryAllCategories(void);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCServerRequest.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCServerRequest.h
index 5da9f76..9b65ff5 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCServerRequest.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCServerRequest.h
@@ -10,7 +10,11 @@
@interface BNCServerRequest : NSObject
+@property (nonatomic, copy, readwrite) NSString *requestUUID;
+@property (nonatomic, copy, readwrite) NSNumber *requestCreationTimeStamp;
+
- (void)makeRequest:(BNCServerInterface *)serverInterface key:(NSString *)key callback:(BNCServerCallback)callback;
- (void)processResponse:(BNCServerResponse *)response error:(NSError *)error;
- (void)safeSetValue:(NSObject *)value forKey:(NSString *)key onDict:(NSMutableDictionary *)dict;
++ (NSString *) generateRequestUUIDFromDate:(NSDate *) localDate;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCServerRequestQueue.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCServerRequestQueue.h
index ff391d4..1c9d939 100755
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCServerRequestQueue.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCServerRequestQueue.h
@@ -22,12 +22,8 @@
- (NSInteger)queueDepth;
- (BOOL)containsInstallOrOpen;
-- (BOOL)removeInstallOrOpen;
-- (BOOL)containsClose;
-- (BranchOpenRequest *)moveInstallOrOpenToFront:(NSInteger)networkCount;
-- (void)persistEventually;
-- (void)persistImmediately;
+- (BranchOpenRequest *)findExistingInstallOrOpen;
+ (id)getInstance;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/Branch.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/Branch.h
index f35296b..f82e60d 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/Branch.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/Branch.h
@@ -16,7 +16,6 @@
// Public classes that should be in the umbrella header
#import "BranchLinkProperties.h"
#import "BranchUniversalObject.h"
-#import "BranchCrossPlatformID.h"
#import "BranchLastAttributedTouchData.h"
#import "BranchDeepLinkingController.h"
#import "BranchDelegate.h"
@@ -40,15 +39,14 @@
#import "BNCServerInterface.h"
#import "BNCServerRequestQueue.h"
+#import "BranchLogger.h"
// Not used by Branch singleton public API
//#import "BranchEvent.h"
//#import "BranchScene.h"
//#import "BranchPluginSupport.h"
//#import "BranchQRCode.h"
-//#import "BNCCommerceEvent.h"
//#import "BNCConfig.h"
//#import "NSError+Branch.h"
-//#import "BNCLog.h"
//#import "BranchConstants.h"
//#import "UIViewController+Branch.h"
@@ -153,12 +151,6 @@ extern NSString * __nonnull const BNCShareCompletedEvent;
// Spotlight Constant
extern NSString * __nonnull const BNCSpotlightFeature;
-#pragma mark - Branch Enums
-typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- BranchMostRecentFirst,
- BranchLeastRecentFirst
-};
-
#pragma mark - BranchLink
@interface BranchLink : NSObject
@@ -263,7 +255,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
+ (BOOL)branchKeyIsSet;
-/// TODO: Add documentation.
@property (weak, nullable) NSObject* delegate;
//@property (strong, nonatomic, nullable) BranchEvent *testEvent;
@@ -573,18 +564,28 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
///--------------------
/**
- Enable debug messages to NSLog.
+ Enable debug messages to os_log.
*/
-- (void)enableLogging;
++ (void)enableLogging;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withAdvancedCallback:(nullable BranchAdvancedLogCallback)callback;
+
+// The new logging system is independent of the Branch singleton and can be called earlier.
+- (void)enableLogging __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
+- (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
/**
- setDebug is deprecated and all functionality has been disabled.
+ Send requests to EU endpoints.
- If you wish to enable logging, please invoke enableLogging.
-
- If you wish to simulate installs, please see add a Test Device (https://help.branch.io/using-branch/docs/adding-test-devices) then reset your test device's data (https://help.branch.io/using-branch/docs/adding-test-devices#section-resetting-your-test-device-data).
+ This feature must also be enabled on the server side, otherwise the server will drop requests. Contact your account manager for details.
*/
-- (void)setDebug __attribute__((deprecated(("setDebug is replaced by enableLogging and test devices. https://help.branch.io/using-branch/docs/adding-test-devices"))));
+- (void)useEUEndpoints;
+
+/**
+Sets a custom base URL for all calls to the Branch API.
+@param url Base URL that the Branch API will use.
+*/
++ (void)setAPIUrl:(NSString *)url;
/**
@brief Use the `validateSDKIntegration` method as a debugging aid to assure that you've
@@ -646,36 +647,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
These are ICU standard regular expressions.
*/
-@property (copy, nullable) NSArray/*_Nullable*/* urlPatternsToIgnore;
-
-/**
- Register your Facebook SDK's FBSDKAppLinkUtility class to be used by Branch for deferred deep linking from their platform
-
- @param FBSDKAppLinkUtility - call [FBSDKAppLinkUtility class] after importing #import
- */
-- (void)registerFacebookDeepLinkingClass:(id)FBSDKAppLinkUtility;
-
-/**
- Check for Apple Search Ads before initialization.
-
- This will usually add less than 1 second on first time startup. Up to 3.5 seconds if Apple Search Ads fails to respond.
- */
-- (void)delayInitToCheckForSearchAds;
-
-/**
- Increases the amount of time the SDK waits for Apple Search Ads to respond.
- The default wait has a better than 90% success rate, however waiting longer can improve the success rate.
-
- This will increase the usual delay to about 3 seconds on first time startup. Up to about 15 seconds if Apple Search Ads fails to respond.
- */
-- (void)useLongerWaitForAppleSearchAds;
-
-/**
- Ignores Apple Search Ads test data.
-
- Apple returns test data for all calls made to the Apple Search Ads API on developer and testflight builds.
- */
-- (void)ignoreAppleSearchAdsTestData;
+- (void)setUrlPatternsToIgnore:(NSArray *)urlsToIgnore;
/**
Checks the pasteboard (clipboard) for a Branch Link on App Install.
@@ -772,30 +744,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
- (void)disableAdNetworkCallouts:(BOOL)disableCallouts;
-/**
- Specify that Branch should NOT use an invisible SFSafariViewController to attempt cookie-based matching upon install.
- If you call this method, we will fall back to using our pool of cookie-IDFA pairs for matching.
- */
-- (void)disableCookieBasedMatching __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
-
-/**
- TL;DR: If you're using a version of the Facebook SDK that prevents application:didFinishLaunchingWithOptions: from
- returning YES/true when a Universal Link is clicked, you should enable this option.
-
- Long explanation: in application:didFinishLaunchingWithOptions: you should choose one of the following:
-
- 1. Always `return YES;`, and do *not* invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
- 2. Allow the Facebook SDK to determine whether `application:didFinishLaunchingWithOptions:` returns `YES` or `NO`,
- and invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
-
- The reason for this second option is that the Facebook SDK will return `NO` if a Universal Link opens the app
- but that UL is not a Facebook UL. Some developers prefer not to modify
- `application:didFinishLaunchingWithOptions:` to always return `YES` and should use this method instead.
- */
-- (void)accountForFacebookSDKPreventingAppLaunch __attribute__((deprecated(("Please ensure application:didFinishLaunchingWithOptions: always returns YES/true instead of using this method. It will be removed in a future release."))));
-
-- (void)suppressWarningLogs __attribute__((deprecated(("suppressWarningLogs is deprecated and all functionality has been disabled. If you wish to turn off all logging, please invoke BNCLogSetDisplayLevel(BNCLogLevelNone)."))));
-
/**
For use by other Branch SDKs
@@ -817,19 +765,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Key-value pairs to be included in the metadata on every request.
@param key String to be included in request metadata
- @param value Object to be included in request metadata
+ @param value Value to be included in request metadata
*/
-- (void)setRequestMetadataKey:(NSString *)key value:(nullable id)value;
-
-- (void)enableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
-
-- (void)disableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
-
-- (nullable NSURL *)getUrlForOnboardingWithRedirectUrl:(nullable NSString *)redirectUrl __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));;
-
-- (void)resumeInit __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
-
-- (void)setInstallRequestDelay:(NSInteger)installRequestDelay __attribute__((deprecated(("No longer valid with new init process"))));
+- (void)setRequestMetadataKey:(NSString *)key value:(nullable NSString *)value;
/**
Disables the Branch SDK from tracking the user. This is useful for GDPR privacy compliance.
@@ -842,15 +780,13 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
* Opening Branch deep links with an explicit URL will work.
* Deferred deep linking will not work.
* Generating short links will not work and will return long links instead.
- * Sending user tracking events such as `userCompletedAction`, `BranchCommerceEvents`, and
- `BranchEvents` will fail.
- * User rewards and credits will not work.
+ * Sending user tracking events such as `BranchEvents` will fail.
* Setting a user identity and logging a user identity out will not work.
@param disabled If set to `true` then tracking will be disabled.
@warning This will prevent most of the Branch SDK functionality.
*/
-+ (void) setTrackingDisabled:(BOOL)disabled;
++ (void)setTrackingDisabled:(BOOL)disabled __attribute__((deprecated("This method has been deprecated. Use `setConsumerProtectionAttributionLevel:` with `BranchAttributionLevelNone` instead.")));
///Returns the current tracking state.
+ (BOOL) trackingDisabled;
@@ -867,6 +803,74 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
+ (void) setReferrerGbraidValidityWindow:(NSTimeInterval) validityWindow;
+/*
+
+ Sets the value of parameters required by Google Conversion APIs for DMA Compliance in EEA region.
+
+ @param eeaRegion -(BOOL) If European regulations, including the DMA, apply to this user and conversion.
+ @param adPersonalizationConsent - (BOOL) If End user has granted/denied ads personalization consent.
+ @param adUserDataUsageConsent - (BOOL) If User has granted/denied consent for 3P transmission of user level data for ads
+ */
++ (void) setDMAParamsForEEA:(BOOL) eeaRegion AdPersonalizationConsent:(BOOL) adPersonalizationConsent AdUserDataUsageConsent:(BOOL) adUserDataUsageConsent;
+
+
+/**
+ * Enumeration representing different levels of consumer protection attribution levels
+ */
+typedef NSString * BranchAttributionLevel NS_STRING_ENUM;
+
+/**
+ * Full:
+ * - Advertising Ids
+ * - Device Ids
+ * - Local IP
+ * - Persisted Non-Aggregate Ids
+ * - Persisted Aggregate Ids
+ * - Ads Postbacks / Webhooks
+ * - Data Integrations Webhooks
+ * - SAN Callouts
+ * - Privacy Frameworks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelFull;
+
+/**
+ * Reduced:
+ * - Device Ids
+ * - Local IP
+ * - Data Integrations Webhooks
+ * - Privacy Frameworks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelReduced;
+
+/**
+ * Minimal:
+ * - Device Ids
+ * - Local IP
+ * - Data Integrations Webhooks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelMinimal;
+
+/**
+ * None:
+ * - Only Deterministic Deep Linking
+ * - Disables all other Branch requests
+ */
+extern BranchAttributionLevel const BranchAttributionLevelNone;
+
+
+/**
+ Sets the consumer protection attribution level.
+
+ @param level The desired consumer protection attribution level, represented by the BranchAttributionLevel enum (Full, Reduced, Minimal, None).
+ @discussion This method allows you to control the amount and type of data collected and transmitted by Branch.
+ Adjusting the consumer protection attribution level can help you comply with privacy regulations and meet your data collection needs.
+ */
+- (void)setConsumerProtectionAttributionLevel:(BranchAttributionLevel)level;
+
+
#pragma mark - Session Item methods
///--------------------
@@ -955,114 +959,8 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- (void)logoutWithCallback:(nullable callbackWithStatus)callback;
-#pragma mark - Credit methods
-
-///--------------
-/// @name Credits
-///--------------
-
-- (void)loadRewardsWithCallback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count __deprecated_msg("Referral feature has been deprecated. This is no-op.");;
-
-- (void)redeemRewards:(NSInteger)count callback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count forBucket:(nullable NSString *)bucket __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count forBucket:(nullable NSString *)bucket callback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (NSInteger)getCredits __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (NSInteger)getCreditsForBucket:(NSString *)bucket __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryWithCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryForBucket:(nullable NSString *)bucket andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryAfter:(nullable NSString *)creditTransactionId number:(NSInteger)length order:(BranchCreditHistoryOrder)order andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryForBucket:(nullable NSString *)bucket after:(nullable NSString *)creditTransactionId number:(NSInteger)length order:(BranchCreditHistoryOrder)order andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-#pragma mark - Action methods
-
-///--------------
-/// @name Actions
-///--------------
-
-/**
- Send a user action to the server. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- */
-- (void)userCompletedAction:(nullable NSString *)action __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Send a user action to the server with additional state items. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- @param state The additional state items associated with the action.
- */
-- (void)userCompletedAction:(nullable NSString *)action withState:(nullable NSDictionary *)state __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Send a user action to the server with additional state items. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- @param state The additional state items associated with the action.
- @param branchViewCallback Callback for Branch view state.
-
- @deprecated Please use userCompletedAction:action:state instead
- */
-- (void)userCompletedAction:(nullable NSString *)action withState:(nullable NSDictionary *)state withDelegate:(nullable id)branchViewCallback __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Sends a user commerce event to the server.
-
- Use commerce events to track when a user purchases an item in your online store,
- makes an in-app purchase, or buys a subscription. The commerce events are tracked in
- the Branch dashboard along with your other events so you can judge the effectiveness of
- campaigns and other analytics.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param commerceEvent The BNCCommerceEvent that describes the purchase.
- @param metadata Optional metadata you may want add to the event.
- @param completion The optional completion callback.
-
- @deprecated Please use BNCEvent to track commerce events instead.
- */
-- (void) sendCommerceEvent:(BNCCommerceEvent*)commerceEvent
- metadata:(NSDictionary*)metadata
- withCompletion:(void (^) (NSDictionary* _Nullable response, NSError* _Nullable error))completion __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-
#pragma mark - Query methods
-/**
- Branch includes SDK methods to allow retrieval of our Cross Platform ID (CPID) from the client. This results in an asynchronous call being made to Branch’s servers with CPID data returned when possible.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param completion callback with cross platform id data
- */
-- (void)crossPlatformIdDataWithCompletion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
-
/**
Branch includes SDK methods to allow retrieval of our last attributed touch data (LATD) from the client. This results in an asynchronous call being made to Branch's servers with LATD data returned when possible.
Last attributed touch data contains the information associated with that user's last viewed impression or clicked link.
@@ -1582,7 +1480,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param title Title for the spotlight preview item.
@param description Description for the spotlight preview item.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description;
@@ -1592,7 +1489,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param title Title for the spotlight preview item.
@param description Description for the spotlight preview item.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description callback:(callbackWithUrl)callback;
@@ -1603,7 +1499,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param description Description for the spotlight preview item.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1615,7 +1510,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1628,7 +1522,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1642,7 +1535,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param keywords A set of keywords to be used in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
@@ -1655,7 +1547,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param linkParams Additional params to be added to the NSUserActivity. These will also be added to the Branch link.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1669,7 +1560,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1682,7 +1572,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1694,7 +1583,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param thumbnailUrl Url to an image to be used for the thumnbail in spotlight.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param linkParams A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams publiclyIndexable:(BOOL)publiclyIndexable;
@@ -1709,7 +1597,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param keywords A set of keywords to be used in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
@@ -1725,7 +1612,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
@@ -1742,7 +1628,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl canonicalId:(NSString *)canonicalId linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
@@ -1759,7 +1644,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param spotlightCallback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
@@ -1776,7 +1660,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param spotlightCallback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl canonicalId:(NSString *)canonicalId linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
@@ -1785,7 +1668,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param universalObject Branch Universal Object is indexed on spotlight using meta data of spotlight
@param linkProperties Branch Link Properties is used in short url generation
@param completion Callback called when all Branch Universal Objects are indexed. Dynamic url generated and saved as spotlight identifier
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)indexOnSpotlightWithBranchUniversalObject:(BranchUniversalObject *)universalObject
linkProperties:(nullable BranchLinkProperties *)linkProperties
@@ -1805,7 +1687,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Remove Indexing of a Branch Universal Objects, which is indexed using SearchableItem of Apple's CoreSpotlight.
@param universalObject Branch Universal Object which is already indexed using SearchableItem is removed from spotlight
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeSearchableItemWithBranchUniversalObject:(BranchUniversalObject *)universalObject
callback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1813,7 +1694,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Remove Indexing of an array of Branch Universal Objects, which are indexed using SearchableItem of Apple's CoreSpotlight.
@param universalObjects Multiple Branch Universal Objects which are already indexed using SearchableItem are removed from spotlight. Note: The spotlight identifier of Branch Universal Object is used to remove indexing.
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeSearchableItemsWithBranchUniversalObjects:(NSArray *)universalObjects
callback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1821,7 +1701,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
/*
Remove all content spotlight indexed through either Searchable Item or privately indexed Branch Universal Object.
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeAllPrivateContentFromSpotLightWithCallback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1875,12 +1754,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param itemProviders - an array of item providers collected from pasteboard.
@warning This function works with iOS 16 or above.
*/
-- (void)passPasteItemProviders:(NSArray *)itemProviders API_AVAILABLE(ios(16));
+- (void)passPasteItemProviders:(NSArray *)itemProviders API_AVAILABLE(ios(16), macCatalyst(16));
#endif
-+ (void)setLogInAppPurchasesAsEventsEnabled:(BOOL)enabled;
-+ (BOOL)logInAppPurchasesBranchEventsEnabled;
-
@end
NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchActivityItemProvider.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchActivityItemProvider.h
index 9a9068e..f025779 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchActivityItemProvider.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchActivityItemProvider.h
@@ -6,6 +6,8 @@
// Copyright (c) 2015 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
+
#if __has_feature(modules)
@import Foundation;
@import UIKit;
@@ -40,3 +42,4 @@
+ (NSString *)humanReadableChannelWithActivityType:(NSString *)activityString;
@end
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchCSSearchableItemAttributeSet.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchCSSearchableItemAttributeSet.h
index ca536c3..65d127a 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchCSSearchableItemAttributeSet.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchCSSearchableItemAttributeSet.h
@@ -5,6 +5,7 @@
// Created by Derrick Staten on 9/8/15.
// Copyright © 2015 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
#if __has_feature(modules)
@import Foundation;
@@ -26,9 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)init;
-#ifdef __IPHONE_14_0
-- (instancetype)initWithContentType:(UTType *)contentType NS_AVAILABLE(10_16, 14_0);
-#endif
+- (instancetype)initWithContentType:(UTType *)contentType API_AVAILABLE(ios(14), macCatalyst(14));
- (instancetype)initWithItemContentType:(NSString *)type;
@@ -41,3 +40,4 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchCrossPlatformID.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchCrossPlatformID.h
deleted file mode 100644
index 23e2744..0000000
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchCrossPlatformID.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// BranchCrossPlatformID.h
-// Branch
-//
-// Created by Ernest Cho on 9/12/19.
-// Copyright © 2019 Branch, Inc. All rights reserved.
-//
-
-#import
-#import "BNCServerInterface.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface BranchProbabilisticCrossPlatformID : NSObject
-
-@property (nonatomic, copy, readonly) NSString *crossPlatformID;
-@property (nonatomic, copy, readonly) NSNumber *score;
-
-+ (nullable BranchProbabilisticCrossPlatformID *)buildFromJSON:(NSDictionary *)json;
-
-@end
-
-@interface BranchCrossPlatformID : NSObject
-
-@property (nonatomic, copy, readonly) NSString *crossPlatformID;
-@property (nonatomic, copy, readonly) NSString *developerID;
-@property (nonatomic, strong, readonly) NSArray *pastCrossPlatformIDs;
-@property (nonatomic, strong, readonly) NSArray *probabiliticCrossPlatformIDs;
-
-+ (nullable BranchCrossPlatformID *)buildFromJSON:(NSDictionary *)json;
-
-+ (void)requestCrossPlatformIdData:(BNCServerInterface *)serverInterface key:(NSString *)key completion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchDeepLinkingController.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchDeepLinkingController.h
index 70a07dd..b591d74 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchDeepLinkingController.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchDeepLinkingController.h
@@ -16,9 +16,6 @@
@protocol BranchDeepLinkingControllerCompletionDelegate
-- (void)deepLinkingControllerCompleted
- __attribute__((deprecated(("This API is deprecated. Instead, use deepLinkingControllerCompletedFrom: viewController"))));;
-
- (void)deepLinkingControllerCompletedFrom:(UIViewController*) viewController;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchDelegate.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchDelegate.h
index 5eb6da7..8fbf82b 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchDelegate.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchDelegate.h
@@ -6,8 +6,6 @@
// Copyright © 2017 Branch Metrics. All rights reserved.
//
-// TODO: Add documentation
-
#if __has_feature(modules)
@import Foundation;
#else
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchEvent.h
index 86b90fd..484fb52 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchEvent.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchEvent.h
@@ -7,7 +7,6 @@
//
#import "Branch.h"
-#import "BNCCommerceEvent.h"
#import "BranchUniversalObject.h"
#import
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchLogger.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchLogger.h
new file mode 100644
index 0000000..1d05cd8
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchLogger.h
@@ -0,0 +1,51 @@
+//
+// BranchLogger.h
+// Branch
+//
+// Created by Nipun Singh on 2/1/24.
+// Copyright © 2024 Branch, Inc. All rights reserved.
+//
+
+#import
+#import "BNCServerResponse.h"
+
+typedef NS_ENUM(NSUInteger, BranchLogLevel) {
+ BranchLogLevelVerbose, // development
+ BranchLogLevelDebug, // validation and troubleshooting
+ BranchLogLevelWarning, // potential errors and attempts at recovery. SDK may be in a bad state.
+ BranchLogLevelError, // severe errors. SDK is probably in a bad state.
+};
+
+typedef void(^BranchLogCallback)(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error);
+typedef void(^BranchAdvancedLogCallback)(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error, NSMutableURLRequest * _Nullable request, BNCServerResponse * _Nullable response);
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface BranchLogger : NSObject
+
+@property (nonatomic, assign) BOOL loggingEnabled;
+@property (nonatomic, assign) BOOL includeCallerDetails;
+@property (nonatomic, copy, nullable) BranchLogCallback logCallback;
+@property (nonatomic, copy, nullable) BranchAdvancedLogCallback advancedLogCallback;
+@property (nonatomic, assign) BranchLogLevel logLevelThreshold;
+
++ (instancetype _Nonnull)shared;
+
+// For expensive Log messages, check if it's even worth building the log message
+- (BOOL)shouldLog:(BranchLogLevel)level;
+
+// Caller details are relatively expensive, option to disable if the cost is too high.
+- (void)disableCallerDetails;
+
+- (void)logError:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logWarning:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error request:(NSMutableURLRequest * _Nullable)request response:(BNCServerResponse * _Nullable)response;
+- (void)logVerbose:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+
+// default Branch log format
++ (NSString *)formatMessage:(NSString *)message logLevel:(BranchLogLevel)logLevel error:(NSError *)error;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchPasteControl.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchPasteControl.h
index d163c07..2a5737f 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchPasteControl.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchPasteControl.h
@@ -6,20 +6,19 @@
// Copyright © 2022 Branch, Inc. All rights reserved.
//
+#if !TARGET_OS_TV
#import
NS_ASSUME_NONNULL_BEGIN
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000
-API_AVAILABLE(ios(16.0))
+API_AVAILABLE(ios(16.0), macCatalyst(16.0))
@interface BranchPasteControl : UIView
-// This is designated initializer. All other initializers are blocked.
- (instancetype)initWithFrame:(CGRect)frame AndConfiguration:( UIPasteControlConfiguration * _Nullable) config NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
@end
-#endif
NS_ASSUME_NONNULL_END
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchPluginSupport.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchPluginSupport.h
index 71ae754..e344dcc 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchPluginSupport.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchPluginSupport.h
@@ -14,6 +14,12 @@ NS_ASSUME_NONNULL_BEGIN
+ (BranchPluginSupport *)instance;
+/**
+Sets a custom CDN base URL.
+@param url Base URL for CDN endpoints.
+*/
++ (void)setCDNBaseUrl:(NSString *)url;
+
- (NSDictionary *)deviceDescription;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchSDK.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchSDK.h
index e034c3c..c571772 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchSDK.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchSDK.h
@@ -24,8 +24,8 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
#import
#import
#import
+#import
-#import
#import
#import
@@ -49,15 +49,16 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
// Cascading public headers...
-// BranchUniversalObject uses constants defined in BNCCommerceEvent.h
-#import
-// BNCCommerceEvent.h includes BNCServerRequest.h
+// BranchUniversalObject uses constants defined in BNCCurrency.h and BNCProductCategory.h
+#import
+#import
+
#import
// BNCServerRequest includes BNCServerInterface.h
-#import
+//#import
// BNCServerInterface.h includes BNCServerResponse.h and BNCPreferenceHelper.h
#import
-#import
+//#import
// BNCLinkCache.h uses BNCLinkData.h
#import
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchScene.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchScene.h
index a24b2ed..f0397d9 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchScene.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchScene.h
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
Provide support for UIScene. This is only supported on iOS 13.0+, iPadOS 13.0+
*/
-API_AVAILABLE(ios(13.0))
+API_AVAILABLE(ios(13.0), macCatalyst(13.1))
@interface BranchScene : NSObject
+ (BranchScene *)shared;
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchShareLink.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchShareLink.h
index 6946bc8..e121c76 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchShareLink.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchShareLink.h
@@ -6,6 +6,8 @@
// Copyright © 2017 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
+
#import "BranchUniversalObject.h"
#import
@class BranchShareLink;
@@ -93,7 +95,7 @@ Presents a UIActivityViewController that shares the Branch link.
@property (nonatomic, strong, nullable) NSURL *placeholderURL;
// iOS 13+ : LinkPresentation metadata for the preview header.
-@property (nonatomic, strong, nullable) LPLinkMetadata *lpMetaData API_AVAILABLE(ios(13.0));
+@property (nonatomic, strong, nullable) LPLinkMetadata *lpMetaData API_AVAILABLE(ios(13.0), macCatalyst(13.1));
///Share text for the item. This is not the text in the iOS 13+ preview header.
///This text can be changed later when the `branchShareSheetWillShare:` delegate method is called.
@@ -125,7 +127,6 @@ Presents a UIActivityViewController that shares the Branch link.
///The delegate. See 'BranchShareLinkDelegate' above for a description.
@property (nonatomic, weak) id_Nullable delegate;
-@property void (^ _Nullable completion)(NSString * _Nullable activityType, BOOL completed);
@property void (^ _Nullable completionError)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error);
/**
@@ -135,7 +136,7 @@ Creates and attaches an LPLinkMetadata using the provided title and icon. This m
@param icon The image used for the share sheet preview icon.
*/
-- (void) addLPLinkMetadata:(NSString *_Nullable)title
- icon:(UIImage *_Nullable)icon API_AVAILABLE(ios(13.0));
+- (void) addLPLinkMetadata:(NSString *_Nullable)title icon:(UIImage *_Nullable)icon API_AVAILABLE(ios(13.0), macCatalyst(13.1));
@end
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchUniversalObject.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchUniversalObject.h
index 9712ad4..de57a98 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchUniversalObject.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BranchUniversalObject.h
@@ -14,7 +14,8 @@
#import
#endif
-#import "BNCCommerceEvent.h"
+#import "BNCProductCategory.h"
+#import "BNCCurrency.h"
#import "BranchLinkProperties.h"
#pragma mark BranchContentIndexMode
@@ -159,17 +160,6 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
- (void)registerView;
- (void)registerViewWithCallback:(void (^_Nullable)(NSDictionary * _Nullable params, NSError * _Nullable error))callback;
-
-/// @name User Event Tracking
-
-
-- (void)userCompletedAction:(nonnull NSString *)action;
- // __attribute__((deprecated(("Use `[BranchEvent logEvent...]` instead."))));
-
-- (void)userCompletedAction:(nonnull NSString *)action withState:(nullable NSDictionary *)state;
- // __attribute__((deprecated(("Use `[BranchEvent logEvent...]` instead."))));
-
-
/// @name Short Links
@@ -195,34 +185,19 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
#if !TARGET_OS_TV
- (void)showShareSheetWithShareText:(nullable NSString *)shareText
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
-
-- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
- andShareText:(nullable NSString *)shareText
- fromViewController:(nullable UIViewController *)viewController
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
+ completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-/// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-// iPad
-- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
- andShareText:(nullable NSString *)shareText
- fromViewController:(nullable UIViewController *)viewController
- anchor:(nullable UIBarButtonItem *)anchor
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
-
-// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
anchor:(nullable UIBarButtonItem *)anchor
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-
/// @name List items on Spotlight
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Resources/Info.plist b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Resources/Info.plist
index d485f4d..136cce6 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Resources/Info.plist
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Resources/Info.plist
@@ -3,7 +3,7 @@
BuildMachineOSBuild
- 22G120
+ 23H311
CFBundleDevelopmentRegion
en
CFBundleExecutable
@@ -17,13 +17,13 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.1.3
+ 3.8.0
CFBundleSupportedPlatforms
MacOSX
CFBundleVersion
- 2.1.3
+ 3.8.0
DTCompiler
com.apple.compilers.llvm.clang.1_0
DTPlatformBuild
@@ -31,15 +31,15 @@
DTPlatformName
macosx
DTPlatformVersion
- 14.0
+ 14.5
DTSDKBuild
- 23A334
+ 23F73
DTSDKName
- macosx14.0
+ macosx14.5
DTXcode
- 1501
+ 1540
DTXcodeBuild
- 15A507
+ 15F31d
LSMinimumSystemVersion
10.15
UIDeviceFamily
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Resources/PrivacyInfo.xcprivacy b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
new file mode 100644
index 0000000..3593fc9
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
@@ -0,0 +1,73 @@
+
+
+
+
+ NSPrivacyTracking
+
+ NSPrivacyTrackingDomains
+
+ api-safetrack.branch.io
+ api-safetrack-eu.branch.io
+
+ NSPrivacyCollectedDataTypes
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeDeviceID
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising
+ NSPrivacyCollectedDataTypePurposeDeveloperAdvertising
+ NSPrivacyCollectedDataTypePurposeAnalytics
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypePerformanceData
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeOtherDataTypes
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyAccessedAPITypes
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryFileTimestamp
+ NSPrivacyAccessedAPITypeReasons
+
+ C617.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryUserDefaults
+ NSPrivacyAccessedAPITypeReasons
+
+ CA92.1
+
+
+
+
+
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/BranchSDK b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/BranchSDK
index f6ac32a..dab92f1 100755
Binary files a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/BranchSDK and b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/BranchSDK differ
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCallbacks.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCallbacks.h
index 185229a..88669ac 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCallbacks.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCallbacks.h
@@ -20,3 +20,4 @@ typedef void (^callbackWithStatus) (BOOL changed, NSError * _Nullable error);
typedef void (^callbackWithList) (NSArray * _Nullable list, NSError * _Nullable error);
typedef void (^callbackWithUrlAndSpotlightIdentifier) (NSString * _Nullable url, NSString * _Nullable spotlightIdentifier, NSError * _Nullable error);
typedef void (^callbackWithBranchUniversalObject) (BranchUniversalObject * _Nullable universalObject, BranchLinkProperties * _Nullable linkProperties, NSError * _Nullable error);
+typedef void (^callbackWithData) (NSData * _Nullable data, NSError * _Nullable error);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCommerceEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCurrency.h
similarity index 73%
rename from BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCommerceEvent.h
rename to BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCurrency.h
index 661fbf5..868427e 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCommerceEvent.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCurrency.h
@@ -1,44 +1,14 @@
//
-// BNCCommerceEvent.h
-// Branch-SDK
+// BNCCurrency.h
+// Branch
//
-// Created by Edward Smith on 12/14/16.
-// Copyright (c) 2016 Branch Metrics. All rights reserved.
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
//
-#import "BNCServerRequest.h"
+#import
-#pragma mark BNCProductCategory
-
-typedef NSString*const BNCProductCategory NS_STRING_ENUM;
-
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
-
-NSArray*_Nonnull BNCProductCategoryAllCategories(void);
-
-#pragma mark - BNCCurrency
-
-typedef NSString*const BNCCurrency NS_STRING_ENUM;
+typedef NSString * const BNCCurrency NS_STRING_ENUM;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAED;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAFN;
@@ -234,39 +204,3 @@ FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZAR;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZMW;
NSArray*_Nonnull BNCCurrencyAllCurrencies(void);
-
-#pragma mark - BNCProduct
-
-@interface BNCProduct : NSObject
-@property (nonatomic, copy) NSString*_Nullable sku;
-@property (nonatomic, copy) NSString*_Nullable name;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable price;
-@property (nonatomic, strong) NSNumber*_Nullable quantity;
-@property (nonatomic, copy) NSString*_Nullable brand;
-@property (nonatomic, copy) BNCProductCategory _Nullable category;
-@property (nonatomic, copy) NSString*_Nullable variant;
-@end
-
-#pragma mark - BNCCommerceEvent
-
-//__attribute__((deprecated(("Please use BranchEvent to track commerce events."))))
-@interface BNCCommerceEvent : NSObject
-@property (nonatomic, strong) NSDecimalNumber*_Nullable revenue;
-@property (nonatomic, copy) BNCCurrency _Nullable currency;
-@property (nonatomic, copy) NSString*_Nullable transactionID;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable shipping;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable tax;
-@property (nonatomic, copy) NSString*_Nullable coupon;
-@property (nonatomic, copy) NSString*_Nullable affiliation;
-@property (nonatomic, strong) NSArray*_Nullable products;
-@end
-
-
-@interface BranchCommerceEventRequest : BNCServerRequest
-
-- (instancetype _Nonnull) initWithCommerceEvent:(BNCCommerceEvent*_Nonnull)commerceEvent
- metadata:(NSDictionary*_Nullable)dictionary
- completion:
- (void (^_Nullable)(NSDictionary*_Nullable response, NSError*_Nullable error))callBack;
-
-@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCPreferenceHelper.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCPreferenceHelper.h
index dc8fe57..464d550 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCPreferenceHelper.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCPreferenceHelper.h
@@ -40,8 +40,6 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (copy, nonatomic) NSString *sessionParams;
@property (copy, nonatomic) NSString *installParams;
@property (assign, nonatomic) BOOL isDebug;
-@property (assign, nonatomic) BOOL checkedFacebookAppLinks;
-@property (assign, nonatomic) BOOL checkedAppleSearchAdAttribution;
@property (nonatomic, assign, readwrite) BOOL appleAttributionTokenChecked;
@property (nonatomic, assign, readwrite) BOOL hasOptedInBefore;
@property (nonatomic, assign, readwrite) BOOL hasCalledHandleATTAuthorizationStatus;
@@ -50,25 +48,18 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSTimeInterval timeout;
@property (copy, nonatomic) NSString *externalIntentURI;
@property (strong, nonatomic) NSMutableDictionary *savedAnalyticsData;
-@property (strong, nonatomic) NSDictionary *appleSearchAdDetails;
-@property (assign, nonatomic) BOOL appleSearchAdNeedsSend;
@property (copy, nonatomic) NSString *lastSystemBuildVersion;
@property (copy, nonatomic) NSString *browserUserAgentString;
@property (copy, nonatomic) NSString *referringURL;
-@property (copy, nonatomic) NSString *branchAPIURL;
@property (assign, nonatomic) BOOL limitFacebookTracking;
@property (strong, nonatomic) NSDate *previousAppBuildDate;
@property (assign, nonatomic, readwrite) BOOL disableAdNetworkCallouts;
-@property (strong, nonatomic, readwrite) NSURL *faceBookAppLink;
-
@property (nonatomic, copy, readwrite) NSString *patternListURL;
@property (strong, nonatomic) NSArray *savedURLPatternList;
@property (assign, nonatomic) NSInteger savedURLPatternListVersion;
@property (assign, nonatomic) BOOL dropURLOpen;
-@property (assign, nonatomic) BOOL sendCloseRequests;
-
@property (assign, nonatomic) BOOL trackingDisabled;
@property (copy, nonatomic) NSString *referrerGBRAID;
@@ -80,15 +71,19 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSInteger highestConversionValueSent;
@property (strong, nonatomic) NSDate *firstAppLaunchTime;
@property (assign, nonatomic) BOOL invokeRegisterApp;
-@property (assign, nonatomic) BOOL logInAppPurchasesAsBranchEvents;
+
+@property (assign, nonatomic) BOOL eeaRegion;
+@property (assign, nonatomic) BOOL adPersonalizationConsent;
+@property (assign, nonatomic) BOOL adUserDataUsageConsent;
+
+@property (nonatomic, assign) NSString *attributionLevel;
+
- (void) clearTrackingInformation;
+ (BNCPreferenceHelper *)sharedInstance;
-- (NSString *)getAPIBaseURL;
-- (NSString *)getAPIURL:(NSString *)endpoint;
-- (NSString *)getEndpointFromURL:(NSString *)url;
+- (void)setPatternListURL:(NSString *)url;
- (void)setRequestMetadataKey:(NSString *)key value:(NSObject *)value;
- (NSMutableDictionary *)requestMetadataDictionary;
@@ -107,5 +102,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
- (NSMutableString*) sanitizedMutableBaseURL:(NSString*)baseUrl;
- (void) synchronize; // Flushes preference queue to persistence.
+ (void) clearAll;
+- (BOOL) eeaRegionInitialized;
+- (BOOL) attributionLevelInitialized;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCProductCategory.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCProductCategory.h
new file mode 100644
index 0000000..eb25589
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCProductCategory.h
@@ -0,0 +1,35 @@
+//
+// BNCProductCategory.h
+// Branch
+//
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
+//
+
+#import
+
+typedef NSString * const BNCProductCategory NS_STRING_ENUM;
+
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
+
+NSArray*_Nonnull BNCProductCategoryAllCategories(void);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequest.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequest.h
index 5da9f76..9b65ff5 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequest.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequest.h
@@ -10,7 +10,11 @@
@interface BNCServerRequest : NSObject
+@property (nonatomic, copy, readwrite) NSString *requestUUID;
+@property (nonatomic, copy, readwrite) NSNumber *requestCreationTimeStamp;
+
- (void)makeRequest:(BNCServerInterface *)serverInterface key:(NSString *)key callback:(BNCServerCallback)callback;
- (void)processResponse:(BNCServerResponse *)response error:(NSError *)error;
- (void)safeSetValue:(NSObject *)value forKey:(NSString *)key onDict:(NSMutableDictionary *)dict;
++ (NSString *) generateRequestUUIDFromDate:(NSDate *) localDate;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequestQueue.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequestQueue.h
index ff391d4..1c9d939 100755
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequestQueue.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequestQueue.h
@@ -22,12 +22,8 @@
- (NSInteger)queueDepth;
- (BOOL)containsInstallOrOpen;
-- (BOOL)removeInstallOrOpen;
-- (BOOL)containsClose;
-- (BranchOpenRequest *)moveInstallOrOpenToFront:(NSInteger)networkCount;
-- (void)persistEventually;
-- (void)persistImmediately;
+- (BranchOpenRequest *)findExistingInstallOrOpen;
+ (id)getInstance;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/Branch.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/Branch.h
index f35296b..f82e60d 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/Branch.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/Branch.h
@@ -16,7 +16,6 @@
// Public classes that should be in the umbrella header
#import "BranchLinkProperties.h"
#import "BranchUniversalObject.h"
-#import "BranchCrossPlatformID.h"
#import "BranchLastAttributedTouchData.h"
#import "BranchDeepLinkingController.h"
#import "BranchDelegate.h"
@@ -40,15 +39,14 @@
#import "BNCServerInterface.h"
#import "BNCServerRequestQueue.h"
+#import "BranchLogger.h"
// Not used by Branch singleton public API
//#import "BranchEvent.h"
//#import "BranchScene.h"
//#import "BranchPluginSupport.h"
//#import "BranchQRCode.h"
-//#import "BNCCommerceEvent.h"
//#import "BNCConfig.h"
//#import "NSError+Branch.h"
-//#import "BNCLog.h"
//#import "BranchConstants.h"
//#import "UIViewController+Branch.h"
@@ -153,12 +151,6 @@ extern NSString * __nonnull const BNCShareCompletedEvent;
// Spotlight Constant
extern NSString * __nonnull const BNCSpotlightFeature;
-#pragma mark - Branch Enums
-typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- BranchMostRecentFirst,
- BranchLeastRecentFirst
-};
-
#pragma mark - BranchLink
@interface BranchLink : NSObject
@@ -263,7 +255,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
+ (BOOL)branchKeyIsSet;
-/// TODO: Add documentation.
@property (weak, nullable) NSObject* delegate;
//@property (strong, nonatomic, nullable) BranchEvent *testEvent;
@@ -573,18 +564,28 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
///--------------------
/**
- Enable debug messages to NSLog.
+ Enable debug messages to os_log.
*/
-- (void)enableLogging;
++ (void)enableLogging;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withAdvancedCallback:(nullable BranchAdvancedLogCallback)callback;
+
+// The new logging system is independent of the Branch singleton and can be called earlier.
+- (void)enableLogging __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
+- (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
/**
- setDebug is deprecated and all functionality has been disabled.
+ Send requests to EU endpoints.
- If you wish to enable logging, please invoke enableLogging.
-
- If you wish to simulate installs, please see add a Test Device (https://help.branch.io/using-branch/docs/adding-test-devices) then reset your test device's data (https://help.branch.io/using-branch/docs/adding-test-devices#section-resetting-your-test-device-data).
+ This feature must also be enabled on the server side, otherwise the server will drop requests. Contact your account manager for details.
*/
-- (void)setDebug __attribute__((deprecated(("setDebug is replaced by enableLogging and test devices. https://help.branch.io/using-branch/docs/adding-test-devices"))));
+- (void)useEUEndpoints;
+
+/**
+Sets a custom base URL for all calls to the Branch API.
+@param url Base URL that the Branch API will use.
+*/
++ (void)setAPIUrl:(NSString *)url;
/**
@brief Use the `validateSDKIntegration` method as a debugging aid to assure that you've
@@ -646,36 +647,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
These are ICU standard regular expressions.
*/
-@property (copy, nullable) NSArray/*_Nullable*/* urlPatternsToIgnore;
-
-/**
- Register your Facebook SDK's FBSDKAppLinkUtility class to be used by Branch for deferred deep linking from their platform
-
- @param FBSDKAppLinkUtility - call [FBSDKAppLinkUtility class] after importing #import
- */
-- (void)registerFacebookDeepLinkingClass:(id)FBSDKAppLinkUtility;
-
-/**
- Check for Apple Search Ads before initialization.
-
- This will usually add less than 1 second on first time startup. Up to 3.5 seconds if Apple Search Ads fails to respond.
- */
-- (void)delayInitToCheckForSearchAds;
-
-/**
- Increases the amount of time the SDK waits for Apple Search Ads to respond.
- The default wait has a better than 90% success rate, however waiting longer can improve the success rate.
-
- This will increase the usual delay to about 3 seconds on first time startup. Up to about 15 seconds if Apple Search Ads fails to respond.
- */
-- (void)useLongerWaitForAppleSearchAds;
-
-/**
- Ignores Apple Search Ads test data.
-
- Apple returns test data for all calls made to the Apple Search Ads API on developer and testflight builds.
- */
-- (void)ignoreAppleSearchAdsTestData;
+- (void)setUrlPatternsToIgnore:(NSArray *)urlsToIgnore;
/**
Checks the pasteboard (clipboard) for a Branch Link on App Install.
@@ -772,30 +744,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
- (void)disableAdNetworkCallouts:(BOOL)disableCallouts;
-/**
- Specify that Branch should NOT use an invisible SFSafariViewController to attempt cookie-based matching upon install.
- If you call this method, we will fall back to using our pool of cookie-IDFA pairs for matching.
- */
-- (void)disableCookieBasedMatching __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
-
-/**
- TL;DR: If you're using a version of the Facebook SDK that prevents application:didFinishLaunchingWithOptions: from
- returning YES/true when a Universal Link is clicked, you should enable this option.
-
- Long explanation: in application:didFinishLaunchingWithOptions: you should choose one of the following:
-
- 1. Always `return YES;`, and do *not* invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
- 2. Allow the Facebook SDK to determine whether `application:didFinishLaunchingWithOptions:` returns `YES` or `NO`,
- and invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
-
- The reason for this second option is that the Facebook SDK will return `NO` if a Universal Link opens the app
- but that UL is not a Facebook UL. Some developers prefer not to modify
- `application:didFinishLaunchingWithOptions:` to always return `YES` and should use this method instead.
- */
-- (void)accountForFacebookSDKPreventingAppLaunch __attribute__((deprecated(("Please ensure application:didFinishLaunchingWithOptions: always returns YES/true instead of using this method. It will be removed in a future release."))));
-
-- (void)suppressWarningLogs __attribute__((deprecated(("suppressWarningLogs is deprecated and all functionality has been disabled. If you wish to turn off all logging, please invoke BNCLogSetDisplayLevel(BNCLogLevelNone)."))));
-
/**
For use by other Branch SDKs
@@ -817,19 +765,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Key-value pairs to be included in the metadata on every request.
@param key String to be included in request metadata
- @param value Object to be included in request metadata
+ @param value Value to be included in request metadata
*/
-- (void)setRequestMetadataKey:(NSString *)key value:(nullable id)value;
-
-- (void)enableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
-
-- (void)disableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
-
-- (nullable NSURL *)getUrlForOnboardingWithRedirectUrl:(nullable NSString *)redirectUrl __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));;
-
-- (void)resumeInit __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
-
-- (void)setInstallRequestDelay:(NSInteger)installRequestDelay __attribute__((deprecated(("No longer valid with new init process"))));
+- (void)setRequestMetadataKey:(NSString *)key value:(nullable NSString *)value;
/**
Disables the Branch SDK from tracking the user. This is useful for GDPR privacy compliance.
@@ -842,15 +780,13 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
* Opening Branch deep links with an explicit URL will work.
* Deferred deep linking will not work.
* Generating short links will not work and will return long links instead.
- * Sending user tracking events such as `userCompletedAction`, `BranchCommerceEvents`, and
- `BranchEvents` will fail.
- * User rewards and credits will not work.
+ * Sending user tracking events such as `BranchEvents` will fail.
* Setting a user identity and logging a user identity out will not work.
@param disabled If set to `true` then tracking will be disabled.
@warning This will prevent most of the Branch SDK functionality.
*/
-+ (void) setTrackingDisabled:(BOOL)disabled;
++ (void)setTrackingDisabled:(BOOL)disabled __attribute__((deprecated("This method has been deprecated. Use `setConsumerProtectionAttributionLevel:` with `BranchAttributionLevelNone` instead.")));
///Returns the current tracking state.
+ (BOOL) trackingDisabled;
@@ -867,6 +803,74 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
+ (void) setReferrerGbraidValidityWindow:(NSTimeInterval) validityWindow;
+/*
+
+ Sets the value of parameters required by Google Conversion APIs for DMA Compliance in EEA region.
+
+ @param eeaRegion -(BOOL) If European regulations, including the DMA, apply to this user and conversion.
+ @param adPersonalizationConsent - (BOOL) If End user has granted/denied ads personalization consent.
+ @param adUserDataUsageConsent - (BOOL) If User has granted/denied consent for 3P transmission of user level data for ads
+ */
++ (void) setDMAParamsForEEA:(BOOL) eeaRegion AdPersonalizationConsent:(BOOL) adPersonalizationConsent AdUserDataUsageConsent:(BOOL) adUserDataUsageConsent;
+
+
+/**
+ * Enumeration representing different levels of consumer protection attribution levels
+ */
+typedef NSString * BranchAttributionLevel NS_STRING_ENUM;
+
+/**
+ * Full:
+ * - Advertising Ids
+ * - Device Ids
+ * - Local IP
+ * - Persisted Non-Aggregate Ids
+ * - Persisted Aggregate Ids
+ * - Ads Postbacks / Webhooks
+ * - Data Integrations Webhooks
+ * - SAN Callouts
+ * - Privacy Frameworks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelFull;
+
+/**
+ * Reduced:
+ * - Device Ids
+ * - Local IP
+ * - Data Integrations Webhooks
+ * - Privacy Frameworks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelReduced;
+
+/**
+ * Minimal:
+ * - Device Ids
+ * - Local IP
+ * - Data Integrations Webhooks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelMinimal;
+
+/**
+ * None:
+ * - Only Deterministic Deep Linking
+ * - Disables all other Branch requests
+ */
+extern BranchAttributionLevel const BranchAttributionLevelNone;
+
+
+/**
+ Sets the consumer protection attribution level.
+
+ @param level The desired consumer protection attribution level, represented by the BranchAttributionLevel enum (Full, Reduced, Minimal, None).
+ @discussion This method allows you to control the amount and type of data collected and transmitted by Branch.
+ Adjusting the consumer protection attribution level can help you comply with privacy regulations and meet your data collection needs.
+ */
+- (void)setConsumerProtectionAttributionLevel:(BranchAttributionLevel)level;
+
+
#pragma mark - Session Item methods
///--------------------
@@ -955,114 +959,8 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- (void)logoutWithCallback:(nullable callbackWithStatus)callback;
-#pragma mark - Credit methods
-
-///--------------
-/// @name Credits
-///--------------
-
-- (void)loadRewardsWithCallback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count __deprecated_msg("Referral feature has been deprecated. This is no-op.");;
-
-- (void)redeemRewards:(NSInteger)count callback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count forBucket:(nullable NSString *)bucket __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count forBucket:(nullable NSString *)bucket callback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (NSInteger)getCredits __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (NSInteger)getCreditsForBucket:(NSString *)bucket __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryWithCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryForBucket:(nullable NSString *)bucket andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryAfter:(nullable NSString *)creditTransactionId number:(NSInteger)length order:(BranchCreditHistoryOrder)order andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryForBucket:(nullable NSString *)bucket after:(nullable NSString *)creditTransactionId number:(NSInteger)length order:(BranchCreditHistoryOrder)order andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-#pragma mark - Action methods
-
-///--------------
-/// @name Actions
-///--------------
-
-/**
- Send a user action to the server. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- */
-- (void)userCompletedAction:(nullable NSString *)action __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Send a user action to the server with additional state items. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- @param state The additional state items associated with the action.
- */
-- (void)userCompletedAction:(nullable NSString *)action withState:(nullable NSDictionary *)state __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Send a user action to the server with additional state items. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- @param state The additional state items associated with the action.
- @param branchViewCallback Callback for Branch view state.
-
- @deprecated Please use userCompletedAction:action:state instead
- */
-- (void)userCompletedAction:(nullable NSString *)action withState:(nullable NSDictionary *)state withDelegate:(nullable id)branchViewCallback __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Sends a user commerce event to the server.
-
- Use commerce events to track when a user purchases an item in your online store,
- makes an in-app purchase, or buys a subscription. The commerce events are tracked in
- the Branch dashboard along with your other events so you can judge the effectiveness of
- campaigns and other analytics.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param commerceEvent The BNCCommerceEvent that describes the purchase.
- @param metadata Optional metadata you may want add to the event.
- @param completion The optional completion callback.
-
- @deprecated Please use BNCEvent to track commerce events instead.
- */
-- (void) sendCommerceEvent:(BNCCommerceEvent*)commerceEvent
- metadata:(NSDictionary*)metadata
- withCompletion:(void (^) (NSDictionary* _Nullable response, NSError* _Nullable error))completion __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-
#pragma mark - Query methods
-/**
- Branch includes SDK methods to allow retrieval of our Cross Platform ID (CPID) from the client. This results in an asynchronous call being made to Branch’s servers with CPID data returned when possible.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param completion callback with cross platform id data
- */
-- (void)crossPlatformIdDataWithCompletion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
-
/**
Branch includes SDK methods to allow retrieval of our last attributed touch data (LATD) from the client. This results in an asynchronous call being made to Branch's servers with LATD data returned when possible.
Last attributed touch data contains the information associated with that user's last viewed impression or clicked link.
@@ -1582,7 +1480,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param title Title for the spotlight preview item.
@param description Description for the spotlight preview item.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description;
@@ -1592,7 +1489,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param title Title for the spotlight preview item.
@param description Description for the spotlight preview item.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description callback:(callbackWithUrl)callback;
@@ -1603,7 +1499,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param description Description for the spotlight preview item.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1615,7 +1510,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1628,7 +1522,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1642,7 +1535,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param keywords A set of keywords to be used in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
@@ -1655,7 +1547,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param linkParams Additional params to be added to the NSUserActivity. These will also be added to the Branch link.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1669,7 +1560,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1682,7 +1572,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1694,7 +1583,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param thumbnailUrl Url to an image to be used for the thumnbail in spotlight.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param linkParams A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams publiclyIndexable:(BOOL)publiclyIndexable;
@@ -1709,7 +1597,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param keywords A set of keywords to be used in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
@@ -1725,7 +1612,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
@@ -1742,7 +1628,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl canonicalId:(NSString *)canonicalId linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
@@ -1759,7 +1644,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param spotlightCallback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
@@ -1776,7 +1660,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param spotlightCallback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl canonicalId:(NSString *)canonicalId linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
@@ -1785,7 +1668,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param universalObject Branch Universal Object is indexed on spotlight using meta data of spotlight
@param linkProperties Branch Link Properties is used in short url generation
@param completion Callback called when all Branch Universal Objects are indexed. Dynamic url generated and saved as spotlight identifier
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)indexOnSpotlightWithBranchUniversalObject:(BranchUniversalObject *)universalObject
linkProperties:(nullable BranchLinkProperties *)linkProperties
@@ -1805,7 +1687,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Remove Indexing of a Branch Universal Objects, which is indexed using SearchableItem of Apple's CoreSpotlight.
@param universalObject Branch Universal Object which is already indexed using SearchableItem is removed from spotlight
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeSearchableItemWithBranchUniversalObject:(BranchUniversalObject *)universalObject
callback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1813,7 +1694,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Remove Indexing of an array of Branch Universal Objects, which are indexed using SearchableItem of Apple's CoreSpotlight.
@param universalObjects Multiple Branch Universal Objects which are already indexed using SearchableItem are removed from spotlight. Note: The spotlight identifier of Branch Universal Object is used to remove indexing.
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeSearchableItemsWithBranchUniversalObjects:(NSArray *)universalObjects
callback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1821,7 +1701,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
/*
Remove all content spotlight indexed through either Searchable Item or privately indexed Branch Universal Object.
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeAllPrivateContentFromSpotLightWithCallback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1875,12 +1754,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param itemProviders - an array of item providers collected from pasteboard.
@warning This function works with iOS 16 or above.
*/
-- (void)passPasteItemProviders:(NSArray *)itemProviders API_AVAILABLE(ios(16));
+- (void)passPasteItemProviders:(NSArray *)itemProviders API_AVAILABLE(ios(16), macCatalyst(16));
#endif
-+ (void)setLogInAppPurchasesAsEventsEnabled:(BOOL)enabled;
-+ (BOOL)logInAppPurchasesBranchEventsEnabled;
-
@end
NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchActivityItemProvider.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchActivityItemProvider.h
index 9a9068e..f025779 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchActivityItemProvider.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchActivityItemProvider.h
@@ -6,6 +6,8 @@
// Copyright (c) 2015 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
+
#if __has_feature(modules)
@import Foundation;
@import UIKit;
@@ -40,3 +42,4 @@
+ (NSString *)humanReadableChannelWithActivityType:(NSString *)activityString;
@end
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h
index ca536c3..65d127a 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h
@@ -5,6 +5,7 @@
// Created by Derrick Staten on 9/8/15.
// Copyright © 2015 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
#if __has_feature(modules)
@import Foundation;
@@ -26,9 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)init;
-#ifdef __IPHONE_14_0
-- (instancetype)initWithContentType:(UTType *)contentType NS_AVAILABLE(10_16, 14_0);
-#endif
+- (instancetype)initWithContentType:(UTType *)contentType API_AVAILABLE(ios(14), macCatalyst(14));
- (instancetype)initWithItemContentType:(NSString *)type;
@@ -41,3 +40,4 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchCrossPlatformID.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchCrossPlatformID.h
deleted file mode 100644
index 23e2744..0000000
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchCrossPlatformID.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// BranchCrossPlatformID.h
-// Branch
-//
-// Created by Ernest Cho on 9/12/19.
-// Copyright © 2019 Branch, Inc. All rights reserved.
-//
-
-#import
-#import "BNCServerInterface.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface BranchProbabilisticCrossPlatformID : NSObject
-
-@property (nonatomic, copy, readonly) NSString *crossPlatformID;
-@property (nonatomic, copy, readonly) NSNumber *score;
-
-+ (nullable BranchProbabilisticCrossPlatformID *)buildFromJSON:(NSDictionary *)json;
-
-@end
-
-@interface BranchCrossPlatformID : NSObject
-
-@property (nonatomic, copy, readonly) NSString *crossPlatformID;
-@property (nonatomic, copy, readonly) NSString *developerID;
-@property (nonatomic, strong, readonly) NSArray *pastCrossPlatformIDs;
-@property (nonatomic, strong, readonly) NSArray *probabiliticCrossPlatformIDs;
-
-+ (nullable BranchCrossPlatformID *)buildFromJSON:(NSDictionary *)json;
-
-+ (void)requestCrossPlatformIdData:(BNCServerInterface *)serverInterface key:(NSString *)key completion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchDeepLinkingController.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchDeepLinkingController.h
index 70a07dd..b591d74 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchDeepLinkingController.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchDeepLinkingController.h
@@ -16,9 +16,6 @@
@protocol BranchDeepLinkingControllerCompletionDelegate
-- (void)deepLinkingControllerCompleted
- __attribute__((deprecated(("This API is deprecated. Instead, use deepLinkingControllerCompletedFrom: viewController"))));;
-
- (void)deepLinkingControllerCompletedFrom:(UIViewController*) viewController;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchDelegate.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchDelegate.h
index 5eb6da7..8fbf82b 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchDelegate.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchDelegate.h
@@ -6,8 +6,6 @@
// Copyright © 2017 Branch Metrics. All rights reserved.
//
-// TODO: Add documentation
-
#if __has_feature(modules)
@import Foundation;
#else
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchEvent.h
index 86b90fd..484fb52 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchEvent.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchEvent.h
@@ -7,7 +7,6 @@
//
#import "Branch.h"
-#import "BNCCommerceEvent.h"
#import "BranchUniversalObject.h"
#import
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchLogger.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchLogger.h
new file mode 100644
index 0000000..1d05cd8
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchLogger.h
@@ -0,0 +1,51 @@
+//
+// BranchLogger.h
+// Branch
+//
+// Created by Nipun Singh on 2/1/24.
+// Copyright © 2024 Branch, Inc. All rights reserved.
+//
+
+#import
+#import "BNCServerResponse.h"
+
+typedef NS_ENUM(NSUInteger, BranchLogLevel) {
+ BranchLogLevelVerbose, // development
+ BranchLogLevelDebug, // validation and troubleshooting
+ BranchLogLevelWarning, // potential errors and attempts at recovery. SDK may be in a bad state.
+ BranchLogLevelError, // severe errors. SDK is probably in a bad state.
+};
+
+typedef void(^BranchLogCallback)(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error);
+typedef void(^BranchAdvancedLogCallback)(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error, NSMutableURLRequest * _Nullable request, BNCServerResponse * _Nullable response);
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface BranchLogger : NSObject
+
+@property (nonatomic, assign) BOOL loggingEnabled;
+@property (nonatomic, assign) BOOL includeCallerDetails;
+@property (nonatomic, copy, nullable) BranchLogCallback logCallback;
+@property (nonatomic, copy, nullable) BranchAdvancedLogCallback advancedLogCallback;
+@property (nonatomic, assign) BranchLogLevel logLevelThreshold;
+
++ (instancetype _Nonnull)shared;
+
+// For expensive Log messages, check if it's even worth building the log message
+- (BOOL)shouldLog:(BranchLogLevel)level;
+
+// Caller details are relatively expensive, option to disable if the cost is too high.
+- (void)disableCallerDetails;
+
+- (void)logError:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logWarning:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error request:(NSMutableURLRequest * _Nullable)request response:(BNCServerResponse * _Nullable)response;
+- (void)logVerbose:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+
+// default Branch log format
++ (NSString *)formatMessage:(NSString *)message logLevel:(BranchLogLevel)logLevel error:(NSError *)error;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchPasteControl.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchPasteControl.h
index d163c07..2a5737f 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchPasteControl.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchPasteControl.h
@@ -6,20 +6,19 @@
// Copyright © 2022 Branch, Inc. All rights reserved.
//
+#if !TARGET_OS_TV
#import
NS_ASSUME_NONNULL_BEGIN
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000
-API_AVAILABLE(ios(16.0))
+API_AVAILABLE(ios(16.0), macCatalyst(16.0))
@interface BranchPasteControl : UIView
-// This is designated initializer. All other initializers are blocked.
- (instancetype)initWithFrame:(CGRect)frame AndConfiguration:( UIPasteControlConfiguration * _Nullable) config NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
@end
-#endif
NS_ASSUME_NONNULL_END
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchPluginSupport.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchPluginSupport.h
index 71ae754..e344dcc 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchPluginSupport.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchPluginSupport.h
@@ -14,6 +14,12 @@ NS_ASSUME_NONNULL_BEGIN
+ (BranchPluginSupport *)instance;
+/**
+Sets a custom CDN base URL.
+@param url Base URL for CDN endpoints.
+*/
++ (void)setCDNBaseUrl:(NSString *)url;
+
- (NSDictionary *)deviceDescription;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchSDK.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchSDK.h
index e034c3c..c571772 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchSDK.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchSDK.h
@@ -24,8 +24,8 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
#import
#import
#import
+#import
-#import
#import
#import
@@ -49,15 +49,16 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
// Cascading public headers...
-// BranchUniversalObject uses constants defined in BNCCommerceEvent.h
-#import
-// BNCCommerceEvent.h includes BNCServerRequest.h
+// BranchUniversalObject uses constants defined in BNCCurrency.h and BNCProductCategory.h
+#import
+#import
+
#import
// BNCServerRequest includes BNCServerInterface.h
-#import
+//#import
// BNCServerInterface.h includes BNCServerResponse.h and BNCPreferenceHelper.h
#import
-#import
+//#import
// BNCLinkCache.h uses BNCLinkData.h
#import
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchScene.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchScene.h
index a24b2ed..f0397d9 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchScene.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchScene.h
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
Provide support for UIScene. This is only supported on iOS 13.0+, iPadOS 13.0+
*/
-API_AVAILABLE(ios(13.0))
+API_AVAILABLE(ios(13.0), macCatalyst(13.1))
@interface BranchScene : NSObject
+ (BranchScene *)shared;
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchShareLink.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchShareLink.h
index 6946bc8..e121c76 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchShareLink.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchShareLink.h
@@ -6,6 +6,8 @@
// Copyright © 2017 Branch Metrics. All rights reserved.
//
+#if !TARGET_OS_TV
+
#import "BranchUniversalObject.h"
#import
@class BranchShareLink;
@@ -93,7 +95,7 @@ Presents a UIActivityViewController that shares the Branch link.
@property (nonatomic, strong, nullable) NSURL *placeholderURL;
// iOS 13+ : LinkPresentation metadata for the preview header.
-@property (nonatomic, strong, nullable) LPLinkMetadata *lpMetaData API_AVAILABLE(ios(13.0));
+@property (nonatomic, strong, nullable) LPLinkMetadata *lpMetaData API_AVAILABLE(ios(13.0), macCatalyst(13.1));
///Share text for the item. This is not the text in the iOS 13+ preview header.
///This text can be changed later when the `branchShareSheetWillShare:` delegate method is called.
@@ -125,7 +127,6 @@ Presents a UIActivityViewController that shares the Branch link.
///The delegate. See 'BranchShareLinkDelegate' above for a description.
@property (nonatomic, weak) id_Nullable delegate;
-@property void (^ _Nullable completion)(NSString * _Nullable activityType, BOOL completed);
@property void (^ _Nullable completionError)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error);
/**
@@ -135,7 +136,7 @@ Creates and attaches an LPLinkMetadata using the provided title and icon. This m
@param icon The image used for the share sheet preview icon.
*/
-- (void) addLPLinkMetadata:(NSString *_Nullable)title
- icon:(UIImage *_Nullable)icon API_AVAILABLE(ios(13.0));
+- (void) addLPLinkMetadata:(NSString *_Nullable)title icon:(UIImage *_Nullable)icon API_AVAILABLE(ios(13.0), macCatalyst(13.1));
@end
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchUniversalObject.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchUniversalObject.h
index 9712ad4..de57a98 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchUniversalObject.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Headers/BranchUniversalObject.h
@@ -14,7 +14,8 @@
#import
#endif
-#import "BNCCommerceEvent.h"
+#import "BNCProductCategory.h"
+#import "BNCCurrency.h"
#import "BranchLinkProperties.h"
#pragma mark BranchContentIndexMode
@@ -159,17 +160,6 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
- (void)registerView;
- (void)registerViewWithCallback:(void (^_Nullable)(NSDictionary * _Nullable params, NSError * _Nullable error))callback;
-
-/// @name User Event Tracking
-
-
-- (void)userCompletedAction:(nonnull NSString *)action;
- // __attribute__((deprecated(("Use `[BranchEvent logEvent...]` instead."))));
-
-- (void)userCompletedAction:(nonnull NSString *)action withState:(nullable NSDictionary *)state;
- // __attribute__((deprecated(("Use `[BranchEvent logEvent...]` instead."))));
-
-
/// @name Short Links
@@ -195,34 +185,19 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
#if !TARGET_OS_TV
- (void)showShareSheetWithShareText:(nullable NSString *)shareText
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
-
-- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
- andShareText:(nullable NSString *)shareText
- fromViewController:(nullable UIViewController *)viewController
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
+ completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-/// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-// iPad
-- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
- andShareText:(nullable NSString *)shareText
- fromViewController:(nullable UIViewController *)viewController
- anchor:(nullable UIBarButtonItem *)anchor
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
-
-// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
anchor:(nullable UIBarButtonItem *)anchor
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-
/// @name List items on Spotlight
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Info.plist b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Info.plist
index 3ec4d92..90f80fa 100644
Binary files a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Info.plist and b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/Info.plist differ
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/PrivacyInfo.xcprivacy b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/PrivacyInfo.xcprivacy
new file mode 100644
index 0000000..3593fc9
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/PrivacyInfo.xcprivacy
@@ -0,0 +1,73 @@
+
+
+
+
+ NSPrivacyTracking
+
+ NSPrivacyTrackingDomains
+
+ api-safetrack.branch.io
+ api-safetrack-eu.branch.io
+
+ NSPrivacyCollectedDataTypes
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeDeviceID
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising
+ NSPrivacyCollectedDataTypePurposeDeveloperAdvertising
+ NSPrivacyCollectedDataTypePurposeAnalytics
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypePerformanceData
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeOtherDataTypes
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyAccessedAPITypes
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryFileTimestamp
+ NSPrivacyAccessedAPITypeReasons
+
+ C617.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryUserDefaults
+ NSPrivacyAccessedAPITypeReasons
+
+ CA92.1
+
+
+
+
+
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/_CodeSignature/CodeResources b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/_CodeSignature/CodeResources
index f49391c..e4aeb7f 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/_CodeSignature/CodeResources
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-simulator/BranchSDK.framework/_CodeSignature/CodeResources
@@ -6,11 +6,11 @@
Headers/BNCCallbacks.h
- 5u52z7/Y9nEQ/41Imd3Gl0n0DWw=
+ qH9Le3B3R8/gq0fncUjfYJZahpQ=
- Headers/BNCCommerceEvent.h
+ Headers/BNCCurrency.h
- 4vQOSyekPRIbRhopm8y+ectKxtM=
+ DWdII+foPbsuBtA9KR3lG+jtueU=
Headers/BNCInitSessionResponse.h
@@ -30,7 +30,11 @@
Headers/BNCPreferenceHelper.h
- /O5jV+XKwi8LWyJs/TG38OXxrjc=
+ PZymd2rSpEd8bkGpFDpEGFUVn0s=
+
+ Headers/BNCProductCategory.h
+
+ AaGiV3INyAq5tEZ9T5iXLLQKK8c=
Headers/BNCServerInterface.h
@@ -38,11 +42,11 @@
Headers/BNCServerRequest.h
- yNbh9Vnv+yhedOGjG8mg9jHeWBs=
+ qki1SS7nFwijD4fUUF8QQuxf/Os=
Headers/BNCServerRequestQueue.h
- H8WsgzAU5tyWCxFlIossaA/GWVs=
+ FTaiXokWfwT7bBiMUgQ/P97LGBk=
Headers/BNCServerResponse.h
@@ -50,31 +54,27 @@
Headers/Branch.h
- q3GJJ0OwYl4uNhb+Q26qoLb/RLs=
+ lGj2dDTKNlNFORrLx6RG0HGlJZs=
Headers/BranchActivityItemProvider.h
- hZenP9vL0ITQ1csQQdrjPIykugY=
+ nh5gW/dP5SiHNvJrj3NSMqg5xbY=
Headers/BranchCSSearchableItemAttributeSet.h
- oC4kn/f8Q8tpqA5sB9p0nYSu2gQ=
-
- Headers/BranchCrossPlatformID.h
-
- Hc8PaYITE94OKttr2l1HRPmpUcA=
+ vZGZHAAgrgiE6MIktsv6bzYVD4c=
Headers/BranchDeepLinkingController.h
- Bdbq5rXsooZqObneX+royX3FHmI=
+ NPl5KRUFgo5TOEBosezgXgVe+9k=
Headers/BranchDelegate.h
- LpX0xLjvKkIiA8pAWqwp5VRj+FU=
+ omZ+TWvnhqLp1JgQLtumLeWW6T8=
Headers/BranchEvent.h
- 1lSPBKT4gNpmfHrpW7kIBgFFcIw=
+ 9AKheC/dhBmcW6/nsjs/jYVVPuE=
Headers/BranchLastAttributedTouchData.h
@@ -84,13 +84,17 @@
hIsJ+kneDBHZSicC/C4fMiqTjug=
+ Headers/BranchLogger.h
+
+ UNufxjMcTuaVMOzLOD+bKANLtzE=
+
Headers/BranchPasteControl.h
- w3+jAyD1nPtGlU2LKu0bvCgmMQo=
+ oipFRcgziaqpRkXrhpjLVZgnQIY=
Headers/BranchPluginSupport.h
- XEp7jRVPmrcMUfEUQc6yFFK4bSw=
+ hEgk02337B5WqXwPZnVZD5T3HNA=
Headers/BranchQRCode.h
@@ -98,28 +102,32 @@
Headers/BranchSDK.h
- 6AVWUp76xyqMPhXJzt0YQv7Tsmg=
+ Yw6kXS8KqhWa45VHkXqaBl9odtw=
Headers/BranchScene.h
- n9P1DKQI0pWvVG/lH3UB5vWN+1A=
+ PLEvt9VN5Be/WgPV/jEbpzG/yJE=
Headers/BranchShareLink.h
- dmtmD4yxoujHWmfGm6niu4T6lIk=
+ 3wDuFCHXh3zBCHsWFRQJWmXJ3mw=
Headers/BranchUniversalObject.h
- 5cwJS8J+hqodwWVgUUO7GIGX/0M=
+ ITbjVjz2msll4Cf13fO+9AhAp/U=
Info.plist
- i/QVVx3dP4RazvONmSLF2a1rHIA=
+ UVDcfGrLT3/F6k9ExkZEDObhFqI=
Modules/module.modulemap
JQZO2rYXcD4A+2L/UXX47qXxX80=
+ PrivacyInfo.xcprivacy
+
+ Hx6pUuco6V0fqBEtxF7cHpjY2D8=
+
files2
@@ -127,14 +135,14 @@
hash2
- 5kunN/MhAv5Ja5QLUszrNpppkSgQWXVS1MawgeFadmM=
+ ZQHBeODx5vwfSDqFeFZ3mPuYHoNkf9ovP93FSIGK/hk=
- Headers/BNCCommerceEvent.h
+ Headers/BNCCurrency.h
hash2
- Do40zvRKw24xq8DYe6FSBxyHKheGq6Yry9jJzCnQ51k=
+ 435BEvCmHoJyMnWBQiuR7ehrIyUqorDzJuKvwYoYBgg=
Headers/BNCInitSessionResponse.h
@@ -169,7 +177,14 @@
hash2
- /BmZzXg9EWkQfq6oqsLwfUttHerSQdj/jiLjZ+Rfxnw=
+ pI/mYHdGsRIYfjH1UOjGd0T0GDNdyP18OaHVdAdLyjQ=
+
+
+ Headers/BNCProductCategory.h
+
+ hash2
+
+ IhR667CAZ5BhpEM92jhwKpNPnx3Vikwx/+fDv90rdXk=
Headers/BNCServerInterface.h
@@ -183,14 +198,14 @@
hash2
- aOPDI53SkKBlc20iJ9dY3u0zDK3naimM2Ld1t4NHTRo=
+ 7KCfdg9Tx2TQEn4o1BXZhQMqUu/C0oT6Pauk0AVvffk=
Headers/BNCServerRequestQueue.h
hash2
- io7nwybnYVHG8S+YPRU8IIa5NpnrDvOGoBmQ2Ghu4k4=
+ CcsMvZQxWWORDaP2MikMbJVlrlzmjxrc7Q4rdivud4g=
Headers/BNCServerResponse.h
@@ -204,49 +219,42 @@
hash2
- 3gQoO35hxm+keXfULKfiQuyLRUXac7hxcgLsWUz+jHU=
+ /xGajrq8F9rhBA9hapvunLsxrPKdTClt9HsetzRbwsA=
Headers/BranchActivityItemProvider.h
hash2
- qEvh0DNBFKP9PvdpHekWUpGfYaDSENL0gp7CP0beVvU=
+ b9kWQ/IzlXEH6YIect1s77TzUxEU5apcUaQV9k63HIs=
Headers/BranchCSSearchableItemAttributeSet.h
hash2
- 0eCjoFb/ytOJPz4ZtYCLY+IyzNci6REutijF1O1HiNQ=
-
-
- Headers/BranchCrossPlatformID.h
-
- hash2
-
- +YnYOGIDdjthLSab9pjxPPfDHF8zp8DQz++T3ygFafo=
+ 68JE3wmk22RO2wIl2MQoWf4g4xkDSp2YNcmcaZwqKvA=
Headers/BranchDeepLinkingController.h
hash2
- LiZ4BrevGa93CUbb7dVFhwvMkYDe9qlWwHUWmyXHK+g=
+ porQ0PDYlCiRl8nEjmiDVZl0u5EbDYBfiDe9eZzCF+M=
Headers/BranchDelegate.h
hash2
- JBgLpih6h8a9EBelonnaBq89AGVdXRPSuk3PjKsH10M=
+ Wl7uoKainOVHMgEYcKnZN1dxV6COyWWF9uHSuNNA8AI=
Headers/BranchEvent.h
hash2
- h89kuzBbRRoYkdCYlBXgtuc0P9MVGGnu+dHOhCXIYSI=
+ kBlAqil4AtcnJWA4UtaVsqHeq0MtAqwzNtCvaVxI4Y0=
Headers/BranchLastAttributedTouchData.h
@@ -263,18 +271,25 @@
akm4O0qdwMvJOS1cWIaDgOdxO8tEMadACLeJShRLjR0=
+ Headers/BranchLogger.h
+
+ hash2
+
+ 2L9k0g1Vl7vDnuujARddIFaCrlHBFSuaqEeqHcvHK4c=
+
+
Headers/BranchPasteControl.h
hash2
- v1w/+r04HLOXmjkjIcrFK0QnhI05oET1v1sX3sQ5V2A=
+ SMJw/B6X12wpT6gzStD/tfsNuDGmYqwShqB8dC9Uy78=
Headers/BranchPluginSupport.h
hash2
- DT2mnB+cYTH8LPuK19cs+N9HnW0duwKZkVinNPJy4n0=
+ LgH4dNTnpnVyBJQsk5TA/LE97NAuT4wyS4L1EbDssMk=
Headers/BranchQRCode.h
@@ -288,28 +303,28 @@
hash2
- zbr3a8clWlJdYC3Gy5SpfgnjO0Qw0vrRssWQWQvkqfs=
+ 95Bl17Hq+8tWRgcCP/NB/+509dUour8tL6Q18pR7yDk=
Headers/BranchScene.h
hash2
- BkB1DEVsP7j/DaQL3ePiuJHnZzwOOmaw50KWr1Fkiw4=
+ HiOUg1chbfRyFWeeN1m0mmGI8hDsEoOMOohNDSHuZiI=
Headers/BranchShareLink.h
hash2
- SA6KwXeJpnaB/yD5ATwur5eFIDFVF3I1IFRe4zEEY5U=
+ 92c4KiHHPhz7JRFOiz0sVfmz5yl3xa5/QZFyRF9JpKU=
Headers/BranchUniversalObject.h
hash2
- fd9VfZyk8PgZl99n1BKjSX8FcfJ9vGpw3gNdi8WBOV4=
+ s4D7OujSCQGh4Vkm+Jh8d/F6A4XDTQNd4MYMxNmyChQ=
Modules/module.modulemap
@@ -319,6 +334,13 @@
yivhgxId8imQPmUz0lfsf26b3qvmoCkAn8OiajbK3R4=
+ PrivacyInfo.xcprivacy
+
+ hash2
+
+ t5RMx2YMjRcH6OpB85kAj8p6tfCFAQkb6jAhJCAnK5U=
+
+
rules
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/BranchSDK b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/BranchSDK
index fefadd5..7fbf611 100755
Binary files a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/BranchSDK and b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/BranchSDK differ
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCallbacks.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCallbacks.h
index 185229a..88669ac 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCallbacks.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCallbacks.h
@@ -20,3 +20,4 @@ typedef void (^callbackWithStatus) (BOOL changed, NSError * _Nullable error);
typedef void (^callbackWithList) (NSArray * _Nullable list, NSError * _Nullable error);
typedef void (^callbackWithUrlAndSpotlightIdentifier) (NSString * _Nullable url, NSString * _Nullable spotlightIdentifier, NSError * _Nullable error);
typedef void (^callbackWithBranchUniversalObject) (BranchUniversalObject * _Nullable universalObject, BranchLinkProperties * _Nullable linkProperties, NSError * _Nullable error);
+typedef void (^callbackWithData) (NSData * _Nullable data, NSError * _Nullable error);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCommerceEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCurrency.h
similarity index 73%
rename from BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCommerceEvent.h
rename to BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCurrency.h
index 661fbf5..868427e 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/ios-arm64_x86_64-maccatalyst/BranchSDK.framework/Versions/A/Headers/BNCCommerceEvent.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCCurrency.h
@@ -1,44 +1,14 @@
//
-// BNCCommerceEvent.h
-// Branch-SDK
+// BNCCurrency.h
+// Branch
//
-// Created by Edward Smith on 12/14/16.
-// Copyright (c) 2016 Branch Metrics. All rights reserved.
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
//
-#import "BNCServerRequest.h"
+#import
-#pragma mark BNCProductCategory
-
-typedef NSString*const BNCProductCategory NS_STRING_ENUM;
-
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
-
-NSArray*_Nonnull BNCProductCategoryAllCategories(void);
-
-#pragma mark - BNCCurrency
-
-typedef NSString*const BNCCurrency NS_STRING_ENUM;
+typedef NSString * const BNCCurrency NS_STRING_ENUM;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAED;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAFN;
@@ -234,39 +204,3 @@ FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZAR;
FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZMW;
NSArray*_Nonnull BNCCurrencyAllCurrencies(void);
-
-#pragma mark - BNCProduct
-
-@interface BNCProduct : NSObject
-@property (nonatomic, copy) NSString*_Nullable sku;
-@property (nonatomic, copy) NSString*_Nullable name;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable price;
-@property (nonatomic, strong) NSNumber*_Nullable quantity;
-@property (nonatomic, copy) NSString*_Nullable brand;
-@property (nonatomic, copy) BNCProductCategory _Nullable category;
-@property (nonatomic, copy) NSString*_Nullable variant;
-@end
-
-#pragma mark - BNCCommerceEvent
-
-//__attribute__((deprecated(("Please use BranchEvent to track commerce events."))))
-@interface BNCCommerceEvent : NSObject
-@property (nonatomic, strong) NSDecimalNumber*_Nullable revenue;
-@property (nonatomic, copy) BNCCurrency _Nullable currency;
-@property (nonatomic, copy) NSString*_Nullable transactionID;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable shipping;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable tax;
-@property (nonatomic, copy) NSString*_Nullable coupon;
-@property (nonatomic, copy) NSString*_Nullable affiliation;
-@property (nonatomic, strong) NSArray*_Nullable products;
-@end
-
-
-@interface BranchCommerceEventRequest : BNCServerRequest
-
-- (instancetype _Nonnull) initWithCommerceEvent:(BNCCommerceEvent*_Nonnull)commerceEvent
- metadata:(NSDictionary*_Nullable)dictionary
- completion:
- (void (^_Nullable)(NSDictionary*_Nullable response, NSError*_Nullable error))callBack;
-
-@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCPreferenceHelper.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCPreferenceHelper.h
index dc8fe57..464d550 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCPreferenceHelper.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCPreferenceHelper.h
@@ -40,8 +40,6 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (copy, nonatomic) NSString *sessionParams;
@property (copy, nonatomic) NSString *installParams;
@property (assign, nonatomic) BOOL isDebug;
-@property (assign, nonatomic) BOOL checkedFacebookAppLinks;
-@property (assign, nonatomic) BOOL checkedAppleSearchAdAttribution;
@property (nonatomic, assign, readwrite) BOOL appleAttributionTokenChecked;
@property (nonatomic, assign, readwrite) BOOL hasOptedInBefore;
@property (nonatomic, assign, readwrite) BOOL hasCalledHandleATTAuthorizationStatus;
@@ -50,25 +48,18 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSTimeInterval timeout;
@property (copy, nonatomic) NSString *externalIntentURI;
@property (strong, nonatomic) NSMutableDictionary *savedAnalyticsData;
-@property (strong, nonatomic) NSDictionary *appleSearchAdDetails;
-@property (assign, nonatomic) BOOL appleSearchAdNeedsSend;
@property (copy, nonatomic) NSString *lastSystemBuildVersion;
@property (copy, nonatomic) NSString *browserUserAgentString;
@property (copy, nonatomic) NSString *referringURL;
-@property (copy, nonatomic) NSString *branchAPIURL;
@property (assign, nonatomic) BOOL limitFacebookTracking;
@property (strong, nonatomic) NSDate *previousAppBuildDate;
@property (assign, nonatomic, readwrite) BOOL disableAdNetworkCallouts;
-@property (strong, nonatomic, readwrite) NSURL *faceBookAppLink;
-
@property (nonatomic, copy, readwrite) NSString *patternListURL;
@property (strong, nonatomic) NSArray *savedURLPatternList;
@property (assign, nonatomic) NSInteger savedURLPatternListVersion;
@property (assign, nonatomic) BOOL dropURLOpen;
-@property (assign, nonatomic) BOOL sendCloseRequests;
-
@property (assign, nonatomic) BOOL trackingDisabled;
@property (copy, nonatomic) NSString *referrerGBRAID;
@@ -80,15 +71,19 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSInteger highestConversionValueSent;
@property (strong, nonatomic) NSDate *firstAppLaunchTime;
@property (assign, nonatomic) BOOL invokeRegisterApp;
-@property (assign, nonatomic) BOOL logInAppPurchasesAsBranchEvents;
+
+@property (assign, nonatomic) BOOL eeaRegion;
+@property (assign, nonatomic) BOOL adPersonalizationConsent;
+@property (assign, nonatomic) BOOL adUserDataUsageConsent;
+
+@property (nonatomic, assign) NSString *attributionLevel;
+
- (void) clearTrackingInformation;
+ (BNCPreferenceHelper *)sharedInstance;
-- (NSString *)getAPIBaseURL;
-- (NSString *)getAPIURL:(NSString *)endpoint;
-- (NSString *)getEndpointFromURL:(NSString *)url;
+- (void)setPatternListURL:(NSString *)url;
- (void)setRequestMetadataKey:(NSString *)key value:(NSObject *)value;
- (NSMutableDictionary *)requestMetadataDictionary;
@@ -107,5 +102,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
- (NSMutableString*) sanitizedMutableBaseURL:(NSString*)baseUrl;
- (void) synchronize; // Flushes preference queue to persistence.
+ (void) clearAll;
+- (BOOL) eeaRegionInitialized;
+- (BOOL) attributionLevelInitialized;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCProductCategory.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCProductCategory.h
new file mode 100644
index 0000000..eb25589
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCProductCategory.h
@@ -0,0 +1,35 @@
+//
+// BNCProductCategory.h
+// Branch
+//
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
+//
+
+#import
+
+typedef NSString * const BNCProductCategory NS_STRING_ENUM;
+
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
+
+NSArray*_Nonnull BNCProductCategoryAllCategories(void);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCServerRequest.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCServerRequest.h
index 5da9f76..9b65ff5 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCServerRequest.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCServerRequest.h
@@ -10,7 +10,11 @@
@interface BNCServerRequest : NSObject
+@property (nonatomic, copy, readwrite) NSString *requestUUID;
+@property (nonatomic, copy, readwrite) NSNumber *requestCreationTimeStamp;
+
- (void)makeRequest:(BNCServerInterface *)serverInterface key:(NSString *)key callback:(BNCServerCallback)callback;
- (void)processResponse:(BNCServerResponse *)response error:(NSError *)error;
- (void)safeSetValue:(NSObject *)value forKey:(NSString *)key onDict:(NSMutableDictionary *)dict;
++ (NSString *) generateRequestUUIDFromDate:(NSDate *) localDate;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCServerRequestQueue.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCServerRequestQueue.h
index ff391d4..1c9d939 100755
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCServerRequestQueue.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BNCServerRequestQueue.h
@@ -22,12 +22,8 @@
- (NSInteger)queueDepth;
- (BOOL)containsInstallOrOpen;
-- (BOOL)removeInstallOrOpen;
-- (BOOL)containsClose;
-- (BranchOpenRequest *)moveInstallOrOpenToFront:(NSInteger)networkCount;
-- (void)persistEventually;
-- (void)persistImmediately;
+- (BranchOpenRequest *)findExistingInstallOrOpen;
+ (id)getInstance;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/Branch.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/Branch.h
index f35296b..f82e60d 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/Branch.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/Branch.h
@@ -16,7 +16,6 @@
// Public classes that should be in the umbrella header
#import "BranchLinkProperties.h"
#import "BranchUniversalObject.h"
-#import "BranchCrossPlatformID.h"
#import "BranchLastAttributedTouchData.h"
#import "BranchDeepLinkingController.h"
#import "BranchDelegate.h"
@@ -40,15 +39,14 @@
#import "BNCServerInterface.h"
#import "BNCServerRequestQueue.h"
+#import "BranchLogger.h"
// Not used by Branch singleton public API
//#import "BranchEvent.h"
//#import "BranchScene.h"
//#import "BranchPluginSupport.h"
//#import "BranchQRCode.h"
-//#import "BNCCommerceEvent.h"
//#import "BNCConfig.h"
//#import "NSError+Branch.h"
-//#import "BNCLog.h"
//#import "BranchConstants.h"
//#import "UIViewController+Branch.h"
@@ -153,12 +151,6 @@ extern NSString * __nonnull const BNCShareCompletedEvent;
// Spotlight Constant
extern NSString * __nonnull const BNCSpotlightFeature;
-#pragma mark - Branch Enums
-typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- BranchMostRecentFirst,
- BranchLeastRecentFirst
-};
-
#pragma mark - BranchLink
@interface BranchLink : NSObject
@@ -263,7 +255,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
+ (BOOL)branchKeyIsSet;
-/// TODO: Add documentation.
@property (weak, nullable) NSObject* delegate;
//@property (strong, nonatomic, nullable) BranchEvent *testEvent;
@@ -573,18 +564,28 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
///--------------------
/**
- Enable debug messages to NSLog.
+ Enable debug messages to os_log.
*/
-- (void)enableLogging;
++ (void)enableLogging;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withAdvancedCallback:(nullable BranchAdvancedLogCallback)callback;
+
+// The new logging system is independent of the Branch singleton and can be called earlier.
+- (void)enableLogging __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
+- (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
/**
- setDebug is deprecated and all functionality has been disabled.
+ Send requests to EU endpoints.
- If you wish to enable logging, please invoke enableLogging.
-
- If you wish to simulate installs, please see add a Test Device (https://help.branch.io/using-branch/docs/adding-test-devices) then reset your test device's data (https://help.branch.io/using-branch/docs/adding-test-devices#section-resetting-your-test-device-data).
+ This feature must also be enabled on the server side, otherwise the server will drop requests. Contact your account manager for details.
*/
-- (void)setDebug __attribute__((deprecated(("setDebug is replaced by enableLogging and test devices. https://help.branch.io/using-branch/docs/adding-test-devices"))));
+- (void)useEUEndpoints;
+
+/**
+Sets a custom base URL for all calls to the Branch API.
+@param url Base URL that the Branch API will use.
+*/
++ (void)setAPIUrl:(NSString *)url;
/**
@brief Use the `validateSDKIntegration` method as a debugging aid to assure that you've
@@ -646,36 +647,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
These are ICU standard regular expressions.
*/
-@property (copy, nullable) NSArray/*_Nullable*/* urlPatternsToIgnore;
-
-/**
- Register your Facebook SDK's FBSDKAppLinkUtility class to be used by Branch for deferred deep linking from their platform
-
- @param FBSDKAppLinkUtility - call [FBSDKAppLinkUtility class] after importing #import
- */
-- (void)registerFacebookDeepLinkingClass:(id)FBSDKAppLinkUtility;
-
-/**
- Check for Apple Search Ads before initialization.
-
- This will usually add less than 1 second on first time startup. Up to 3.5 seconds if Apple Search Ads fails to respond.
- */
-- (void)delayInitToCheckForSearchAds;
-
-/**
- Increases the amount of time the SDK waits for Apple Search Ads to respond.
- The default wait has a better than 90% success rate, however waiting longer can improve the success rate.
-
- This will increase the usual delay to about 3 seconds on first time startup. Up to about 15 seconds if Apple Search Ads fails to respond.
- */
-- (void)useLongerWaitForAppleSearchAds;
-
-/**
- Ignores Apple Search Ads test data.
-
- Apple returns test data for all calls made to the Apple Search Ads API on developer and testflight builds.
- */
-- (void)ignoreAppleSearchAdsTestData;
+- (void)setUrlPatternsToIgnore:(NSArray *)urlsToIgnore;
/**
Checks the pasteboard (clipboard) for a Branch Link on App Install.
@@ -772,30 +744,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
- (void)disableAdNetworkCallouts:(BOOL)disableCallouts;
-/**
- Specify that Branch should NOT use an invisible SFSafariViewController to attempt cookie-based matching upon install.
- If you call this method, we will fall back to using our pool of cookie-IDFA pairs for matching.
- */
-- (void)disableCookieBasedMatching __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
-
-/**
- TL;DR: If you're using a version of the Facebook SDK that prevents application:didFinishLaunchingWithOptions: from
- returning YES/true when a Universal Link is clicked, you should enable this option.
-
- Long explanation: in application:didFinishLaunchingWithOptions: you should choose one of the following:
-
- 1. Always `return YES;`, and do *not* invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
- 2. Allow the Facebook SDK to determine whether `application:didFinishLaunchingWithOptions:` returns `YES` or `NO`,
- and invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
-
- The reason for this second option is that the Facebook SDK will return `NO` if a Universal Link opens the app
- but that UL is not a Facebook UL. Some developers prefer not to modify
- `application:didFinishLaunchingWithOptions:` to always return `YES` and should use this method instead.
- */
-- (void)accountForFacebookSDKPreventingAppLaunch __attribute__((deprecated(("Please ensure application:didFinishLaunchingWithOptions: always returns YES/true instead of using this method. It will be removed in a future release."))));
-
-- (void)suppressWarningLogs __attribute__((deprecated(("suppressWarningLogs is deprecated and all functionality has been disabled. If you wish to turn off all logging, please invoke BNCLogSetDisplayLevel(BNCLogLevelNone)."))));
-
/**
For use by other Branch SDKs
@@ -817,19 +765,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Key-value pairs to be included in the metadata on every request.
@param key String to be included in request metadata
- @param value Object to be included in request metadata
+ @param value Value to be included in request metadata
*/
-- (void)setRequestMetadataKey:(NSString *)key value:(nullable id)value;
-
-- (void)enableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
-
-- (void)disableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
-
-- (nullable NSURL *)getUrlForOnboardingWithRedirectUrl:(nullable NSString *)redirectUrl __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));;
-
-- (void)resumeInit __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
-
-- (void)setInstallRequestDelay:(NSInteger)installRequestDelay __attribute__((deprecated(("No longer valid with new init process"))));
+- (void)setRequestMetadataKey:(NSString *)key value:(nullable NSString *)value;
/**
Disables the Branch SDK from tracking the user. This is useful for GDPR privacy compliance.
@@ -842,15 +780,13 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
* Opening Branch deep links with an explicit URL will work.
* Deferred deep linking will not work.
* Generating short links will not work and will return long links instead.
- * Sending user tracking events such as `userCompletedAction`, `BranchCommerceEvents`, and
- `BranchEvents` will fail.
- * User rewards and credits will not work.
+ * Sending user tracking events such as `BranchEvents` will fail.
* Setting a user identity and logging a user identity out will not work.
@param disabled If set to `true` then tracking will be disabled.
@warning This will prevent most of the Branch SDK functionality.
*/
-+ (void) setTrackingDisabled:(BOOL)disabled;
++ (void)setTrackingDisabled:(BOOL)disabled __attribute__((deprecated("This method has been deprecated. Use `setConsumerProtectionAttributionLevel:` with `BranchAttributionLevelNone` instead.")));
///Returns the current tracking state.
+ (BOOL) trackingDisabled;
@@ -867,6 +803,74 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
+ (void) setReferrerGbraidValidityWindow:(NSTimeInterval) validityWindow;
+/*
+
+ Sets the value of parameters required by Google Conversion APIs for DMA Compliance in EEA region.
+
+ @param eeaRegion -(BOOL) If European regulations, including the DMA, apply to this user and conversion.
+ @param adPersonalizationConsent - (BOOL) If End user has granted/denied ads personalization consent.
+ @param adUserDataUsageConsent - (BOOL) If User has granted/denied consent for 3P transmission of user level data for ads
+ */
++ (void) setDMAParamsForEEA:(BOOL) eeaRegion AdPersonalizationConsent:(BOOL) adPersonalizationConsent AdUserDataUsageConsent:(BOOL) adUserDataUsageConsent;
+
+
+/**
+ * Enumeration representing different levels of consumer protection attribution levels
+ */
+typedef NSString * BranchAttributionLevel NS_STRING_ENUM;
+
+/**
+ * Full:
+ * - Advertising Ids
+ * - Device Ids
+ * - Local IP
+ * - Persisted Non-Aggregate Ids
+ * - Persisted Aggregate Ids
+ * - Ads Postbacks / Webhooks
+ * - Data Integrations Webhooks
+ * - SAN Callouts
+ * - Privacy Frameworks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelFull;
+
+/**
+ * Reduced:
+ * - Device Ids
+ * - Local IP
+ * - Data Integrations Webhooks
+ * - Privacy Frameworks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelReduced;
+
+/**
+ * Minimal:
+ * - Device Ids
+ * - Local IP
+ * - Data Integrations Webhooks
+ * - Deep Linking
+ */
+extern BranchAttributionLevel const BranchAttributionLevelMinimal;
+
+/**
+ * None:
+ * - Only Deterministic Deep Linking
+ * - Disables all other Branch requests
+ */
+extern BranchAttributionLevel const BranchAttributionLevelNone;
+
+
+/**
+ Sets the consumer protection attribution level.
+
+ @param level The desired consumer protection attribution level, represented by the BranchAttributionLevel enum (Full, Reduced, Minimal, None).
+ @discussion This method allows you to control the amount and type of data collected and transmitted by Branch.
+ Adjusting the consumer protection attribution level can help you comply with privacy regulations and meet your data collection needs.
+ */
+- (void)setConsumerProtectionAttributionLevel:(BranchAttributionLevel)level;
+
+
#pragma mark - Session Item methods
///--------------------
@@ -955,114 +959,8 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- (void)logoutWithCallback:(nullable callbackWithStatus)callback;
-#pragma mark - Credit methods
-
-///--------------
-/// @name Credits
-///--------------
-
-- (void)loadRewardsWithCallback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count __deprecated_msg("Referral feature has been deprecated. This is no-op.");;
-
-- (void)redeemRewards:(NSInteger)count callback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count forBucket:(nullable NSString *)bucket __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)redeemRewards:(NSInteger)count forBucket:(nullable NSString *)bucket callback:(nullable callbackWithStatus)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (NSInteger)getCredits __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (NSInteger)getCreditsForBucket:(NSString *)bucket __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryWithCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryForBucket:(nullable NSString *)bucket andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryAfter:(nullable NSString *)creditTransactionId number:(NSInteger)length order:(BranchCreditHistoryOrder)order andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-- (void)getCreditHistoryForBucket:(nullable NSString *)bucket after:(nullable NSString *)creditTransactionId number:(NSInteger)length order:(BranchCreditHistoryOrder)order andCallback:(nullable callbackWithList)callback __deprecated_msg("Referral feature has been deprecated. This is no-op.");
-
-#pragma mark - Action methods
-
-///--------------
-/// @name Actions
-///--------------
-
-/**
- Send a user action to the server. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- */
-- (void)userCompletedAction:(nullable NSString *)action __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Send a user action to the server with additional state items. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- @param state The additional state items associated with the action.
- */
-- (void)userCompletedAction:(nullable NSString *)action withState:(nullable NSDictionary *)state __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Send a user action to the server with additional state items. Some examples actions could be things like `viewed_personal_welcome`, `purchased_an_item`, etc.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param action The action string.
- @param state The additional state items associated with the action.
- @param branchViewCallback Callback for Branch view state.
-
- @deprecated Please use userCompletedAction:action:state instead
- */
-- (void)userCompletedAction:(nullable NSString *)action withState:(nullable NSDictionary *)state withDelegate:(nullable id)branchViewCallback __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-/**
- Sends a user commerce event to the server.
-
- Use commerce events to track when a user purchases an item in your online store,
- makes an in-app purchase, or buys a subscription. The commerce events are tracked in
- the Branch dashboard along with your other events so you can judge the effectiveness of
- campaigns and other analytics.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param commerceEvent The BNCCommerceEvent that describes the purchase.
- @param metadata Optional metadata you may want add to the event.
- @param completion The optional completion callback.
-
- @deprecated Please use BNCEvent to track commerce events instead.
- */
-- (void) sendCommerceEvent:(BNCCommerceEvent*)commerceEvent
- metadata:(NSDictionary*)metadata
- withCompletion:(void (^) (NSDictionary* _Nullable response, NSError* _Nullable error))completion __attribute__((deprecated(("Please use BranchEvent to track commerce events. You can refer to https://help.branch.io/developers-hub/docs/tracking-commerce-content-lifecycle-and-custom-events for additional information."))));
-
-
#pragma mark - Query methods
-/**
- Branch includes SDK methods to allow retrieval of our Cross Platform ID (CPID) from the client. This results in an asynchronous call being made to Branch’s servers with CPID data returned when possible.
-
- This method should only be invoked after initSession completes, either within the callback or after a delay.
- If it is invoked before, then we will silently initialize the SDK before the callback has been set, in order to carry out this method's required task.
- As a result, you may experience issues where the initSession callback does not fire. Again, the solution to this issue is to only invoke this method after you have invoked initSession.
-
- @param completion callback with cross platform id data
- */
-- (void)crossPlatformIdDataWithCompletion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
-
/**
Branch includes SDK methods to allow retrieval of our last attributed touch data (LATD) from the client. This results in an asynchronous call being made to Branch's servers with LATD data returned when possible.
Last attributed touch data contains the information associated with that user's last viewed impression or clicked link.
@@ -1582,7 +1480,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param title Title for the spotlight preview item.
@param description Description for the spotlight preview item.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description;
@@ -1592,7 +1489,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param title Title for the spotlight preview item.
@param description Description for the spotlight preview item.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description callback:(callbackWithUrl)callback;
@@ -1603,7 +1499,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param description Description for the spotlight preview item.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1615,7 +1510,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1628,7 +1522,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable callback:(callbackWithUrl)callback;
@@ -1642,7 +1535,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param keywords A set of keywords to be used in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
@@ -1655,7 +1547,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param linkParams Additional params to be added to the NSUserActivity. These will also be added to the Branch link.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1669,7 +1560,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1682,7 +1572,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param keywords A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords;
@@ -1694,7 +1583,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param thumbnailUrl Url to an image to be used for the thumnbail in spotlight.
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
@param linkParams A set of keywords to be used in Apple's search index.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams publiclyIndexable:(BOOL)publiclyIndexable;
@@ -1709,7 +1597,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
@param keywords A set of keywords to be used in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords callback:(callbackWithUrl)callback;
@@ -1725,7 +1612,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
@@ -1742,7 +1628,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param callback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl canonicalId:(NSString *)canonicalId linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
@@ -1759,7 +1644,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param spotlightCallback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
@@ -1776,7 +1660,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param keywords A set of keywords to be used in Apple's search index.
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
@param spotlightCallback Callback called with the Branch url this will fallback to.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl canonicalId:(NSString *)canonicalId linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
@@ -1785,7 +1668,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param universalObject Branch Universal Object is indexed on spotlight using meta data of spotlight
@param linkProperties Branch Link Properties is used in short url generation
@param completion Callback called when all Branch Universal Objects are indexed. Dynamic url generated and saved as spotlight identifier
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)indexOnSpotlightWithBranchUniversalObject:(BranchUniversalObject *)universalObject
linkProperties:(nullable BranchLinkProperties *)linkProperties
@@ -1805,7 +1687,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Remove Indexing of a Branch Universal Objects, which is indexed using SearchableItem of Apple's CoreSpotlight.
@param universalObject Branch Universal Object which is already indexed using SearchableItem is removed from spotlight
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeSearchableItemWithBranchUniversalObject:(BranchUniversalObject *)universalObject
callback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1813,7 +1694,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
Remove Indexing of an array of Branch Universal Objects, which are indexed using SearchableItem of Apple's CoreSpotlight.
@param universalObjects Multiple Branch Universal Objects which are already indexed using SearchableItem are removed from spotlight. Note: The spotlight identifier of Branch Universal Object is used to remove indexing.
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeSearchableItemsWithBranchUniversalObjects:(NSArray *)universalObjects
callback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1821,7 +1701,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
/*
Remove all content spotlight indexed through either Searchable Item or privately indexed Branch Universal Object.
@param completion Called when the request has been journaled by the index (“journaled” means that the index makes a note that it has to perform this operation). Note that the request may not have completed.
- @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
*/
- (void)removeAllPrivateContentFromSpotLightWithCallback:(void (^_Nullable)(NSError * _Nullable error))completion;
@@ -1875,12 +1754,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
@param itemProviders - an array of item providers collected from pasteboard.
@warning This function works with iOS 16 or above.
*/
-- (void)passPasteItemProviders:(NSArray *)itemProviders API_AVAILABLE(ios(16));
+- (void)passPasteItemProviders:(NSArray *)itemProviders API_AVAILABLE(ios(16), macCatalyst(16));
#endif
-+ (void)setLogInAppPurchasesAsEventsEnabled:(BOOL)enabled;
-+ (BOOL)logInAppPurchasesBranchEventsEnabled;
-
@end
NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchActivityItemProvider.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchActivityItemProvider.h
new file mode 100644
index 0000000..f025779
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchActivityItemProvider.h
@@ -0,0 +1,45 @@
+//
+// BranchActivityItemProvider.h
+// Branch-TestBed
+//
+// Created by Scott Hasbrouck on 1/28/15.
+// Copyright (c) 2015 Branch Metrics. All rights reserved.
+//
+
+#if !TARGET_OS_TV
+
+#if __has_feature(modules)
+@import Foundation;
+@import UIKit;
+#else
+#import
+#import
+#endif
+
+/**
+ The `BranchActivityItemProviderDelegate` allows you to customize the link parameters based on the channel chosen by the user.
+ This is useful in the case that you want to add specific items only for Facebook or Twitter for instance.
+
+ Every item is optional, and if not provided, will fallback to the item provided with the constructor.
+ */
+@protocol BranchActivityItemProviderDelegate
+
+@optional
+- (NSDictionary *)activityItemParamsForChannel:(NSString *)channel;
+- (NSArray *)activityItemTagsForChannel:(NSString *)channel;
+- (NSString *)activityItemFeatureForChannel:(NSString *)channel;
+- (NSString *)activityItemStageForChannel:(NSString *)channel;
+- (NSString *)activityItemCampaignForChannel:(NSString *)channel;
+- (NSString *)activityItemAliasForChannel:(NSString *)channel;
+- (NSString *)activityItemOverrideChannelForChannel:(NSString *)channel;
+
+@end
+
+@interface BranchActivityItemProvider : UIActivityItemProvider
+
+- (id)initWithParams:(NSDictionary *)params andTags:(NSArray *)tags andFeature:(NSString *)feature andStage:(NSString *)stage andAlias:(NSString *)alias __attribute__((deprecated(("Use the delegate method instead"))));;
+- (id)initWithParams:(NSDictionary *)params tags:(NSArray *)tags feature:(NSString *)feature stage:(NSString *)stage campaign:(NSString *)campaign alias:(NSString *)alias delegate:(id )delegate;
+
++ (NSString *)humanReadableChannelWithActivityType:(NSString *)activityString;
+@end
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h
new file mode 100644
index 0000000..65d127a
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchCSSearchableItemAttributeSet.h
@@ -0,0 +1,43 @@
+//
+// BranchCSSearchableItemAttributeSet.h
+// Branch-TestBed
+//
+// Created by Derrick Staten on 9/8/15.
+// Copyright © 2015 Branch Metrics. All rights reserved.
+//
+#if !TARGET_OS_TV
+
+#if __has_feature(modules)
+@import Foundation;
+#else
+#import
+#endif
+
+#if __has_feature(modules)
+@import CoreSpotlight;
+@import MobileCoreServices;
+#else
+#import
+#import
+#endif
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface BranchCSSearchableItemAttributeSet : CSSearchableItemAttributeSet
+
+- (instancetype)init;
+
+- (instancetype)initWithContentType:(UTType *)contentType API_AVAILABLE(ios(14), macCatalyst(14));
+
+- (instancetype)initWithItemContentType:(NSString *)type;
+
+- (void)indexWithCallback:(void (^) (NSString * _Nullable url, NSString * _Nullable spotlightIdentifier, NSError * _Nullable error))callback;
+
+@property (nonatomic, strong, nullable) NSDictionary *params;
+@property (nonatomic, strong, nullable) NSSet *keywords;
+@property (nonatomic, assign) BOOL publiclyIndexable; //!< Defaults to YES
+
+@end
+
+NS_ASSUME_NONNULL_END
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchCrossPlatformID.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchCrossPlatformID.h
deleted file mode 100644
index 23e2744..0000000
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchCrossPlatformID.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// BranchCrossPlatformID.h
-// Branch
-//
-// Created by Ernest Cho on 9/12/19.
-// Copyright © 2019 Branch, Inc. All rights reserved.
-//
-
-#import
-#import "BNCServerInterface.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface BranchProbabilisticCrossPlatformID : NSObject
-
-@property (nonatomic, copy, readonly) NSString *crossPlatformID;
-@property (nonatomic, copy, readonly) NSNumber *score;
-
-+ (nullable BranchProbabilisticCrossPlatformID *)buildFromJSON:(NSDictionary *)json;
-
-@end
-
-@interface BranchCrossPlatformID : NSObject
-
-@property (nonatomic, copy, readonly) NSString *crossPlatformID;
-@property (nonatomic, copy, readonly) NSString *developerID;
-@property (nonatomic, strong, readonly) NSArray *pastCrossPlatformIDs;
-@property (nonatomic, strong, readonly) NSArray *probabiliticCrossPlatformIDs;
-
-+ (nullable BranchCrossPlatformID *)buildFromJSON:(NSDictionary *)json;
-
-+ (void)requestCrossPlatformIdData:(BNCServerInterface *)serverInterface key:(NSString *)key completion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchDeepLinkingController.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchDeepLinkingController.h
index 70a07dd..b591d74 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchDeepLinkingController.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchDeepLinkingController.h
@@ -16,9 +16,6 @@
@protocol BranchDeepLinkingControllerCompletionDelegate
-- (void)deepLinkingControllerCompleted
- __attribute__((deprecated(("This API is deprecated. Instead, use deepLinkingControllerCompletedFrom: viewController"))));;
-
- (void)deepLinkingControllerCompletedFrom:(UIViewController*) viewController;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchDelegate.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchDelegate.h
index 5eb6da7..8fbf82b 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchDelegate.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchDelegate.h
@@ -6,8 +6,6 @@
// Copyright © 2017 Branch Metrics. All rights reserved.
//
-// TODO: Add documentation
-
#if __has_feature(modules)
@import Foundation;
#else
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchEvent.h
index 86b90fd..484fb52 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchEvent.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchEvent.h
@@ -7,7 +7,6 @@
//
#import "Branch.h"
-#import "BNCCommerceEvent.h"
#import "BranchUniversalObject.h"
#import
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchLogger.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchLogger.h
new file mode 100644
index 0000000..1d05cd8
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchLogger.h
@@ -0,0 +1,51 @@
+//
+// BranchLogger.h
+// Branch
+//
+// Created by Nipun Singh on 2/1/24.
+// Copyright © 2024 Branch, Inc. All rights reserved.
+//
+
+#import
+#import "BNCServerResponse.h"
+
+typedef NS_ENUM(NSUInteger, BranchLogLevel) {
+ BranchLogLevelVerbose, // development
+ BranchLogLevelDebug, // validation and troubleshooting
+ BranchLogLevelWarning, // potential errors and attempts at recovery. SDK may be in a bad state.
+ BranchLogLevelError, // severe errors. SDK is probably in a bad state.
+};
+
+typedef void(^BranchLogCallback)(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error);
+typedef void(^BranchAdvancedLogCallback)(NSString * _Nonnull message, BranchLogLevel logLevel, NSError * _Nullable error, NSMutableURLRequest * _Nullable request, BNCServerResponse * _Nullable response);
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface BranchLogger : NSObject
+
+@property (nonatomic, assign) BOOL loggingEnabled;
+@property (nonatomic, assign) BOOL includeCallerDetails;
+@property (nonatomic, copy, nullable) BranchLogCallback logCallback;
+@property (nonatomic, copy, nullable) BranchAdvancedLogCallback advancedLogCallback;
+@property (nonatomic, assign) BranchLogLevel logLevelThreshold;
+
++ (instancetype _Nonnull)shared;
+
+// For expensive Log messages, check if it's even worth building the log message
+- (BOOL)shouldLog:(BranchLogLevel)level;
+
+// Caller details are relatively expensive, option to disable if the cost is too high.
+- (void)disableCallerDetails;
+
+- (void)logError:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logWarning:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+- (void)logDebug:(NSString * _Nonnull)message error:(NSError * _Nullable)error request:(NSMutableURLRequest * _Nullable)request response:(BNCServerResponse * _Nullable)response;
+- (void)logVerbose:(NSString * _Nonnull)message error:(NSError * _Nullable)error;
+
+// default Branch log format
++ (NSString *)formatMessage:(NSString *)message logLevel:(BranchLogLevel)logLevel error:(NSError *)error;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchPluginSupport.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchPluginSupport.h
index 71ae754..e344dcc 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchPluginSupport.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchPluginSupport.h
@@ -14,6 +14,12 @@ NS_ASSUME_NONNULL_BEGIN
+ (BranchPluginSupport *)instance;
+/**
+Sets a custom CDN base URL.
+@param url Base URL for CDN endpoints.
+*/
++ (void)setCDNBaseUrl:(NSString *)url;
+
- (NSDictionary *)deviceDescription;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchSDK.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchSDK.h
index e034c3c..c571772 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchSDK.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchSDK.h
@@ -24,8 +24,8 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
#import
#import
#import
+#import
-#import
#import
#import
@@ -49,15 +49,16 @@ FOUNDATION_EXPORT const unsigned char BranchSDKVersionString[];
// Cascading public headers...
-// BranchUniversalObject uses constants defined in BNCCommerceEvent.h
-#import
-// BNCCommerceEvent.h includes BNCServerRequest.h
+// BranchUniversalObject uses constants defined in BNCCurrency.h and BNCProductCategory.h
+#import
+#import
+
#import
// BNCServerRequest includes BNCServerInterface.h
-#import
+//#import
// BNCServerInterface.h includes BNCServerResponse.h and BNCPreferenceHelper.h
#import
-#import
+//#import
// BNCLinkCache.h uses BNCLinkData.h
#import
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchScene.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchScene.h
index a24b2ed..f0397d9 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchScene.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchScene.h
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
Provide support for UIScene. This is only supported on iOS 13.0+, iPadOS 13.0+
*/
-API_AVAILABLE(ios(13.0))
+API_AVAILABLE(ios(13.0), macCatalyst(13.1))
@interface BranchScene : NSObject
+ (BranchScene *)shared;
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchShareLink.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchShareLink.h
new file mode 100644
index 0000000..e121c76
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchShareLink.h
@@ -0,0 +1,142 @@
+//
+// BranchShareLink.h
+// Branch-SDK
+//
+// Created by Edward Smith on 3/13/17.
+// Copyright © 2017 Branch Metrics. All rights reserved.
+//
+
+#if !TARGET_OS_TV
+
+#import "BranchUniversalObject.h"
+#import
+@class BranchShareLink;
+
+@protocol BranchShareLinkDelegate
+@optional
+
+/**
+This delegate method is called during the course of user interaction while sharing a
+Branch link. The linkProperties, such as channel, or the share text parameters can be
+altered as appropriate for the particular user-chosen activityType.
+
+This delegate method will be called multiple times during a share interaction and might be
+called on a background thread.
+
+@param shareLink The calling BranchShareLink that is currently sharing.
+*/
+- (void) branchShareLinkWillShare:(BranchShareLink*_Nonnull)shareLink;
+
+/**
+This delegate method is called when sharing has completed.
+
+@param shareLink The Branch share action sheet that has just completed.
+@param completed This parameter is YES if sharing completed successfully and the user did not cancel.
+@param error This parameter contains any errors that occurred will attempting to share.
+*/
+- (void) branchShareLink:(BranchShareLink*_Nonnull)shareLink
+ didComplete:(BOOL)completed
+ withError:(NSError*_Nullable)error;
+@end
+
+#pragma mark - BranchShareLink
+
+/**
+The `BranchShareLink` class facilitates sharing Branch links using a `UIActivityViewController`
+user experience.
+
+The `BranchShareLink` is a new class that is similar to but has more functionality than the old
+`[BranchUniversalObject showShareSheetWithLinkProperties:...]` methods.
+
+The `BranchShareLink` is initialized with the `BranchUniversalObject` and `BranchLinkProperties`
+objects that will be used to generate the Branch link.
+
+After the `BranchShareLink` object is created, set any configuration properties on the activity
+sheet object, and then call `showFromViewController:anchor:` to show the activity sheet.
+
+A delegate on the BranchShareLink can further configure the share experience. For instance the link
+parameters can be changed depending on the activity that the user selects.
+*/
+
+@interface BranchShareLink : NSObject
+
+/**
+Creates a BranchShareLink object.
+
+@param universalObject The Branch Universal Object the will be shared.
+@param linkProperties The link properties that the link will have.
+*/
+- (instancetype _Nonnull) initWithUniversalObject:(BranchUniversalObject*_Nonnull)universalObject
+ linkProperties:(BranchLinkProperties*_Nonnull)linkProperties
+ NS_DESIGNATED_INITIALIZER;
+
+- (instancetype _Nonnull) init NS_UNAVAILABLE;
++ (instancetype _Nonnull) new NS_UNAVAILABLE;
+
+///Returns an array of activity item providers, one for the Branch Universal Object,
+///one for the share text (if provided), and one for the shareObject (if provided).
+- (NSArray*_Nonnull) activityItems;
+
+/**
+Presents a UIActivityViewController that shares the Branch link.
+
+@param viewController The parent view controller from which to present the the activity sheet.
+@param anchorViewOrButtonItem The anchor point for the activity sheet. Used for iPad form factors.
+*/
+- (void) presentActivityViewControllerFromViewController:(UIViewController*_Nullable)viewController
+ anchor:(id _Nullable)anchorViewOrButtonItem;
+
+///The title for the share sheet.
+@property (nonatomic, copy) NSString*_Nullable title;
+
+// Override the default placeholder URL
+// iOS 13+ fetches a preview header icon, text and domain name from this URL.
+// By default, we use the Branch bnc.lt link, but if you wish more control override it here.
+@property (nonatomic, strong, nullable) NSURL *placeholderURL;
+
+// iOS 13+ : LinkPresentation metadata for the preview header.
+@property (nonatomic, strong, nullable) LPLinkMetadata *lpMetaData API_AVAILABLE(ios(13.0), macCatalyst(13.1));
+
+///Share text for the item. This is not the text in the iOS 13+ preview header.
+///This text can be changed later when the `branchShareSheetWillShare:` delegate method is called.
+@property (nonatomic, copy) NSString*_Nullable shareText;
+
+///An additional, user defined, non-typed, object to be shared.
+///This object can be changed later when the `branchShareSheetWillShare:` delegate method is called.
+@property (nonatomic, strong) id _Nullable shareObject;
+
+///Sets an email subject line for the share activity. If the Branch link property already has an
+///email subject, that attribute takes precedence over this field.
+@property (nonatomic, copy) NSString*_Nullable emailSubject;
+
+///The resulting Branch URL that was shared.
+@property (nonatomic, strong, readonly) NSURL*_Nullable shareURL;
+
+///The activity type that the user chose.
+@property (nonatomic, readonly, copy) NSString*_Nullable activityType;
+
+///Extra server parameters that should be included with the link data.
+@property (nonatomic, strong) NSMutableDictionary*_Nullable serverParameters;
+
+///The Branch Universal Object that will be shared.
+@property (nonatomic, strong, readonly) BranchUniversalObject*_Nonnull universalObject;
+
+///The link properties for the created URL.
+@property (nonatomic, strong, readonly) BranchLinkProperties*_Nonnull linkProperties;
+
+///The delegate. See 'BranchShareLinkDelegate' above for a description.
+@property (nonatomic, weak) id_Nullable delegate;
+
+@property void (^ _Nullable completionError)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error);
+
+/**
+Creates and attaches an LPLinkMetadata using the provided title and icon. This method is only available on iOS 13.0 or greater.
+
+@param title The string that will appear in the share sheet preview,
+@param icon The image used for the share sheet preview icon.
+*/
+
+- (void) addLPLinkMetadata:(NSString *_Nullable)title icon:(UIImage *_Nullable)icon API_AVAILABLE(ios(13.0), macCatalyst(13.1));
+
+@end
+#endif
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchUniversalObject.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchUniversalObject.h
index 9712ad4..de57a98 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchUniversalObject.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Headers/BranchUniversalObject.h
@@ -14,7 +14,8 @@
#import
#endif
-#import "BNCCommerceEvent.h"
+#import "BNCProductCategory.h"
+#import "BNCCurrency.h"
#import "BranchLinkProperties.h"
#pragma mark BranchContentIndexMode
@@ -159,17 +160,6 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
- (void)registerView;
- (void)registerViewWithCallback:(void (^_Nullable)(NSDictionary * _Nullable params, NSError * _Nullable error))callback;
-
-/// @name User Event Tracking
-
-
-- (void)userCompletedAction:(nonnull NSString *)action;
- // __attribute__((deprecated(("Use `[BranchEvent logEvent...]` instead."))));
-
-- (void)userCompletedAction:(nonnull NSString *)action withState:(nullable NSDictionary *)state;
- // __attribute__((deprecated(("Use `[BranchEvent logEvent...]` instead."))));
-
-
/// @name Short Links
@@ -195,34 +185,19 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
#if !TARGET_OS_TV
- (void)showShareSheetWithShareText:(nullable NSString *)shareText
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
-
-- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
- andShareText:(nullable NSString *)shareText
- fromViewController:(nullable UIViewController *)viewController
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
+ completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-/// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-// iPad
-- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
- andShareText:(nullable NSString *)shareText
- fromViewController:(nullable UIViewController *)viewController
- anchor:(nullable UIBarButtonItem *)anchor
- completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;
-
-// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
anchor:(nullable UIBarButtonItem *)anchor
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;
-
/// @name List items on Spotlight
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Info.plist b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Info.plist
index b2bc30a..e05048c 100644
Binary files a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Info.plist and b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/Info.plist differ
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/PrivacyInfo.xcprivacy b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/PrivacyInfo.xcprivacy
new file mode 100644
index 0000000..3593fc9
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64/BranchSDK.framework/PrivacyInfo.xcprivacy
@@ -0,0 +1,73 @@
+
+
+
+
+ NSPrivacyTracking
+
+ NSPrivacyTrackingDomains
+
+ api-safetrack.branch.io
+ api-safetrack-eu.branch.io
+
+ NSPrivacyCollectedDataTypes
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeDeviceID
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising
+ NSPrivacyCollectedDataTypePurposeDeveloperAdvertising
+ NSPrivacyCollectedDataTypePurposeAnalytics
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypePerformanceData
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyCollectedDataType
+ NSPrivacyCollectedDataTypeOtherDataTypes
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+ NSPrivacyCollectedDataTypePurposeAppFunctionality
+
+
+
+ NSPrivacyAccessedAPITypes
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryFileTimestamp
+ NSPrivacyAccessedAPITypeReasons
+
+ C617.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryUserDefaults
+ NSPrivacyAccessedAPITypeReasons
+
+ CA92.1
+
+
+
+
+
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/BranchSDK b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/BranchSDK
index c42db79..ace21ab 100755
Binary files a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/BranchSDK and b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/BranchSDK differ
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCallbacks.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCallbacks.h
index 185229a..88669ac 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCallbacks.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCallbacks.h
@@ -20,3 +20,4 @@ typedef void (^callbackWithStatus) (BOOL changed, NSError * _Nullable error);
typedef void (^callbackWithList) (NSArray * _Nullable list, NSError * _Nullable error);
typedef void (^callbackWithUrlAndSpotlightIdentifier) (NSString * _Nullable url, NSString * _Nullable spotlightIdentifier, NSError * _Nullable error);
typedef void (^callbackWithBranchUniversalObject) (BranchUniversalObject * _Nullable universalObject, BranchLinkProperties * _Nullable linkProperties, NSError * _Nullable error);
+typedef void (^callbackWithData) (NSData * _Nullable data, NSError * _Nullable error);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCommerceEvent.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCommerceEvent.h
deleted file mode 100644
index 661fbf5..0000000
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCommerceEvent.h
+++ /dev/null
@@ -1,272 +0,0 @@
-//
-// BNCCommerceEvent.h
-// Branch-SDK
-//
-// Created by Edward Smith on 12/14/16.
-// Copyright (c) 2016 Branch Metrics. All rights reserved.
-//
-
-#import "BNCServerRequest.h"
-
-#pragma mark BNCProductCategory
-
-typedef NSString*const BNCProductCategory NS_STRING_ENUM;
-
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
-FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
-
-NSArray*_Nonnull BNCProductCategoryAllCategories(void);
-
-#pragma mark - BNCCurrency
-
-typedef NSString*const BNCCurrency NS_STRING_ENUM;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAED;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAFN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyALL;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAMD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyANG;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAOA;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyARS;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAUD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAWG;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAZN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBAM;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBBD;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBDT;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBGN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBHD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBIF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBMD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBND;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBOB;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBOV;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBRL;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBSD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBTN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBWP;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBYN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBYR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBZD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCAD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCDF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCHE;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCHF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCHW;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCLF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCLP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCNY;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCOP;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCOU;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCRC;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCUC;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCUP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCVE;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCZK;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyDJF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyDKK;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyDOP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyDZD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyEGP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyERN;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyETB;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyEUR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyFJD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyFKP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGBP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGEL;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGHS;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGIP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGMD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGNF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGTQ;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGYD;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHKD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHNL;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHRK;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHTG;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHUF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyIDR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyILS;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyINR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyIQD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyIRR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyISK;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyJMD;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyJOD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyJPY;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKES;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKGS;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKHR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKMF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKPW;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKRW;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKWD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKYD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKZT;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLAK;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLBP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLKR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLRD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLSL;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLYD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMAD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMDL;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMGA;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMKD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMMK;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMNT;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMOP;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMRO;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMUR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMVR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMWK;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMXN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMXV;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMYR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMZN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNAD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNGN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNIO;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNOK;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNPR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNZD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyOMR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPAB;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPEN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPGK;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPHP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPKR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPLN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPYG;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyQAR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyRON;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyRSD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyRUB;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyRWF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySAR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySBD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySCR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySDG;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySEK;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySGD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySHP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySLL;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySOS;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySRD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySSP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySTD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySYP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySZL;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTHB;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTJS;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTMT;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTND;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTOP;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTRY;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTTD;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTWD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTZS;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUAH;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUGX;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUSD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUSN;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUYI;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUYU;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUZS;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyVEF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyVND;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyVUV;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyWST;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXAF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXAG;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXAU;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXBA;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXBB;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXBC;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXBD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXCD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXDR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXFU;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXOF;
-
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXPD;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXPF;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXPT;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXSU;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXTS;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXUA;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXXX;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyYER;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZAR;
-FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZMW;
-
-NSArray*_Nonnull BNCCurrencyAllCurrencies(void);
-
-#pragma mark - BNCProduct
-
-@interface BNCProduct : NSObject
-@property (nonatomic, copy) NSString*_Nullable sku;
-@property (nonatomic, copy) NSString*_Nullable name;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable price;
-@property (nonatomic, strong) NSNumber*_Nullable quantity;
-@property (nonatomic, copy) NSString*_Nullable brand;
-@property (nonatomic, copy) BNCProductCategory _Nullable category;
-@property (nonatomic, copy) NSString*_Nullable variant;
-@end
-
-#pragma mark - BNCCommerceEvent
-
-//__attribute__((deprecated(("Please use BranchEvent to track commerce events."))))
-@interface BNCCommerceEvent : NSObject
-@property (nonatomic, strong) NSDecimalNumber*_Nullable revenue;
-@property (nonatomic, copy) BNCCurrency _Nullable currency;
-@property (nonatomic, copy) NSString*_Nullable transactionID;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable shipping;
-@property (nonatomic, strong) NSDecimalNumber*_Nullable tax;
-@property (nonatomic, copy) NSString*_Nullable coupon;
-@property (nonatomic, copy) NSString*_Nullable affiliation;
-@property (nonatomic, strong) NSArray*_Nullable products;
-@end
-
-
-@interface BranchCommerceEventRequest : BNCServerRequest
-
-- (instancetype _Nonnull) initWithCommerceEvent:(BNCCommerceEvent*_Nonnull)commerceEvent
- metadata:(NSDictionary*_Nullable)dictionary
- completion:
- (void (^_Nullable)(NSDictionary*_Nullable response, NSError*_Nullable error))callBack;
-
-@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCurrency.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCurrency.h
new file mode 100644
index 0000000..868427e
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCCurrency.h
@@ -0,0 +1,206 @@
+//
+// BNCCurrency.h
+// Branch
+//
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
+//
+
+#import
+
+typedef NSString * const BNCCurrency NS_STRING_ENUM;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAED;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAFN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyALL;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAMD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyANG;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAOA;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyARS;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAUD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAWG;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyAZN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBAM;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBBD;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBDT;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBGN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBHD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBIF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBMD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBND;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBOB;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBOV;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBRL;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBSD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBTN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBWP;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBYN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBYR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyBZD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCAD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCDF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCHE;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCHF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCHW;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCLF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCLP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCNY;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCOP;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCOU;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCRC;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCUC;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCUP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCVE;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyCZK;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyDJF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyDKK;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyDOP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyDZD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyEGP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyERN;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyETB;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyEUR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyFJD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyFKP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGBP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGEL;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGHS;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGIP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGMD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGNF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGTQ;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyGYD;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHKD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHNL;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHRK;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHTG;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyHUF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyIDR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyILS;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyINR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyIQD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyIRR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyISK;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyJMD;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyJOD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyJPY;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKES;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKGS;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKHR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKMF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKPW;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKRW;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKWD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKYD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyKZT;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLAK;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLBP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLKR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLRD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLSL;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyLYD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMAD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMDL;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMGA;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMKD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMMK;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMNT;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMOP;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMRO;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMUR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMVR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMWK;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMXN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMXV;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMYR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyMZN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNAD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNGN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNIO;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNOK;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNPR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyNZD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyOMR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPAB;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPEN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPGK;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPHP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPKR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPLN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyPYG;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyQAR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyRON;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyRSD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyRUB;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyRWF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySAR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySBD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySCR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySDG;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySEK;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySGD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySHP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySLL;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySOS;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySRD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySSP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySTD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySYP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencySZL;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTHB;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTJS;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTMT;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTND;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTOP;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTRY;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTTD;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTWD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyTZS;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUAH;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUGX;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUSD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUSN;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUYI;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUYU;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyUZS;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyVEF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyVND;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyVUV;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyWST;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXAF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXAG;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXAU;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXBA;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXBB;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXBC;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXBD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXCD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXDR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXFU;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXOF;
+
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXPD;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXPF;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXPT;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXSU;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXTS;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXUA;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyXXX;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyYER;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZAR;
+FOUNDATION_EXPORT BNCCurrency _Nonnull BNCCurrencyZMW;
+
+NSArray*_Nonnull BNCCurrencyAllCurrencies(void);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCPreferenceHelper.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCPreferenceHelper.h
index dc8fe57..464d550 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCPreferenceHelper.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCPreferenceHelper.h
@@ -40,8 +40,6 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (copy, nonatomic) NSString *sessionParams;
@property (copy, nonatomic) NSString *installParams;
@property (assign, nonatomic) BOOL isDebug;
-@property (assign, nonatomic) BOOL checkedFacebookAppLinks;
-@property (assign, nonatomic) BOOL checkedAppleSearchAdAttribution;
@property (nonatomic, assign, readwrite) BOOL appleAttributionTokenChecked;
@property (nonatomic, assign, readwrite) BOOL hasOptedInBefore;
@property (nonatomic, assign, readwrite) BOOL hasCalledHandleATTAuthorizationStatus;
@@ -50,25 +48,18 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSTimeInterval timeout;
@property (copy, nonatomic) NSString *externalIntentURI;
@property (strong, nonatomic) NSMutableDictionary *savedAnalyticsData;
-@property (strong, nonatomic) NSDictionary *appleSearchAdDetails;
-@property (assign, nonatomic) BOOL appleSearchAdNeedsSend;
@property (copy, nonatomic) NSString *lastSystemBuildVersion;
@property (copy, nonatomic) NSString *browserUserAgentString;
@property (copy, nonatomic) NSString *referringURL;
-@property (copy, nonatomic) NSString *branchAPIURL;
@property (assign, nonatomic) BOOL limitFacebookTracking;
@property (strong, nonatomic) NSDate *previousAppBuildDate;
@property (assign, nonatomic, readwrite) BOOL disableAdNetworkCallouts;
-@property (strong, nonatomic, readwrite) NSURL *faceBookAppLink;
-
@property (nonatomic, copy, readwrite) NSString *patternListURL;
@property (strong, nonatomic) NSArray *savedURLPatternList;
@property (assign, nonatomic) NSInteger savedURLPatternListVersion;
@property (assign, nonatomic) BOOL dropURLOpen;
-@property (assign, nonatomic) BOOL sendCloseRequests;
-
@property (assign, nonatomic) BOOL trackingDisabled;
@property (copy, nonatomic) NSString *referrerGBRAID;
@@ -80,15 +71,19 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (assign, nonatomic) NSInteger highestConversionValueSent;
@property (strong, nonatomic) NSDate *firstAppLaunchTime;
@property (assign, nonatomic) BOOL invokeRegisterApp;
-@property (assign, nonatomic) BOOL logInAppPurchasesAsBranchEvents;
+
+@property (assign, nonatomic) BOOL eeaRegion;
+@property (assign, nonatomic) BOOL adPersonalizationConsent;
+@property (assign, nonatomic) BOOL adUserDataUsageConsent;
+
+@property (nonatomic, assign) NSString *attributionLevel;
+
- (void) clearTrackingInformation;
+ (BNCPreferenceHelper *)sharedInstance;
-- (NSString *)getAPIBaseURL;
-- (NSString *)getAPIURL:(NSString *)endpoint;
-- (NSString *)getEndpointFromURL:(NSString *)url;
+- (void)setPatternListURL:(NSString *)url;
- (void)setRequestMetadataKey:(NSString *)key value:(NSObject *)value;
- (NSMutableDictionary *)requestMetadataDictionary;
@@ -107,5 +102,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
- (NSMutableString*) sanitizedMutableBaseURL:(NSString*)baseUrl;
- (void) synchronize; // Flushes preference queue to persistence.
+ (void) clearAll;
+- (BOOL) eeaRegionInitialized;
+- (BOOL) attributionLevelInitialized;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCProductCategory.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCProductCategory.h
new file mode 100644
index 0000000..eb25589
--- /dev/null
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCProductCategory.h
@@ -0,0 +1,35 @@
+//
+// BNCProductCategory.h
+// Branch
+//
+// Created by Nipun Singh on 8/14/23.
+// Copyright © 2023 Branch, Inc. All rights reserved.
+//
+
+#import
+
+typedef NSString * const BNCProductCategory NS_STRING_ENUM;
+
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryAnimalSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryApparel;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryArtsEntertainment;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBabyToddler;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryBusinessIndustrial;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryCamerasOptics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryElectronics;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFoodBeverageTobacco;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryFurniture;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHardware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHealthBeauty;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryHomeGarden;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryLuggageBags;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMature;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryMedia;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryOfficeSupplies;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryReligious;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySoftware;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategorySportingGoods;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryToysGames;
+FOUNDATION_EXPORT BNCProductCategory _Nonnull BNCProductCategoryVehiclesParts;
+
+NSArray*_Nonnull BNCProductCategoryAllCategories(void);
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequest.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequest.h
index 5da9f76..9b65ff5 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequest.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequest.h
@@ -10,7 +10,11 @@
@interface BNCServerRequest : NSObject
+@property (nonatomic, copy, readwrite) NSString *requestUUID;
+@property (nonatomic, copy, readwrite) NSNumber *requestCreationTimeStamp;
+
- (void)makeRequest:(BNCServerInterface *)serverInterface key:(NSString *)key callback:(BNCServerCallback)callback;
- (void)processResponse:(BNCServerResponse *)response error:(NSError *)error;
- (void)safeSetValue:(NSObject *)value forKey:(NSString *)key onDict:(NSMutableDictionary *)dict;
++ (NSString *) generateRequestUUIDFromDate:(NSDate *) localDate;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequestQueue.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequestQueue.h
index ff391d4..1c9d939 100755
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequestQueue.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/BNCServerRequestQueue.h
@@ -22,12 +22,8 @@
- (NSInteger)queueDepth;
- (BOOL)containsInstallOrOpen;
-- (BOOL)removeInstallOrOpen;
-- (BOOL)containsClose;
-- (BranchOpenRequest *)moveInstallOrOpenToFront:(NSInteger)networkCount;
-- (void)persistEventually;
-- (void)persistImmediately;
+- (BranchOpenRequest *)findExistingInstallOrOpen;
+ (id)getInstance;
@end
diff --git a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/Branch.h b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/Branch.h
index f35296b..f82e60d 100644
--- a/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/Branch.h
+++ b/BranchSDK.iOSBinding/BranchSDK.xcframework/tvos-arm64_x86_64-simulator/BranchSDK.framework/Headers/Branch.h
@@ -16,7 +16,6 @@
// Public classes that should be in the umbrella header
#import "BranchLinkProperties.h"
#import "BranchUniversalObject.h"
-#import "BranchCrossPlatformID.h"
#import "BranchLastAttributedTouchData.h"
#import "BranchDeepLinkingController.h"
#import "BranchDelegate.h"
@@ -40,15 +39,14 @@
#import "BNCServerInterface.h"
#import "BNCServerRequestQueue.h"
+#import "BranchLogger.h"
// Not used by Branch singleton public API
//#import "BranchEvent.h"
//#import "BranchScene.h"
//#import "BranchPluginSupport.h"
//#import "BranchQRCode.h"
-//#import "BNCCommerceEvent.h"
//#import "BNCConfig.h"
//#import "NSError+Branch.h"
-//#import "BNCLog.h"
//#import "BranchConstants.h"
//#import "UIViewController+Branch.h"
@@ -153,12 +151,6 @@ extern NSString * __nonnull const BNCShareCompletedEvent;
// Spotlight Constant
extern NSString * __nonnull const BNCSpotlightFeature;
-#pragma mark - Branch Enums
-typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
- BranchMostRecentFirst,
- BranchLeastRecentFirst
-};
-
#pragma mark - BranchLink
@interface BranchLink : NSObject
@@ -263,7 +255,6 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
+ (BOOL)branchKeyIsSet;
-/// TODO: Add documentation.
@property (weak, nullable) NSObject* delegate;
//@property (strong, nonatomic, nullable) BranchEvent *testEvent;
@@ -573,18 +564,28 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
///--------------------
/**
- Enable debug messages to NSLog.
+ Enable debug messages to os_log.
*/
-- (void)enableLogging;
++ (void)enableLogging;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback;
++ (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withAdvancedCallback:(nullable BranchAdvancedLogCallback)callback;
+
+// The new logging system is independent of the Branch singleton and can be called earlier.
+- (void)enableLogging __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
+- (void)enableLoggingAtLevel:(BranchLogLevel)logLevel withCallback:(nullable BranchLogCallback)callback __attribute__((deprecated(("This API is deprecated. Please use the static version."))));
/**
- setDebug is deprecated and all functionality has been disabled.
+ Send requests to EU endpoints.
- If you wish to enable logging, please invoke enableLogging.
-
- If you wish to simulate installs, please see add a Test Device (https://help.branch.io/using-branch/docs/adding-test-devices) then reset your test device's data (https://help.branch.io/using-branch/docs/adding-test-devices#section-resetting-your-test-device-data).
+ This feature must also be enabled on the server side, otherwise the server will drop requests. Contact your account manager for details.
*/
-- (void)setDebug __attribute__((deprecated(("setDebug is replaced by enableLogging and test devices. https://help.branch.io/using-branch/docs/adding-test-devices"))));
+- (void)useEUEndpoints;
+
+/**
+Sets a custom base URL for all calls to the Branch API.
+@param url Base URL that the Branch API will use.
+*/
++ (void)setAPIUrl:(NSString *)url;
/**
@brief Use the `validateSDKIntegration` method as a debugging aid to assure that you've
@@ -646,36 +647,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
These are ICU standard regular expressions.
*/
-@property (copy, nullable) NSArray/*_Nullable*/* urlPatternsToIgnore;
-
-/**
- Register your Facebook SDK's FBSDKAppLinkUtility class to be used by Branch for deferred deep linking from their platform
-
- @param FBSDKAppLinkUtility - call [FBSDKAppLinkUtility class] after importing #import
- */
-- (void)registerFacebookDeepLinkingClass:(id)FBSDKAppLinkUtility;
-
-/**
- Check for Apple Search Ads before initialization.
-
- This will usually add less than 1 second on first time startup. Up to 3.5 seconds if Apple Search Ads fails to respond.
- */
-- (void)delayInitToCheckForSearchAds;
-
-/**
- Increases the amount of time the SDK waits for Apple Search Ads to respond.
- The default wait has a better than 90% success rate, however waiting longer can improve the success rate.
-
- This will increase the usual delay to about 3 seconds on first time startup. Up to about 15 seconds if Apple Search Ads fails to respond.
- */
-- (void)useLongerWaitForAppleSearchAds;
-
-/**
- Ignores Apple Search Ads test data.
-
- Apple returns test data for all calls made to the Apple Search Ads API on developer and testflight builds.
- */
-- (void)ignoreAppleSearchAdsTestData;
+- (void)setUrlPatternsToIgnore:(NSArray