- 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
72 lines
2.4 KiB
Objective-C
72 lines
2.4 KiB
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTDefines.h>
|
|
|
|
/**
|
|
* RCTBridgeConstants are constants that are only used in the legacy architecture.
|
|
* Please place constants used in the new architecture into RCTConstants.
|
|
*/
|
|
/**
|
|
* DEPRECATED - Use RCTReloadCommand instead. This notification fires just before the bridge starts
|
|
* processing a request to reload.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeWillReloadNotification;
|
|
|
|
/**
|
|
* This notification fires whenever a fast refresh happens.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeFastRefreshNotification;
|
|
|
|
/**
|
|
* This notification fires just before the bridge begins downloading a script
|
|
* from the packager.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeWillDownloadScriptNotification;
|
|
|
|
/**
|
|
* This notification fires just after the bridge finishes downloading a script
|
|
* from the packager.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeDidDownloadScriptNotification;
|
|
|
|
/**
|
|
* This notification fires right after the bridge is about to invalidate NativeModule
|
|
* instances during teardown. Handle this notification to perform additional invalidation.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeWillInvalidateModulesNotification;
|
|
|
|
/**
|
|
* This notification fires right after the bridge finishes invalidating NativeModule
|
|
* instances during teardown. Handle this notification to perform additional invalidation.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeDidInvalidateModulesNotification;
|
|
|
|
/**
|
|
* This notification fires right before the bridge starting invalidation process.
|
|
* Handle this notification to perform additional invalidation.
|
|
* The notification can be issued on any thread.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeWillBeInvalidatedNotification;
|
|
|
|
/**
|
|
* Key for the RCTSource object in the RCTBridgeDidDownloadScriptNotification
|
|
* userInfo dictionary.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeDidDownloadScriptNotificationSourceKey;
|
|
|
|
/**
|
|
* Key for the reload reason in the RCTBridgeWillReloadNotification userInfo dictionary.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeDidDownloadScriptNotificationReasonKey;
|
|
|
|
/**
|
|
* Key for the bridge description (NSString_ in the
|
|
* RCTBridgeDidDownloadScriptNotification userInfo dictionary.
|
|
*/
|
|
RCT_EXTERN NSString *const RCTBridgeDidDownloadScriptNotificationBridgeDescriptionKey;
|