File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,12 @@ public static void Start(AdjustConfig adjustConfig)
93
93
ajoAdjustConfig . Call ( "setFinalAttributionEnabled" , adjustConfig . finalAndroidAttributionEnabled . Value ) ;
94
94
}
95
95
96
+ // Check read Android IDs only once.
97
+ if ( adjustConfig . readDeviceInfoOnceEnabled != null )
98
+ {
99
+ ajoAdjustConfig . Call ( "setReadDeviceInfoOnceEnabled" , adjustConfig . readDeviceInfoOnceEnabled . Value ) ;
100
+ }
101
+
96
102
// Check Play Store Kids Apps setting.
97
103
if ( adjustConfig . playStoreKidsAppEnabled != null )
98
104
{
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ public class AdjustConfig
44
44
internal bool ? allowSuppressLogLevel ;
45
45
internal bool ? needsCost ;
46
46
internal bool launchDeferredDeeplink ;
47
- internal bool ? finalAndroidAttributionEnabled ;
48
47
internal AdjustLogLevel ? logLevel ;
49
48
internal AdjustEnvironment environment ;
50
49
internal Action < string > deferredDeeplinkDelegate ;
@@ -61,7 +60,9 @@ public class AdjustConfig
61
60
internal bool ? readImei ;
62
61
internal bool ? preinstallTrackingEnabled ;
63
62
internal string preinstallFilePath ;
63
+ internal bool ? finalAndroidAttributionEnabled ;
64
64
internal string fbAppId ;
65
+ internal bool readDeviceInfoOnceEnabled ;
65
66
// iOS specific members
66
67
internal bool ? allowAdServicesInfoReading ;
67
68
internal bool ? allowIdfaReading ;
@@ -313,6 +314,11 @@ public void setFbAppId(string fbAppId)
313
314
this . fbAppId = fbAppId ;
314
315
}
315
316
317
+ public void setReadDeviceInfoOnceEnabled ( bool readDeviceInfoOnceEnabled )
318
+ {
319
+ this . readDeviceInfoOnceEnabled = readDeviceInfoOnceEnabled ;
320
+ }
321
+
316
322
// Windows specific methods.
317
323
public void setLogDelegate ( Action < String > logDelegate )
318
324
{
You can’t perform that action at this time.
0 commit comments