Skip to content

expoDeviceLibrary — @gj-kit/expo-media

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

import { expoDeviceLibrary } from '@gj-kit/expo-media/device';
/**
* expo 기기 라이브러리 어댑터(§5.6).
*
* peer: `expo-media-library`(`/legacy` 서브패스). `"."`·`"./core"`는 이 모듈을 **문자열로도**
* 참조하지 않으므로, 소비자가 `"./device"`를 import하지 않으면 Metro는 이 peer의 해석을
* 시도조차 하지 않는다(§3.2 — `dist-peer-graph` 가드가 CI에서 단언한다).
*/
declare function expoDeviceLibrary(): DeviceLibraryAdapter;

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: ./device
  • Source: GitHub