Skip to content

Commit

Permalink
Merge pull request #18 from BranchMetrics/INTENG-9985-unreliable-adob…
Browse files Browse the repository at this point in the history
…e-id-fetch

INTENG-9985 unreliable adobe id fetch
  • Loading branch information
echo-branch authored May 21, 2020
2 parents 45676f0 + a1dfd2d commit 424740b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions AdobeBranchExtension.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
5 changes: 3 additions & 2 deletions AdobeBranchExtension/Classes/AdobeBranchExtensionClass.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"]) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/version
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Options:
USAGE
}

version=1.2.2
version=1.2.3

if (( $# == 0 )); then
echo $version
Expand Down

0 comments on commit 424740b

Please sign in to comment.