diff --git a/AdobeBranchExtension.podspec b/AdobeBranchExtension.podspec index 13f28f2..678e95c 100644 --- a/AdobeBranchExtension.podspec +++ b/AdobeBranchExtension.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "AdobeBranchExtension" - s.version = "1.2.2" + s.version = "1.2.3" s.summary = "The Branch extension for Adobe Cloud Platform on iOS." s.description = <<-DESC @@ -24,5 +24,5 @@ Pod::Spec.new do |s| s.source_files = 'AdobeBranchExtension/Classes/**/*' s.dependency 'ACPCore', '~> 2.3' - s.dependency 'Branch', '= 0.31.0' + s.dependency 'Branch', '~> 0.33' end diff --git a/AdobeBranchExtension/Classes/AdobeBranchExtensionClass.m b/AdobeBranchExtension/Classes/AdobeBranchExtensionClass.m index b444be1..c4cd9f6 100644 --- a/AdobeBranchExtension/Classes/AdobeBranchExtensionClass.m +++ b/AdobeBranchExtension/Classes/AdobeBranchExtensionClass.m @@ -239,9 +239,10 @@ - (void) passAdobeIdsToBranch:(ACPExtensionEvent*)eventToProcess { return; } Branch *branch = [Branch getInstance]; - for(id key in configSharedState) { + for(id key in configSharedState.allKeys) { NSLog(@"BranchSDK_ key=%@ value=%@", key, [configSharedState objectForKey:key]); - NSString *idAsString = [[configSharedState valueForKey:key] stringValue]; + NSString *idAsString = [NSString stringWithFormat:@"%@", [configSharedState objectForKey:key]]; + if (!idAsString || [idAsString isEqualToString:@""]) continue; if ([key isEqualToString:@"mid"]) { diff --git a/scripts/version b/scripts/version index 72aa973..8973bbf 100755 --- a/scripts/version +++ b/scripts/version @@ -31,7 +31,7 @@ Options: USAGE } -version=1.2.2 +version=1.2.3 if (( $# == 0 )); then echo $version