File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,9 @@ - (NSDictionary *)constantsToExport
178
178
NSDictionary *pushyInfo = [defaults dictionaryForKey: keyPushyInfo];
179
179
NSString *currentVersion = [pushyInfo objectForKey: paramCurrentVersion];
180
180
ret[@" currentVersion" ] = currentVersion;
181
- ret[@" currentVersionInfo" ] = [defaults objectForKey: [keyHashInfo stringByAppendingString: currentVersion]];
181
+ if (currentVersion != nil ) {
182
+ ret[@" currentVersionInfo" ] = [defaults objectForKey: [keyHashInfo stringByAppendingString: currentVersion]];
183
+ }
182
184
183
185
// clear isFirstTimemarked
184
186
if (ret[@" isFirstTime" ]) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-update" ,
3
- "version" : " 10.31.1 " ,
3
+ "version" : " 10.31.2 " ,
4
4
"description" : " react-native hot update" ,
5
5
"main" : " src/index" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments