diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 4078bedf9..d83dc4e1c 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -424,8 +424,8 @@ PODS: - RNFBApp - RNGestureHandler (1.10.3): - React-Core - - RNIap (7.1.0): - - React-Core + - RNIap (3.4.15): + - React - RNImageCropPicker (0.35.3): - React-Core - React-RCTImage @@ -743,7 +743,7 @@ SPEC CHECKSUMS: RNFBDynamicLinks: f12ce456e83fffb1d8a4bcc77b89be804179cde0 RNFBMessaging: 9287cbf850ed3524c9f915f5b3daaf1cfaabbf06 RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211 - RNIap: 207bd8984d26e733ce16457fd61f8ed9a628cfcf + RNIap: b4c77c8bc4501203f4b743126a05da23f10f40b4 RNImageCropPicker: 08ba3a2e2f4f8833d606f01906c371e382c4dea9 RNReanimated: e03f7425cb7a38dcf1b644d680d1bfc91c3337ad RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8d diff --git a/package.json b/package.json index 5e0685932..0ba8ae645 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "react-native-fast-image": "^8.3.2", "react-native-gesture-handler": "^1.9.0", "react-native-highlight-words": "^1.0.1", - "react-native-iap": "^7.1.0", + "react-native-iap": "3.4.15", "react-native-image-crop-picker": "^0.35.2", "react-native-image-size": "^1.1.3", "react-native-image-zoom-viewer": "^2.2.27", diff --git a/src/realm/realm.js b/src/realm/realm.js index 0af935a40..61723fd45 100644 --- a/src/realm/realm.js +++ b/src/realm/realm.js @@ -314,7 +314,7 @@ export const getLastUpdateCheck = async (lastUpdateCheck) => { try { const setting = await getItemFromStorage(SETTINGS_SCHEMA); if (setting) { - return setting.lastUpdateCheck - 48 * 3600 * 1000; + return setting.lastUpdateCheck; } return false; } catch (error) { diff --git a/yarn.lock b/yarn.lock index d36cf9f6c..86945f176 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3649,7 +3649,7 @@ domutils@^1.5.1, domutils@^1.7.0: dom-serializer "0" domelementtype "1" -dooboolab-welcome@^1.3.2: +dooboolab-welcome@^1.1.1: version "1.3.2" resolved "https://registry.yarnpkg.com/dooboolab-welcome/-/dooboolab-welcome-1.3.2.tgz#4928595312f0429b4ea1b485ba8767bae6acdab7" integrity sha512-2NbMaIIURElxEf/UAoVUFlXrO+7n/FRhLCiQlk4fkbGRh9cJ3/f8VEMPveR9m4Ug2l2Zey+UCXjd6EcBqHJ5bw== @@ -8224,12 +8224,12 @@ react-native-highlight-words@^1.0.1: highlight-words-core "^1.0.3" prop-types "^15.5.7" -react-native-iap@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/react-native-iap/-/react-native-iap-7.1.0.tgz#2e94016a756abc85dfec6210ac1063049b1b13c1" - integrity sha512-FFIzMGsDXU0EckEUCXHnOs21NBwIBFXoVKgMstmqYp7c9YKCs6LVhgWyA1Fa09J93s+u9zkspQ+k6mjgYmrL2A== +react-native-iap@3.4.15: + version "3.4.15" + resolved "https://registry.yarnpkg.com/react-native-iap/-/react-native-iap-3.4.15.tgz#0bf0f83c0591634ab562a5ec14d5a2b4e9c53c1d" + integrity sha512-hqGvG2UNWi5zrb/BLtQ0V4Hdd3Odo3s5GcAKHESv03ZzMPMoPYyTZ4rk6vRclDBnaybiij9Pb70KYH/KCWRTUA== dependencies: - dooboolab-welcome "^1.3.2" + dooboolab-welcome "^1.1.1" react-native-image-crop-picker@^0.35.2: version "0.35.3"