diff --git a/app.json b/app.json index 1bae8df..c1dc261 100644 --- a/app.json +++ b/app.json @@ -16,7 +16,7 @@ "supportsTablet": true, "bundleIdentifier": "com.cally.app", "googleServicesFile": "./ios/GoogleService-Info.plist", - "buildNumber": "72", + "buildNumber": "73", "usesAppleSignIn": true }, "android": { diff --git a/hooks/useFetchAndSaveGoogleEvents.ts b/hooks/useFetchAndSaveGoogleEvents.ts index b96c0f9..55b0e7a 100644 --- a/hooks/useFetchAndSaveGoogleEvents.ts +++ b/hooks/useFetchAndSaveGoogleEvents.ts @@ -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); diff --git a/ios/cally/Info.plist b/ios/cally/Info.plist index 33a80fa..4f4f49e 100644 --- a/ios/cally/Info.plist +++ b/ios/cally/Info.plist @@ -47,7 +47,7 @@ CFBundleVersion - 72 + 73 LSRequiresIPhoneOS NSAppTransportSecurity @@ -143,6 +143,7 @@ $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route + $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route UILaunchStoryboardName SplashScreen