Skip to content

Commit 40ddc58

Browse files
authored
Merge pull request #107 from antonargunov/master
version 5.0.8
2 parents 64f28da + a7d3696 commit 40ddc58

File tree

9 files changed

+13
-77
lines changed

9 files changed

+13
-77
lines changed

Branch-Xamarin-Lib.iOS/ApiDefinitions.cs

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -2859,43 +2859,6 @@ interface BranchShareLink {
28592859
NSObject WeakDelegate { get; set; }
28602860
}
28612861

2862-
// @interface BranchView : NSObject
2863-
[BaseType(typeof(NSObject))]
2864-
interface BranchView {
2865-
// @property (nonatomic, strong) NSString * branchViewID;
2866-
[Export("branchViewID", ArgumentSemantic.Strong)]
2867-
string BranchViewID { get; set; }
2868-
2869-
// @property (nonatomic, strong) NSString * branchViewAction;
2870-
[Export("branchViewAction", ArgumentSemantic.Strong)]
2871-
string BranchViewAction { get; set; }
2872-
2873-
// @property (nonatomic) NSInteger numOfUse;
2874-
[Export("numOfUse")]
2875-
nint NumOfUse { get; set; }
2876-
2877-
// @property (nonatomic, strong) NSString * webUrl;
2878-
[Export("webUrl", ArgumentSemantic.Strong)]
2879-
string WebUrl { get; set; }
2880-
2881-
// @property (nonatomic, strong) NSString * webHtml;
2882-
[Export("webHtml", ArgumentSemantic.Strong)]
2883-
string WebHtml { get; set; }
2884-
2885-
// -(id)initWithBranchView:(NSDictionary *)branchViewDict andActionName:(NSString *)actionName;
2886-
[Export("initWithBranchView:andActionName:")]
2887-
IntPtr Constructor(NSDictionary branchViewDict, string actionName);
2888-
2889-
// -(BOOL)isAvailable;
2890-
[Export("isAvailable")]
2891-
//[Verify (MethodToProperty)]
2892-
bool IsAvailable { get; }
2893-
2894-
// -(void)updateUsageCount;
2895-
[Export("updateUsageCount")]
2896-
void UpdateUsageCount();
2897-
}
2898-
28992862
// @protocol BranchViewControllerDelegate <NSObject>
29002863
[Protocol, Model]
29012864
[BaseType(typeof(NSObject))]
@@ -2921,24 +2884,6 @@ interface BranchViewControllerDelegate {
29212884
void BranchViewErrorCode(nint errorCode, string errorMsg, string actionName, string branchViewID);
29222885
}
29232886

