refactor(ios): disable navigation gesture with js (#9287)

Do not toggle navigation gesture native to avoid unexpected behavior. close AF-1958, AF-1797
This commit is contained in:
CatsJuice
2024-12-25 04:27:51 +00:00
parent 50ff3655e5
commit 0acdf62043
6 changed files with 24 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
import { createIdentifier } from '@toeverything/infra';
export interface NavigationGestureProvider {
isEnabled: () => Promise<boolean>;
enable: () => Promise<void>;
disable: () => Promise<void>;
isEnabled: () => boolean;
enable: () => void;
disable: () => void;
}
export const NavigationGestureProvider =