Files
Folo/apps/mobile/web-app/html-renderer/global.d.ts
T
Innei b67685b6c1 feat(mobile): enhance image preview and URL scheme handling in iOS
- Implement FollowImageURLSchemeHandler for custom image loading and caching
- Update ImagePreview to support loading images from URLs
- Modify WebView configuration to use new image URL scheme handler
- Remove deprecated image preview methods
- Update bridge data structure for image preview
- Refactor image preview logic across multiple modules

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 00:05:14 +08:00

16 lines
334 B
TypeScript

import "vite/client"
import "../../../../packages/types/react-global"
import "../../../../packages/types/global"
interface Bridge {
measure: () => void
setContentHeight: (height: number) => void
previewImage: (data: { imageUrls: string[]; index: number }) => void
}
declare global {
export const bridge: Bridge
}
export {}