Skip to content

ScopeStatus — @gj-kit/expo-workouts

A public type from @gj-kit/expo-workouts/core. The signature below is taken directly from the 0.1.1 release declaration.

import { ScopeStatus } from '@gj-kit/expo-workouts/core';
/**
* - 'granted' — proceed.
* - 'denied' — the user said no. `openSettings()`; asking again will not help.
* - 'undetermined' — never asked, OR the last request was inconclusive. Call `requestAuthorization()`.
* - 'unknown' — unknowable by platform design. EVERY iOS read scope that has already been asked
* about reports this, permanently. Proceed, and treat an empty result as
* ambiguous rather than as "no data".
* CLOSED for 1.x.
*/
type ScopeStatus = 'granted' | 'denied' | 'undetermined' | 'unknown';

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-workouts
  • Version: 0.1.1
  • Public entry: ./core
  • Source: GitHub