mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 05:21:15 +00:00
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:
@@ -5,6 +5,8 @@ import { mapboxTileCacheRequest, nativeRasterTemplate, tileCacheActive, toTileCa
|
||||
|
||||
vi.mock('./platform', () => ({ isNativeIos: vi.fn(), isNativeApp: vi.fn() }));
|
||||
vi.mock('./capabilities', () => ({ hasNativeFeature: vi.fn() }));
|
||||
// The mechanism is what is tested here; whether the GL maps use it is glSchemes.ts's switch.
|
||||
vi.mock('./glSchemes', () => ({ GL_MAPS_THROUGH_APP_SCHEMES: true }));
|
||||
|
||||
beforeEach(() => {
|
||||
vi.mocked(isNativeIos).mockReturnValue(true);
|
||||
|
||||
Reference in New Issue
Block a user