Skip to content

Commit e1e2bc6

Browse files
committed
Merge pull request #112 from adjust/nicolas-brugneaux-sociomantic-soc-encode-parameters
Nicolas brugneaux sociomantic soc encode parameters
2 parents 24ee080 + 59b3ee0 commit e1e2bc6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Adjust.podspec

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ Pod::Spec.new do |s|
99
s.platform = :ios, '4.3'
1010
s.framework = 'SystemConfiguration'
1111
s.weak_framework = 'AdSupport', 'iAd'
12-
s.source_files = 'Adjust/*.{h,m}', 'Adjust/ADJAdditions/*.{h,m}'
1312
s.requires_arc = true
14-
s.default_subspec = 'Standard'
13+
s.default_subspec = 'Core'
1514

16-
s.subspec 'Standard' do |standard|
15+
s.subspec 'Core' do |co|
16+
co.source_files = 'Adjust/*.{h,m}', 'Adjust/ADJAdditions/*.{h,m}'
1717
end
1818

1919
s.subspec 'Sociomantic' do |sm|
2020
sm.source_files = 'plugin/Sociomantic/*.{h,m}'
21+
sm.dependency 'Adjust/Core'
2122
end
2223

2324
s.subspec 'Criteo' do |cr|
2425
cr.source_files = 'plugin/Criteo/*.{h,m}'
26+
cr.dependency 'Adjust/Core'
2527
end
2628
end

plugin/Sociomantic/ADJSociomantic.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ + (NSArray*)filterCategories:(NSArray*)categories
372372
if (![category isKindOfClass:[NSString class]]) {
373373
id<ADJLogger> logger = [ADJAdjustFactory logger];
374374
[logger error:@"Categories should only contains a string, failed on: [%@] type:[%@]", category, [category class]];
375-
return nil;
375+
return NO;
376376
}
377377

378378
return [category isKindOfClass:[NSString class]];

0 commit comments

Comments
 (0)