- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
# @react-native/debugger-frontend
|
|
|
|

|
|
|
|
Debugger frontend for React Native based on Chrome DevTools.
|
|
|
|
This package is internal to React Native and is intended to be used via [`@react-native/dev-middleware`](https://www.npmjs.com/package/@react-native/dev-middleware).
|
|
|
|
## Usage
|
|
|
|
The package exports the absolute path to the directory containing the frontend assets.
|
|
|
|
```js
|
|
const frontendPath = require('@react-native/debugger-frontend');
|
|
|
|
// Pass frontendPath to a static server, etc
|
|
```
|
|
|
|
## Contributing
|
|
|
|
### Source repo
|
|
|
|
Source code for this package lives in the [facebookexperimental/rn-chrome-devtools-frontend](https://github.com/facebookexperimental/rn-chrome-devtools-frontend) repo. See below for how we build and check in changes.
|
|
|
|
### Updating the frontend assets
|
|
|
|
The compiled assets for the debugger frontend are periodically checked into this package under the `dist/` folder. To update these, run `node scripts/debugger-frontend/sync-and-build` from the root of your `react-native` checkout.
|
|
|
|
```sh
|
|
# For main
|
|
node scripts/debugger-frontend/sync-and-build --branch main
|
|
|
|
# For stable branches (e.g. '0.73-stable')
|
|
node scripts/debugger-frontend/sync-and-build --branch 0.73-stable
|
|
```
|
|
|
|
By default, this will clone and build from [facebookexperimental/rn-chrome-devtools-frontend](https://github.com/facebookexperimental/rn-chrome-devtools-frontend).
|