Skip to content

Commit 6f03153

Browse files
authored
Merge pull request #148 from antonargunov/master
version 0.5.6
2 parents a8ae1e6 + 6b624e3 commit 6f03153

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

BranchUnityTestBed/Assets/Branch/Branch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
public class Branch : MonoBehaviour {
99

10-
public static string sdkVersion = "0.5.5";
10+
public static string sdkVersion = "0.5.6";
1111

1212
public delegate void BranchCallbackWithParams(Dictionary<string, object> parameters, string error);
1313
public delegate void BranchCallbackWithUrl(string url, string error);

BranchUnityTestBed/Assets/Branch/BranchUniversalObject.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private void Init() {
6060
contentIndexMode = 0;
6161
localIndexMode = 0;
6262
keywords = new List<string>();
63-
expirationDate = null;
63+
expirationDate = new DateTime(2200, 12, 30);
6464
}
6565

6666
public void loadFromJson(string json) {
@@ -74,7 +74,10 @@ public void loadFromJson(string json) {
7474
public void loadFromDictionary(Dictionary<string, object> data) {
7575
if (data == null)
7676
return;
77-
if (data.ContainsKey("$canonical_identifier") && data["$canonical_identifier"] != null) {
77+
78+
expirationDate = new DateTime(2200, 12, 30);
79+
80+
if (data.ContainsKey("$canonical_identifier") && data["$canonical_identifier"] != null) {
7881
canonicalIdentifier = data["$canonical_identifier"].ToString();
7982
}
8083
if (data.ContainsKey("$canonical_url") && data["$canonical_url"] != null) {

BranchUnityWrapper.unitypackage

4.01 KB
Binary file not shown.

Changelog.md

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

3+
- 0.5.6
4+
* Ading default expiration date to avoid issues with events on ios
5+
36
- 0.5.5
47
* Fixing #144 Branch.shareLink callback is not always called on Android
58
* Disabling proguard for BranchAndroidWrapper.jar

0 commit comments

Comments
 (0)