Reduce sync

This commit is contained in:
Milan Paunovic
2024-11-01 11:01:28 +01:00
parent 9f37d22d5a
commit a4a0a66a2a
3 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,7 @@
"supportsTablet": true,
"bundleIdentifier": "com.cally.app",
"googleServicesFile": "./ios/GoogleService-Info.plist",
"buildNumber": "72",
"buildNumber": "73",
"usesAppleSignIn": true
},
"android": {

View File

@ -14,8 +14,8 @@ export const useFetchAndSaveGoogleEvents = () => {
mutationKey: ["fetchAndSaveGoogleEvents"],
mutationFn: async ({token, email}: { token?: string; email?: string }) => {
console.log("Fetching Google Calendar events...");
const timeMin = new Date(new Date().setFullYear(new Date().getFullYear() - 1));
const timeMax = new Date(new Date().setFullYear(new Date().getFullYear() + 5));
const timeMin = new Date(new Date().setMonth(new Date().getMonth() - 2));
const timeMax = new Date(new Date().setMonth(new Date().getMonth() + 2));
console.log("Token: ", token);

View File

@ -47,7 +47,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>72</string>
<string>73</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
@ -143,6 +143,7 @@
<string>$(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route</string>
</array>
<key>UILaunchStoryboardName</key>
<string>SplashScreen</string>