Skip to content

Commit 424740b

Browse files
authored
Merge pull request #18 from BranchMetrics/INTENG-9985-unreliable-adobe-id-fetch
INTENG-9985 unreliable adobe id fetch
2 parents 45676f0 + a1dfd2d commit 424740b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

AdobeBranchExtension.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "AdobeBranchExtension"
3-
s.version = "1.2.2"
3+
s.version = "1.2.3"
44
s.summary = "The Branch extension for Adobe Cloud Platform on iOS."
55

66
s.description = <<-DESC
@@ -24,5 +24,5 @@ Pod::Spec.new do |s|
2424
s.source_files = 'AdobeBranchExtension/Classes/**/*'
2525

2626
s.dependency 'ACPCore', '~> 2.3'
27-
s.dependency 'Branch', '= 0.31.0'
27+
s.dependency 'Branch', '~> 0.33'
2828
end

AdobeBranchExtension/Classes/AdobeBranchExtensionClass.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,10 @@ - (void) passAdobeIdsToBranch:(ACPExtensionEvent*)eventToProcess {
239239
return;
240240
}
241241
Branch *branch = [Branch getInstance];
242-
for(id key in configSharedState) {
242+
for(id key in configSharedState.allKeys) {
243243
NSLog(@"BranchSDK_ key=%@ value=%@", key, [configSharedState objectForKey:key]);
244-
NSString *idAsString = [[configSharedState valueForKey:key] stringValue];
244+
NSString *idAsString = [NSString stringWithFormat:@"%@", [configSharedState objectForKey:key]];
245+
245246
if (!idAsString || [idAsString isEqualToString:@""]) continue;
246247

247248
if ([key isEqualToString:@"mid"]) {

scripts/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Options:
3131
USAGE
3232
}
3333

34-
version=1.2.2
34+
version=1.2.3
3535

3636
if (( $# == 0 )); then
3737
echo $version

0 commit comments

Comments
 (0)