Skip to content

createFakePlatform — @gj-kit/expo-media

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

import { createFakePlatform } from '@gj-kit/expo-media/testing';
/** 객체 인자 판. `isDev`까지 정할 때 쓴다. 기본값은 `fakePlatform('ios')`와 같다. */
declare function createFakePlatform(input?: {
readonly os?: MediaPlatform | undefined;
readonly isDev?: boolean | undefined;
} | undefined): PlatformAdapter;

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