diff --git a/src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx b/src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx index 8aa41f1..3f6a93c 100644 --- a/src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx +++ b/src/components/CompatibilityV2/pages/ScannedPhoto/index.tsx @@ -190,7 +190,7 @@ function ScannedPhoto() { ); const onEndLoading = useCallback(() => { - const isIOS = /iPhone/i.test(navigator.userAgent); + const isIOS = /iPhone|iPad|iPod/i.test(navigator.userAgent); if (isIOSPath && !!authCode && isIOS) { return navigate(routes.client.compatibilityV2TryApp()); } diff --git a/src/components/PalmistryV1/pages/ScannedPhoto/index.tsx b/src/components/PalmistryV1/pages/ScannedPhoto/index.tsx index 723297b..07af3f4 100644 --- a/src/components/PalmistryV1/pages/ScannedPhoto/index.tsx +++ b/src/components/PalmistryV1/pages/ScannedPhoto/index.tsx @@ -96,7 +96,7 @@ function ScannedPhoto() { }, [currentElementIndex, drawElements.length]); const handleNext = () => { - const isIOS = /iPhone/i.test(navigator.userAgent); + const isIOS = /iPhone|iPad|iPod/i.test(navigator.userAgent); if (isIOSPath && !!authCode && isIOS) { return navigate(routes.client.palmistryV1TryApp()); }