Skip to content

createMediaPickerActions — @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 { createMediaPickerActions } from '@gj-kit/expo-media';
/**
* Build an upload-independent camera and library picker flow.
*
* This is the right boundary for app-owned workflows such as crop, image analysis, and OCR:
* it owns OS permissions and untrusted picker-result normalization, while the app owns what it
* does with the returned local URI.
*/
declare function createMediaPickerActions(input: {
readonly picker: PickerAdapter;
readonly strings?: MediaStrings | undefined;
}): MediaPickerActions;

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