react-native-update 10.31.0 → 10.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/RCTPushy/RCTPushy.mm +3 -1
- package/package.json +1 -1
package/ios/RCTPushy/RCTPushy.mm
CHANGED
|
@@ -178,7 +178,9 @@ RCT_EXPORT_MODULE(RCTPushy);
|
|
|
178
178
|
NSDictionary *pushyInfo = [defaults dictionaryForKey:keyPushyInfo];
|
|
179
179
|
NSString *currentVersion = [pushyInfo objectForKey:paramCurrentVersion];
|
|
180
180
|
ret[@"currentVersion"] = currentVersion;
|
|
181
|
-
|
|
181
|
+
if (currentVersion != nil) {
|
|
182
|
+
ret[@"currentVersionInfo"] = [defaults objectForKey:[keyHashInfo stringByAppendingString:currentVersion]];
|
|
183
|
+
}
|
|
182
184
|
|
|
183
185
|
// clear isFirstTimemarked
|
|
184
186
|
if (ret[@"isFirstTime"]) {
|