Skip to content

AuthorizationResult — @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 { AuthorizationResult } from '@gj-kit/expo-workouts/core';
/**
* `requestAuthorization`'s result: the state afterwards, plus whether we can attribute it to the
* user. `conclusive: false` means the OS returned an answer we cannot attribute — on Android,
* bouncing off Health Connect's first-run onboarding with "Go back" returns an EMPTY permission set
* after ~20 s, byte-identical to denying everything. Treat it as "ask again later", NEVER as denial.
*/
type AuthorizationResult = AuthorizationState & {
readonly conclusive: boolean;
};

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