2924-
// @interface BranchViewHandler : NSObject
2925-
[BaseType(typeof(NSObject))]
2926-
interface BranchViewHandler {
2927-
// @property (assign, nonatomic) id<BranchViewControllerDelegate> branchViewCallback;
2928-
[Export("branchViewCallback", ArgumentSemantic.Assign)]
2929-
BranchViewControllerDelegate BranchViewCallback { get; set; }
2930-
2931-
// +(BranchViewHandler *)getInstance;
2932-
[Static]
2933-
[Export("getInstance")]
2934-
//[Verify (MethodToProperty)]
2935-
BranchViewHandler Instance { get; }
2936-
2937-
// -(BOOL)showBranchView:(NSString *)actionName withBranchViewDictionary:(NSDictionary *)branchViewDict andWithDelegate:(id)callback;
2938-
[Export("showBranchView:withBranchViewDictionary:andWithDelegate:")]
2939-
bool ShowBranchView(string actionName, NSDictionary branchViewDict, NSObject callback);
2940-
}
2941-
29422887
// @interface Branch (UIViewController)
29432888
[Category]
29442889
[BaseType(typeof(UIViewController))]
@@ -3286,10 +3231,6 @@ interface Branch {
32863231
[Export("delayInitToCheckForSearchAds")]
32873232
void DelayInitToCheckForSearchAds();
32883233

3289-
// -(void)setAppleSearchAdsDebugMode;
3290-
[Export("setAppleSearchAdsDebugMode")]
3291-
void SetAppleSearchAdsDebugMode();
3292-
32933234
// -(void)setRetryInterval:(NSTimeInterval)retryInterval;
32943235
[Export("setRetryInterval:")]
32953236
void SetRetryInterval(double retryInterval);

Branch-Xamarin-Lib.iOS/Branch.a

-455 KB
Binary file not shown.

Branch-Xamarin-SDK.iOS/BranchIOS.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ private IOSNativeBranch.Branch NativeBranch {
3232
#region Helpers declaration
3333

3434
private static bool delayInitToCheckForSearchAds = false;
35-
private static bool setAppleSearchAdsDebugMode = false;
3635

3736
#endregion
3837

@@ -63,10 +62,6 @@ public static void Init(String branchKey, NSDictionary launchOptions, IBranchSes
6362
instance.SetDebug ();
6463
}
6564

66-
if (setAppleSearchAdsDebugMode) {
67-
instance.NativeBranch.SetAppleSearchAdsDebugMode();
68-
}
69-
7065
if (delayInitToCheckForSearchAds) {
7166
instance.NativeBranch.DelayInitToCheckForSearchAds();
7267
}
@@ -97,10 +92,6 @@ public static void Init(String branchKey, NSDictionary launchOptions, IBranchBUO
9792
instance.SetDebug ();
9893
}
9994

100-
if (setAppleSearchAdsDebugMode) {
101-
instance.NativeBranch.SetAppleSearchAdsDebugMode();
102-
}
103-
10495
if (delayInitToCheckForSearchAds) {
10596
instance.NativeBranch.DelayInitToCheckForSearchAds();
10697
}
@@ -291,10 +282,6 @@ public static void DelayInitToCheckForSearchAds() {
291282
delayInitToCheckForSearchAds = true;
292283
}
293284

294-
public static void SetAppleSearchAdsDebugMode() {
295-
setAppleSearchAdsDebugMode = true;
296-
}
297-
298285
public override void SetRetryInterval (int retryInterval) {
299286
NativeBranch.SetRetryInterval (retryInterval);
300287
}

Branch-Xamarin-SDK/Model/BranchEvent.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ public BranchEvent(BranchEventType branchEventType)
2323
AddData("event_name", branchEventType.ToString());
2424
}
2525

26+
// Set the alias
27+
public void SetAlias(string alias) {
28+
AddData("customer_event_alias", alias);
29+
}
30+
2631
// Set the transaction id associated with this event if there in any
2732
public void SetTransactionID(string transactionID)
2833
{

Branch-Xamarin-Testbed.iOS/AppDelegate.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public override bool FinishedLaunching (UIApplication application, NSDictionary
2626
// uncomment to try BranchUniversalObject
2727
AppBUO appBUO = new AppBUO ();
2828

29-
//BranchIOS.SetAppleSearchAdsDebugMode();
3029
//BranchIOS.DelayInitToCheckForSearchAds();
3130
BranchIOS.Init ("key_live_mglVaBqjIsSpREdbUa6DLahhABarUg0a", launchOptions, appBUO);
3231

Branch-Xamarin-Testbed.iOS/Branch-Xamarin-Testbed.iOS.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@
3030
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
3131
</PropertyGroup>
3232
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
33-
<DebugType>full</DebugType>
3433
<Optimize>true</Optimize>
3534
<OutputPath>bin\iPhone\Release</OutputPath>
3635
<ErrorReport>prompt</ErrorReport>
3736
<WarningLevel>4</WarningLevel>
3837
<ConsolePause>false</ConsolePause>
39-
<MtouchArch>ARMv7, ARM64</MtouchArch>
38+
<MtouchArch>ARM64</MtouchArch>
4039
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
4140
<MtouchFloat32>true</MtouchFloat32>
4241
<CodesignKey>iPhone Developer</CodesignKey>
@@ -64,7 +63,7 @@
6463
<ErrorReport>prompt</ErrorReport>
6564
<WarningLevel>4</WarningLevel>
6665
<ConsolePause>false</ConsolePause>
67-
<MtouchArch>ARMv7, ARM64</MtouchArch>
66+
<MtouchArch>ARM64</MtouchArch>
6867
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
6968
<MtouchFloat32>true</MtouchFloat32>
7069
<MtouchDebug>true</MtouchDebug>

ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Branch Xamarin SDK change log
22

3+
- 5.0.8
4+
* Updating Branch to IOS version 0.28.1
5+
* Adding method `SetAlias(string alias)` in `BranchEvent` class
6+
* Deleting method `setAppleSearchAdsDebugMode()`
7+
38
- 5.0.7
49
* Updating Branch to Android version 4.0.0
510

11.9 MB
Binary file not shown.

NuGet/Branch-Xamarin-SDK.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<id>Branch-Xamarin-Linking-SDK</id>
55
<title>Branch Xamarin SDK</title>
66
<summary>Hosted deep links for your Xamarin-based Android or iOS app by Branch</summary>
7-
<version>5.0.7</version>
7+
<version>5.0.8</version>
88
<authors>Branch</authors>
99
<owners>Branch</owners>
1010
<iconUrl> https://s3-us-west-1.amazonaws.com/branchhost/branch_icon.png</iconUrl>

0 commit comments

Comments
 (0)