From 90700ec2cabf434a3bcdf84719fa3cc91a53100d Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 5 Mar 2025 23:55:56 +0100 Subject: [PATCH 1/4] Update biometrics-utils.test.ts --- apps/mobile/src/features/biometrics/biometrics-utils.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/features/biometrics/biometrics-utils.test.ts b/apps/mobile/src/features/biometrics/biometrics-utils.test.ts index 12959fa4481..00a406c170d 100644 --- a/apps/mobile/src/features/biometrics/biometrics-utils.test.ts +++ b/apps/mobile/src/features/biometrics/biometrics-utils.test.ts @@ -16,7 +16,7 @@ describe(tryLocalAuthenticate, () => { expect(status).toEqual(BiometricAuthenticationStatus.Unsupported) }) - it('checks enrollement', async () => { + it('checks enrollment', async () => { mockedHasHardwareAsync.mockResolvedValue(true) mockedIsEnrolledAsync.mockResolvedValue(false) mockedAuthenticateAsync.mockResolvedValue({ success: false, error: '' }) From b09be3ffe42c5475dc41e128f16d644fad7d131e Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 5 Mar 2025 23:57:04 +0100 Subject: [PATCH 2/4] Update OfflineBanner.tsx --- apps/mobile/src/components/banners/OfflineBanner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/components/banners/OfflineBanner.tsx b/apps/mobile/src/components/banners/OfflineBanner.tsx index 31f11123b11..9387fe1a497 100644 --- a/apps/mobile/src/components/banners/OfflineBanner.tsx +++ b/apps/mobile/src/components/banners/OfflineBanner.tsx @@ -20,7 +20,7 @@ export function OfflineBanner(): JSX.Element | null { const finishedOnboarding = useSelector(selectFinishedOnboarding) const isModalOpen = useSelector(selectSomeModalOpen) - // Needs to explicity check for false since `netInfo.isConnected` may be null + // Needs to explicitly check for false since `netInfo.isConnected` may be null const showBanner = netInfo.isConnected === false && finishedOnboarding && !isModalOpen if (__DEV__) { From 7f6c0cd1201da966c8216f7ca2362a6b451e50a3 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Wed, 5 Mar 2025 23:57:53 +0100 Subject: [PATCH 3/4] Update NotificationService.swift --- .../NotificationService.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/ios/OneSignalNotificationServiceExtension/NotificationService.swift b/apps/mobile/ios/OneSignalNotificationServiceExtension/NotificationService.swift index debce291b58..ff8f9b9075d 100644 --- a/apps/mobile/ios/OneSignalNotificationServiceExtension/NotificationService.swift +++ b/apps/mobile/ios/OneSignalNotificationServiceExtension/NotificationService.swift @@ -54,7 +54,7 @@ class NotificationService: UNNotificationServiceExtension { sdkKey: statsigSdkKey, user: statsigUser, options: StatsigOptions( - environment: StatsigEnvironment(tier: getStatsigEnvironemntTier()), + environment: StatsigEnvironment(tier: getStatsigEnvironmentTier()), initializationURL: URL(string: "\(Constants.statsigProxyHost)/v1/statsig-proxy/initialize"), eventLoggingURL: URL(string: "\(Constants.statsigProxyHost)/v1/statsig-proxy/rgstr") )) { _errorMessage in @@ -65,7 +65,7 @@ class NotificationService: UNNotificationServiceExtension { } } - func getStatsigEnvironemntTier() -> String { + func getStatsigEnvironmentTier() -> String { let bundleSuffix = Bundle.main.object(forInfoDictionaryKey: "BUNDLE_ID_SUFFIX") as? String switch bundleSuffix { From 0e0bf3c81e05d7690ce8759527565ab03cf52f3a Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Tue, 1 Apr 2025 21:37:10 +0200 Subject: [PATCH 4/4] Update NotificationService.swift --- .../NotificationService.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/ios/OneSignalNotificationServiceExtension/NotificationService.swift b/apps/mobile/ios/OneSignalNotificationServiceExtension/NotificationService.swift index ff8f9b9075d..debce291b58 100644 --- a/apps/mobile/ios/OneSignalNotificationServiceExtension/NotificationService.swift +++ b/apps/mobile/ios/OneSignalNotificationServiceExtension/NotificationService.swift @@ -54,7 +54,7 @@ class NotificationService: UNNotificationServiceExtension { sdkKey: statsigSdkKey, user: statsigUser, options: StatsigOptions( - environment: StatsigEnvironment(tier: getStatsigEnvironmentTier()), + environment: StatsigEnvironment(tier: getStatsigEnvironemntTier()), initializationURL: URL(string: "\(Constants.statsigProxyHost)/v1/statsig-proxy/initialize"), eventLoggingURL: URL(string: "\(Constants.statsigProxyHost)/v1/statsig-proxy/rgstr") )) { _errorMessage in @@ -65,7 +65,7 @@ class NotificationService: UNNotificationServiceExtension { } } - func getStatsigEnvironmentTier() -> String { + func getStatsigEnvironemntTier() -> String { let bundleSuffix = Bundle.main.object(forInfoDictionaryKey: "BUNDLE_ID_SUFFIX") as? String switch bundleSuffix {