File tree Expand file tree Collapse file tree 10 files changed +57
-20
lines changed Expand file tree Collapse file tree 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 {
88#if UNITY_ANDROID
99 public class AdjustAndroid : IAdjust {
1010 #region Fields
11- private const string sdkPrefix = "unity4.10.1 " ;
11+ private const string sdkPrefix = "unity4.10.2 " ;
1212
1313 private static bool launchDeferredDeeplink = true ;
1414
Original file line number Diff line number Diff line change @@ -121,31 +121,31 @@ public void AttributionChangedCallback(AdjustAttribution attributionData) {
121121 Debug . Log ( "Attribution changed!" ) ;
122122
123123 if ( attributionData . trackerName != null ) {
124- Debug . Log ( "trackerName " + attributionData . trackerName ) ;
124+ Debug . Log ( "Tracker name " + attributionData . trackerName ) ;
125125 }
126126
127127 if ( attributionData . trackerToken != null ) {
128- Debug . Log ( "trackerToken " + attributionData . trackerToken ) ;
128+ Debug . Log ( "Tracker token " + attributionData . trackerToken ) ;
129129 }
130130
131131 if ( attributionData . network != null ) {
132- Debug . Log ( "network " + attributionData . network ) ;
132+ Debug . Log ( "Network " + attributionData . network ) ;
133133 }
134134
135135 if ( attributionData . campaign != null ) {
136- Debug . Log ( "campaign " + attributionData . campaign ) ;
136+ Debug . Log ( "Campaign " + attributionData . campaign ) ;
137137 }
138138
139139 if ( attributionData . adgroup != null ) {
140- Debug . Log ( "adgroup " + attributionData . adgroup ) ;
140+ Debug . Log ( "Adgroup " + attributionData . adgroup ) ;
141141 }
142142
143143 if ( attributionData . creative != null ) {
144- Debug . Log ( "creative " + attributionData . creative ) ;
144+ Debug . Log ( "Creative " + attributionData . creative ) ;
145145 }
146146
147147 if ( attributionData . clickLabel != null ) {
148- Debug . Log ( "clickLabel " + attributionData . clickLabel ) ;
148+ Debug . Log ( "Click label " + attributionData . clickLabel ) ;
149149 }
150150 }
151151
Original file line number Diff line number Diff line change 88
99namespace com . adjust . sdk {
1010 public class AdjustMetro : IAdjust {
11- private const string sdkPrefix = "unity4.10.1 " ;
11+ private const string sdkPrefix = "unity4.10.2 " ;
1212
1313 public bool isEnabled ( ) {
1414 return AdjustWS . IsEnabled ( ) ;
Original file line number Diff line number Diff line change 88
99namespace com . adjust . sdk {
1010 public class AdjustWP8 : IAdjust {
11- private const string sdkPrefix = "unity4.10.1 " ;
11+ private const string sdkPrefix = "unity4.10.2 " ;
1212
1313 public bool isEnabled ( ) {
1414 return AdjustWP . IsEnabled ( ) ;
Original file line number Diff line number Diff line change @@ -15,8 +15,37 @@ - (id)init {
1515}
1616
1717- (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 ];
2049 NSString *stringAttribution = [[NSString alloc ] initWithBytes: [dataAttribution bytes ]
2150 length: [dataAttribution length ]
2251 encoding: NSUTF8StringEncoding];
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace com.adjust.sdk {
88#if UNITY_IOS
99 public class AdjustiOS : IAdjust {
1010 #region Fields
11- private const string sdkPrefix = "unity4.10.1 " ;
11+ private const string sdkPrefix = "unity4.10.2 " ;
1212 #endregion
1313
1414 #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+
17### Version 4.10.1 (13th October 2016)
28#### Changed
39- Updated Native iOS SDK to version ** 4.10.2** .
410- Updated Native Android SDK to version ** 4.10.2** .
511
12+ ---
13+
614### Version 4.10.0 (15th September 2016)
715#### Added
816- 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
5252
5353Download the latest version from our [ releases page] [ releases ] . In there you will find two Unity packages:
5454
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** .
5757
5858### <a id =" sdk-add " >Add the SDK to your project
5959
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
22
33### Migration procedure
44
@@ -9,12 +9,12 @@ keeping in `Assets/Plugins` folder.
99
1010For migration purposes, we have prepared two Unity packages:
1111
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)
1414
1515and the adjust SDK uninstall script written in Python (` adjust_uninstall.py ` ).
1616
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:
1818
19191 . Copy the ` adjust_uninstall.py ` script to your root Unity project directory and run it. This script should
2020delete all adjust source files from the previous SDK version you had.
You can’t perform that action at this time.
0 commit comments