# Expo Safe Backoffice Module

This directory contains a curated collection of modules from the `backoffice` package that are guaranteed to be "Expo safe."

## Purpose

The primary purpose of this module is to provide a subset of the `backoffice` functionality that is compatible with both Vite and Expo environments. Over time, the `backoffice` module has evolved to include dependencies and code that are not suitable for a React Native environment, leading to compatibility issues in our Expo applications.

To resolve this, we have isolated the components, services, types, and static data that are environment-agnostic and exported them through this "expo-safe" barrel file.

## Usage

When you need to access `backoffice` features from within a shared context (e.g., in our mobile or clinic applications), you should import them from this module:

```typescript
import {
  BrandService,
  PricingMeasure,
} from "@blackcode_sa/metaestetics-api/backoffice/expo-safe";
```

By doing so, you can be confident that you are only using code that will run seamlessly across all our platforms.

## Contribution

When adding new features to the `backoffice` package, please consider whether they are platform-agnostic. If they are, export them through this module to make them available to the wider range of applications. If a feature relies on web-specific APIs, it should be excluded from this module.
