react-native-update 9.0.4 → 9.0.5
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/android/proguard.pro +1 -0
- package/ios/pushy_build_time.txt +1 -1
- package/lib/main.ts +1 -2
- package/package.json +1 -1
package/android/proguard.pro
CHANGED
package/ios/pushy_build_time.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1680488830
|
package/lib/main.ts
CHANGED
|
@@ -139,7 +139,7 @@ export async function checkUpdate(APPKEY: string, isRetry?: boolean) {
|
|
|
139
139
|
const now = Date.now();
|
|
140
140
|
if (lastResult && lastChecking && now - lastChecking < 1000 * 60) {
|
|
141
141
|
// logger('repeated checking, ignored');
|
|
142
|
-
return lastResult
|
|
142
|
+
return lastResult;
|
|
143
143
|
}
|
|
144
144
|
lastChecking = now;
|
|
145
145
|
if (blockUpdate && blockUpdate.until > Date.now() / 1000) {
|
|
@@ -190,7 +190,6 @@ export async function checkUpdate(APPKEY: string, isRetry?: boolean) {
|
|
|
190
190
|
//@ts-ignore
|
|
191
191
|
message: result.message,
|
|
192
192
|
});
|
|
193
|
-
return lastResult;
|
|
194
193
|
}
|
|
195
194
|
|
|
196
195
|
return result;
|