Skip to content

Commit

Permalink
Merge pull request #967 from BranchMetrics/SDK-450-rare-serialization…
Browse files Browse the repository at this point in the history
…-issue

SDK-450 rare serialization issue
  • Loading branch information
echo-branch authored Nov 13, 2019
2 parents 6ac2733 + 94d1ebe commit d776d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Branch-SDK/Branch-SDK/BNCCommerceEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ - (instancetype)initWithCoder:(NSCoder *)decoder {
self = [super initWithCoder:decoder];
if (!self) return self;
self.commerceDictionary = [decoder decodeObjectOfClass:NSDictionary.class forKey:@"commerceDictionary"];
self.metadata = [decoder decodeObjectOfClass:NSDictionary.class forKey:@"metaData"];
self.metadata = [decoder decodeObjectOfClass:NSDictionary.class forKey:@"metadata"];
return self;
}

Expand Down
2 changes: 1 addition & 1 deletion Branch-SDK/Branch-SDK/Branch.m
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@ - (void)processNextQueueItem {

}

dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0);
dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
dispatch_async(queue, ^ {
[req makeRequest:self.serverInterface key:self.class.branchKey callback:
^(BNCServerResponse* response, NSError* error) {
Expand Down

0 comments on commit d776d21

Please sign in to comment.