fix(native): GL maps load straight from their servers in the app, past the schemes they drew nothing through on iPadOS 26

This commit is contained in:
Maurice
2026-11-08 12:11:23 +01:00
parent 9b1bf89382
commit 53c18b861a
8 changed files with 62 additions and 5 deletions
@@ -40,7 +40,10 @@ vi.mock('../../hooks/useNetworkMode', () => ({
useNetworkMode: () => ({ offline: env.offline, forced: false, setForced: () => {} }),
}));
vi.mock('../../hooks/useIsDark', () => ({ useIsDark: () => env.dark }));
vi.mock('../../native/tileCache', () => ({ tileCacheActive: () => env.tileStore }));
vi.mock('../../native/tileCache', () => ({
tileCacheActive: () => env.tileStore,
glTileStoreActive: () => env.tileStore,
}));
vi.mock('../../native/platform', async (importOriginal) => ({
...(await importOriginal<typeof import('../../native/platform')>()),
isNativeIos: () => false,