File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -233,14 +233,14 @@ - (void)initInternal:(ADJConfig *)adjustConfig {
233233 [[UIDevice currentDevice ] adjSetIad: self ];
234234
235235 [self readAttribution ];
236+ [self readActivityState ];
236237
237238 self.packageHandler = [ADJAdjustFactory packageHandlerForActivityHandler: self ];
238239
239240 self.attributionHandler = [self buildAttributionHandler ];
240241
241242 self.shouldGetAttribution = YES ;
242243
243- [self readAttribution ];
244244
245245 [self startInternal ];
246246}
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ @implementation ViewController
2323- (void )viewDidLoad {
2424 [super viewDidLoad ];
2525 // Do any additional setup after loading the view, typically from a nib.
26-
27- BOOL isEnabled = [Adjust isEnabled ];
28- if (!isEnabled) {
29- [self .btnTrackRevenueEvent setTitle: @" Enable SDK" forState: UIControlStateNormal];
30- }
3126}
3227
3328- (void )didReceiveMemoryWarning {
You can’t perform that action at this time.
0 commit comments