Merge branch 'hotfix/iosFunnelCheck' into 'main'
Добавил в проверку на ios iPad и iPod See merge request witapp/aura-webapp!639
This commit is contained in:
commit
dc0f868f2e
@ -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());
|
||||
}
|
||||
|
||||
@ -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());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user