Skip to content

createExpoLocalFileTransport — @gj-kit/expo-media

A public function from @gj-kit/expo-media. The signature below is taken directly from the 0.6.1 release declaration.

import { createExpoLocalFileTransport } from '@gj-kit/expo-media';
/**
* §5.5 — 골든패스가 기본으로 채우는 로컬 파일 전송 어댑터.
*
* ⚠ **web/SSR에서 쓰지 말 것**(§8.5 · V-B 실측). `expo-file-system`의 web 셰이프에는 이
* 업로드 경로가 아예 없고 레거시 태스크는 `{ body:'', status:0, headers:{} }`를 돌려주는 no-op다 —
* 태우면 **조용히 성공한 것처럼 보인다**. 비네이티브의 정본은 `"./web"`의
* `createFetchBinaryTransport`뿐이다.
*/
declare function createExpoLocalFileTransport(): LocalFileTransport;

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/expo-media
  • Version: 0.6.1
  • Public entry: .
  • Source: GitHub