Skip to content

Commit

Permalink
Merge pull request #588 from zapcannon87/master
Browse files Browse the repository at this point in the history
release: 12.0.4
  • Loading branch information
zapcannon87 authored Nov 12, 2019
2 parents 1595a18 + 9af0318 commit 0d58376
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions AVOS/AVOSCloud/Push/AVInstallation.m
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ - (void)postSave
NSMutableDictionary *data = [self postData];
[data removeObjectForKey:@"__type"];
[data removeObjectForKey:@"className"];
if (self.deviceToken) {
data[keyPath(self, deviceToken)] = self.deviceToken;
}
if (self.apnsTeamId) {
data[keyPath(self, apnsTeamId)] = self.apnsTeamId;
}
[AVPersistenceUtils saveJSON:data toPath:[AVPersistenceUtils currentInstallationArchivePath]];
}
}
Expand Down
2 changes: 1 addition & 1 deletion AVOS/AVOSCloud/UserAgent.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define SDK_VERSION @"12.0.3"
#define SDK_VERSION @"12.0.4"
2 changes: 1 addition & 1 deletion AVOSCloud.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AVOSCloud'
s.version = '12.0.3'
s.version = '12.0.4'
s.homepage = 'https://leancloud.cn/'
s.summary = 'LeanCloud Objective-C SDK'
s.authors = 'LeanCloud'
Expand Down
2 changes: 1 addition & 1 deletion AVOSCloudIM.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AVOSCloudIM'
s.version = '12.0.3'
s.version = '12.0.4'
s.homepage = 'https://leancloud.cn/'
s.summary = 'LeanCloud IM Objective-C SDK'
s.authors = 'LeanCloud'
Expand Down
2 changes: 1 addition & 1 deletion AVOSCloudLiveQuery.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AVOSCloudLiveQuery'
s.version = '12.0.3'
s.version = '12.0.4'
s.homepage = 'https://leancloud.cn/'
s.summary = 'LeanCloud LiveQuery Objective-C SDK'
s.authors = 'LeanCloud'
Expand Down

0 comments on commit 0d58376

Please sign in to comment.