File tree 10 files changed +57
-20
lines changed
10 files changed +57
-20
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace com.adjust.sdk {
8
8
#if UNITY_ANDROID
9
9
public class AdjustAndroid : IAdjust {
10
10
#region Fields
11
- private const string sdkPrefix = "unity4.10.1 " ;
11
+ private const string sdkPrefix = "unity4.10.2 " ;
12
12
13
13
private static bool launchDeferredDeeplink = true ;
14
14
Original file line number Diff line number Diff line change @@ -121,31 +121,31 @@ public void AttributionChangedCallback(AdjustAttribution attributionData) {
121
121
Debug . Log ( "Attribution changed!" ) ;
122
122
123
123
if ( attributionData . trackerName != null ) {
124
- Debug . Log ( "trackerName " + attributionData . trackerName ) ;
124
+ Debug . Log ( "Tracker name " + attributionData . trackerName ) ;
125
125
}
126
126
127
127
if ( attributionData . trackerToken != null ) {
128
- Debug . Log ( "trackerToken " + attributionData . trackerToken ) ;
128
+ Debug . Log ( "Tracker token " + attributionData . trackerToken ) ;
129
129
}
130
130
131
131
if ( attributionData . network != null ) {
132
- Debug . Log ( "network " + attributionData . network ) ;
132
+ Debug . Log ( "Network " + attributionData . network ) ;
133
133
}
134
134
135
135
if ( attributionData . campaign != null ) {
136
- Debug . Log ( "campaign " + attributionData . campaign ) ;
136
+ Debug . Log ( "Campaign " + attributionData . campaign ) ;
137
137
}
138
138
139
139
if ( attributionData . adgroup != null ) {
140
- Debug . Log ( "adgroup " + attributionData . adgroup ) ;
140
+ Debug . Log ( "Adgroup " + attributionData . adgroup ) ;
141
141
}
142
142
143
143
if ( attributionData . creative != null ) {
144
- Debug . Log ( "creative " + attributionData . creative ) ;
144
+ Debug . Log ( "Creative " + attributionData . creative ) ;
145
145
}
146
146
147
147
if ( attributionData . clickLabel != null ) {
148
- Debug . Log ( "clickLabel " + attributionData . clickLabel ) ;
148
+ Debug . Log ( "Click label " + attributionData . clickLabel ) ;
149
149
}
150
150
}
151
151
Original file line number Diff line number Diff line change 8
8
9
9
namespace com . adjust . sdk {
10
10
public class AdjustMetro : IAdjust {
11
- private const string sdkPrefix = "unity4.10.1 " ;
11
+ private const string sdkPrefix = "unity4.10.2 " ;
12
12
13
13
public bool isEnabled ( ) {
14
14
return AdjustWS . IsEnabled ( ) ;
Original file line number Diff line number Diff line change 8
8
9
9
namespace com . adjust . sdk {
10
10
public class AdjustWP8 : IAdjust {
11
- private const string sdkPrefix = "unity4.10.1 " ;
11
+ private const string sdkPrefix = "unity4.10.2 " ;
12
12
13
13
public bool isEnabled ( ) {
14
14
return AdjustWP . IsEnabled ( ) ;
Original file line number Diff line number Diff line change @@ -15,8 +15,37 @@ - (id)init {
15
15
}
16
16
17
17
- (void )adjustAttributionChanged : (ADJAttribution *)attribution {
18
- NSDictionary *dicAttribution = [attribution dictionary ];
19
- NSData *dataAttribution = [NSJSONSerialization dataWithJSONObject: dicAttribution options: 0 error: nil ];
18
+ NSMutableDictionary *attributionDic = [NSMutableDictionary dictionary ];
19
+
20
+ if (nil != attribution.trackerToken ) {
21
+ [attributionDic setObject: attribution.trackerToken forKey: @" trackerToken" ];
22
+ }
23
+
24
+ if (nil != attribution.trackerName ) {
25
+ [attributionDic setObject: attribution.trackerName forKey: @" trackerName" ];
26
+ }
27
+
28
+ if (nil != attribution.network ) {
29
+ [attributionDic setObject: attribution.network forKey: @" network" ];
30
+ }
31
+
32
+ if (nil != attribution.campaign ) {
33
+ [attributionDic setObject: attribution.campaign forKey: @" campaign" ];
34
+ }
35
+
36
+ if (nil != attribution.adgroup ) {
37
+ [attributionDic setObject: attribution.adgroup forKey: @" adgroup" ];
38
+ }
39
+
40
+ if (nil != attribution.creative ) {
41
+ [attributionDic setObject: attribution.creative forKey: @" creative" ];
42
+ }
43
+
44
+ if (nil != attribution.clickLabel ) {
45
+ [attributionDic setObject: attribution.clickLabel forKey: @" clickLabel" ];
46
+ }
47
+
48
+ NSData *dataAttribution = [NSJSONSerialization dataWithJSONObject: attributionDic options: 0 error: nil ];
20
49
NSString *stringAttribution = [[NSString alloc ] initWithBytes: [dataAttribution bytes ]
21
50
length: [dataAttribution length ]
22
51
encoding: NSUTF8StringEncoding];
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace com.adjust.sdk {
8
8
#if UNITY_IOS
9
9
public class AdjustiOS : IAdjust {
10
10
#region Fields
11
- private const string sdkPrefix = "unity4.10.1 " ;
11
+ private const string sdkPrefix = "unity4.10.2 " ;
12
12
#endregion
13
13
14
14
#region External methods
Original file line number Diff line number Diff line change
1
+ ### Version 4.10.2 (31st October 2016)
2
+ #### Fixed
3
+ - Fixed wrong click label parameter name which was causing this parameter to be empty in iOS.
4
+
5
+ ---
6
+
1
7
### Version 4.10.1 (13th October 2016)
2
8
#### Changed
3
9
- Updated Native iOS SDK to version ** 4.10.2** .
4
10
- Updated Native Android SDK to version ** 4.10.2** .
5
11
12
+ ---
13
+
6
14
### Version 4.10.0 (15th September 2016)
7
15
#### Added
8
16
- Added possibility to set session callback and partner parameters on ` Adjust ` instance with ` addSessionCallbackParameter ` and ` addSessionPartnerParameter ` methods.
Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ These are the minimal steps required to integrate the adjust SDK into your Unity
52
52
53
53
Download the latest version from our [ releases page] [ releases ] . In there you will find two Unity packages:
54
54
55
- * ** Adjust_v4.10.1_Unity_4 .unitypackage** - Use this package if you are using ** Unity IDE version 4** .
56
- * ** Adjust_v4.10.1_Unity_5 .unitypackage** - Use this package if you are using ** Unity IDE version 5** .
55
+ * ** Adjust_v4.10.2_Unity_4 .unitypackage** - Use this package if you are using ** Unity IDE version 4** .
56
+ * ** Adjust_v4.10.2_Unity_5 .unitypackage** - Use this package if you are using ** Unity IDE version 5** .
57
57
58
58
### <a id =" sdk-add " >Add the SDK to your project
59
59
Original file line number Diff line number Diff line change 1
- 4.10.1
1
+ 4.10.2
Original file line number Diff line number Diff line change 1
- ## Migrate your adjust SDK for Unity3d to 4.10.1 from 3.4.4
1
+ ## Migrate your adjust SDK for Unity3d to 4.10.2 from 3.4.4
2
2
3
3
### Migration procedure
4
4
@@ -9,12 +9,12 @@ keeping in `Assets/Plugins` folder.
9
9
10
10
For migration purposes, we have prepared two Unity packages:
11
11
12
- * ` Adjust_v4.10.1_Unity_4 .unitypackage ` (for Unity 4 users)
13
- * ` Adjust_v4.10.1_Unity_5 .unitypackage ` (for Unity 5 users)
12
+ * ` Adjust_v4.10.2_Unity_4 .unitypackage ` (for Unity 4 users)
13
+ * ` Adjust_v4.10.2_Unity_5 .unitypackage ` (for Unity 5 users)
14
14
15
15
and the adjust SDK uninstall script written in Python (` adjust_uninstall.py ` ).
16
16
17
- Migration to version 4.10.0 of our SDK requires the following steps:
17
+ Migration to version 4.10.2 of our SDK requires the following steps:
18
18
19
19
1 . Copy the ` adjust_uninstall.py ` script to your root Unity project directory and run it. This script should
20
20
delete all adjust source files from the previous SDK version you had.
You can’t perform that action at this time.
0 commit comments