- 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
30 KiB
Changelog
Unpublished
🛠 Breaking changes
🎉 New features
🐛 Bug fixes
💡 Others
15.0.16 — 2024-09-13
This version does not introduce any user-facing changes.
15.0.15 — 2024-08-24
🎉 New features
- On
Android, add support for setting the aspect ratio of the camera. (#29822 by @alanjhughes) - Support mirroring the output of the front facing camera. (#30430 by @alanjhughes)
- On
Android, support mirroring video when using front facing camera. Control mirroring with a prop. Deprecatemirroroption ontakePictureAsyncandrecordAsync. (#30548 by @alanjhughes) - Support pausing and resuming the preview. (#30666 by @alanjhughes)
- Add
activeprop to stop and start the camera session. Useful with navigation where the camera is can still be active on a previous screen. (#30802 by @alanjhughes)
🐛 Bug fixes
- On
iOS, correctly stop the session when theCameraViewis removed. (#30580 by @alanjhughes) - Fix rendering order of child views. (#30759 by @alanjhughes)
- Set the previews
scaleTypewhen the aspect ratio is set. (#30831 by @alanjhughes) - On Android, fix selecting
pictureSize. (#31093 by @alanjhughes)
15.0.14 — 2024-07-16
This version does not introduce any user-facing changes.
15.0.13 — 2024-07-03
🐛 Bug fixes
- On
iOS, fix callingtakePicturefrom the simulator. (#30103 by @alanjhughes) - On
iOS, fix touch interactions when using gesture handler. (#30338 by @alanjhughes)
15.0.12 — 2024-06-20
🐛 Bug fixes
- Prevent shutter sound when device volume is muted. (#29638 by @frederikocmr)
- On
Android, correct image orientation whenexifis set to true intakePictureAsync. (#29712 by @alanjhughes)
15.0.11 — 2024-06-13
🐛 Bug fixes
- Fix return type of scanFromURLAsync. (#29547 by @janicduplessis)
- On
web, fix missing function "getCapabilities" in Firefox. (#28947 by @miso-belica) - Allow starting the camera with the torch enabled. (#29217 by @alanjhughes)
- On
iOS, return the correct orientation in the exif data. (#29681 by @alanjhughes)
💡 Others
- Make the returned
typeinBarCodeScanningResultconsistent. (#29421) by @alanjhughes)
15.0.10 — 2024-05-29
🐛 Bug fixes
- On
iOS, prevent a crash when rendering the view on a simulator. (#28911 by @alanjhughes) - On
iOS, fix incorrect orientation when taking pictures in landscape. (#28917 by @alanjhughes) - On
iOS, set previewLayer on scanner to get correct dimensions. (#28931 by @alanjhughes) - On
Android, correctly handle orientation when landscape pictures are rendered. (#28929 by @alanjhughes)
15.0.8 — 2024-05-13
🐛 Bug fixes
- On
iOS, fix dead frames when switching from picture to video. (#28783 by @alanjhughes)
15.0.7 — 2024-05-13
💡 Others
- Remove unused property
intervalfromBarcodeSettings. (#28760 by @alanjhughes)
15.0.6 — 2024-05-10
🐛 Bug fixes
- Fix documention for
maxDurationinCameraRecordingOptions. (#28749 by @alanjhughes)
15.0.5 — 2024-05-09
🐛 Bug fixes
- On
iOS, fixean13barcodes not returning data. (#28674 by @alanjhughes)
15.0.4 — 2024-05-07
🎉 New features
- Add
autoFocusprop to allow setting the device focus mode. (#28650 by @alanjhughes)
15.0.3 — 2024-04-29
🎉 New features
- Support scanning barcodes from a provided image URL. (#28445 by @alanjhughes)
15.0.2 — 2024-04-24
🐛 Bug fixes
- On
iOS, fixed regression where recording a video captures dark frames. Reduced frequency of camera initialization. (#28427 by @alanjhughes)
15.0.1 — 2024-04-23
This version does not introduce any user-facing changes.
15.0.0 — 2024-04-18
🎉 New features
- Add ability to disable permissions in config plugin by passing
falseinstead of permission messages. (#28107 by @EvanBacon) - Add
pictureSizeprop toCameraViewcomponent. (#27664 by @alanjhughes) - Allow user to remove
NSMicrophoneUsageDescriptionand ignore themuteprop if they don't intend to use video. (#28156 by @alanjhughes) - Add
animateShutterprop to provide feedback when a picture is taken. Also added shutter sound on android. (#28211 by @alanjhughes)
🐛 Bug fixes
- Allow users using xcode 14 to still build when including camera. (#27873 by @alanjhughes)
- Fix an issue where the permission functions were being imported from the wrong file. (#27988 by @alanjhughes)
- Fix an issue on
iOSwhere the barcode types did not match the typescript representation. Also enabled scanningupc_acodes oniOS. (#28233 by @alanjhughes)
💡 Others
- drop unused web
nameproperty. (#27437 by @EvanBacon) - On
Android, requesting audio permissions was meant to be optional in the config plugin. (#27365 by @alanjhughes) - Prevent unnecessary configuration changes wherever possible. (#27919 by @alanjhughes)
- On
Android, only recreate camera after certain props have changed. (#27952 by @alanjhughes) - Removed deprecated backward compatible Gradle settings. (#28083 by @kudo)
- Promote
nextpackage to stable. (#28226 by @alanjhughes)
14.1.1 - 2024-03-13
This version does not introduce any user-facing changes.
14.1.0 - 2024-03-13
🐛 Bug fixes
- On
Android, fix empty qualities being passed to QualitySelector (#27126 by @leonhh) - On
web, prevent creating a webworker when rendering on the server (#27222 by @marklawlor) - On
iOS, fix method call on an optional variable. (#27235 by @alanjhughes) - Fix scanned frame bounds when scanning a barcode. (#27207 by @tamagokun)
- Fix incorrect prop name
flashbeing passed to native. (#27394 by @alanjhughes) - Ensure
muteprop is passed to native so it is correctly initialiased even when not provided from JS. (#27546 by @alanjhughes) - On
iOS, fix camera orientation on initial render. (#27545 by @alanjhughes) - On
iOS, fix an issue where the configuration can be interuppted when the dev menu is presented on intial launch. (#27572 by @alanjhughes) - On
iOS, fixgetAvailablePictureSizesin the legacy package. (#27642 by @alanjhughes)
14.0.6 - 2024-03-07
🐛 Bug fixes
- On
iOS, fix the orientation value inonResponsiveOrientationChangedwhenexifis set to true. (#27314 by @alanjhughes)
14.0.5 - 2024-02-16
🎉 New features
BarCodeAnalyzernow passes an additionalrawfield to itsonCompletecallback, corresponding to the barcode value as it was encoded in the barcode without parsing. Will always be undefined on iOS. (#25391 by @ajacquierbret)
🐛 Bug fixes
- Set a higher resolution for barcode scans to allow scanning of high resolution barcodes. (#26886) by @byudaniel) (#26886 by @byudaniel)
- Fix barcode types casing errors. (#26888 by @byudaniel)
- On
Android, fix the camera not being released when the view is destroyed. (#27086 by @alanjhughes)
💡 Others
- Make the casing of
Barcodeconsistent. (#26900 by @alanjhughes)
14.0.4 - 2024-02-06
This version does not introduce any user-facing changes.
14.0.3 - 2024-01-26
🐛 Bug fixes
- On
iOS, barcode types were not converted correctly causing the scanner to not start immediately. (#26704 by @alanjhughes) - On
iOS, fixmaxDurationtimescale on videos. (#26882 by @alanjhughes)
14.0.2 - 2024-01-23
🐛 Bug fixes
- Fix naming of web files. (#26505 by @alanjhughes)
14.0.1 - 2023-12-19
This version does not introduce any user-facing changes.
14.0.0 — 2023-12-12
🎉 New features
- Methods
stopRecording,pausePreviewandresumePreviewhave been updated to return promises. (#25737 by @lukmccall)
💡 Others
- [iOS] Replace legacy
FileSysteminterfaces usage with coreFileSystemUtilities. (#25495 by @alanhughes)
13.9.0 — 2023-11-14
🛠 Breaking changes
- Bumped iOS deployment target to 13.4. (#25063 by @gabrieldonadel)
- On
AndroidbumpcompileSdkVersionandtargetSdkVersionto34. (#24708 by @alanjhughes)
🎉 New features
- [iOS] Rewrote Objective-C classes to Swift. (#22604 by @alanjhughes)
🐛 Bug fixes
- [iOS] Fix a regression from (#22604 that prevented the barcode scanner from starting.(#25053 by @alanjhughes)
💡 Others
- Use
pointerEventstyle instead of prop. (#24931 by @EvanBacon)
13.8.0 — 2023-10-17
🛠 Breaking changes
- Dropped support for Android SDK 21 and 22. (#24201 by @behenate)
- Mark the
ratioparam ofgetAvailablePictureSizesas required because omitting it causes a crash on Android. On iOS, the param has no effect. (#24234 by @vonovak)
💡 Others
- Ship untranspiled JSX to support custom handling of
jsxandcreateElement. (#24889 by @EvanBacon)
13.7.0 — 2023-09-15
This version does not introduce any user-facing changes.
13.4.4 — 2023-09-11
🐛 Bug fixes
- Remove @koale/useworker. (#23967 by @marklawlor)
13.6.0 — 2023-09-04
🎉 New features
🐛 Bug fixes
- Fixed flash is not enabled during recordings. (#23776 by @tszheichoi)
- On iOS, fix dead frames when starting a video recording. (#22037 by @alanjhughes)
- Remove @koale/useworker. (#23967 by @marklawlor)
13.5.1 — 2023-08-02
This version does not introduce any user-facing changes.
13.5.0 — 2023-07-28
🐛 Bug fixes
- Fixed issue with checking camera/microphone permissions in Firefox. (#22855 by @loganrosen)
13.4.2 - 2023-07-04
🐛 Bug fixes
- Fix crash when onBarCodeScanned or onFacesDetected callback is removed. (#23223 by @thespacemanatee)
13.4.1 — 2023-06-28
🐛 Bug fixes
- Resolved an issue on Android where recording a video, even with the mute: true option, would still result in an audio permission exception. Furthermore, the mute flag was incorrectly referred to as muteValue, causing it to be consistently ignored (#23145 by @hirbod)
13.4.0 — 2023-06-13
- Fixed
Expo camera - Cannot take landscape photos if screen orientation is locked'on iOS. (#21938 by @chalenascholl) (#21956 by @chalenascholl)
🐛 Bug fixes
13.3.0 — 2023-05-08
This version does not introduce any user-facing changes.
13.2.1 — 2023-02-09
This version does not introduce any user-facing changes.
13.2.0 — 2023-02-03
🐛 Bug fixes
- Fix path where simulator saves photos (#20872 by @pettomartino)
- Fixed
Cannot set prop 'barCodeScannerSettings' on view 'class expo.modules.camera.ExpoCameraView'on Android. (#21033 by @lukmccall)
💡 Others
- On Android bump
compileSdkVersionandtargetSdkVersionto33. (#20721 by @lukmccall)
13.1.0 - 2022-11-23
🐛 Bug fixes
💡 Others
13.0.0 — 2022-10-25
🐛 Bug fixes
- Added
boundsproperty to theBarCodeScanningResult. (#19519 by @lukmccall)
13.0.0-beta.1 — 2022-10-06
🛠 Breaking changes
- [plugin] Upgrade minimum runtime requirement to Node 14 (LTS). (#18204 by @EvanBacon)
- Bumped iOS deployment target to 13.0 and deprecated support for iOS 12. (#18873 by @tsapeta)
🎉 New features
- On iOS and Android, added new
additionalExifparameter totakePictureAsync()method so that users can add extra information to the photos, such as GPS coordinates. (#18469 by @alexyangjie) - Native module for camera view is now written in Swift using the new API. (#18703 by @tsapeta)
🐛 Bug fixes
- Fix error when calling
takePictureAsync()on Android emulator. (#18704) by @keith-kurak) - Add
cornerPointstoonBarCodeScannedon Android. (#19357 by @igoro00) - Fix error where
takePictureAsync()saved the photo to a global cache directory that was inaccessible in Expo Go. (#19205 by @aleqsio)
💡 Others
- Drop
@expo/config-pluginsdependency in favor of peer dependency onexpo. (#18595 by @EvanBacon) - Refactored inline Android emulator checks to use enhanced checking in
EmulatorUtilities.isRunningOnEmulator(). (#16177) by @kbrandwijk, @keith-kurak)
12.3.0 — 2022-07-07
🐛 Bug fixes
- On Web prevent the QR worker to be immediately cleaned up after finishing it's job to allow reusing it later (e.g. do not re-download every script upon repetitive worker launch). (#15369 by @jer-sen and #17833 by @bbarthec)
- Fix bug on Android that would only allow you to scan one bar code. (#17655 by @witheroux)
12.2.0 — 2022-04-18
🎉 New features
- Update
useWebQRScannerto allow scanning QR codes with inverted colors (light foreground and dark background). (#16106 by @rissois)
🐛 Bug fixes
- Fix crash on Android when app is restored from background by check for null value of
pendingFaceDetectorSettings. (#16543 by @giautm)
💡 Others
- Updated
@expo/config-pluginsfrom4.0.2to4.0.14(#15621 by @EvanBacon) - Replace
CapturedPicturetype withCameraCapturedPicturein events callback to avoid duplicated types. (#15936 by @Simek)
⚠️ Notices
- On Android bump
compileSdkVersionto31,targetSdkVersionto31andJavaversion to11. (#16941 by @bbarthec)
12.1.2 - 2022-02-04
🐛 Bug fixes
- Fix null pointer exception when barcode scanner or face detector are not installed. (#16167 by @tsapeta)
12.1.1 - 2022-02-01
🐛 Bug fixes
12.1.0 — 2021-12-03
🐛 Bug fixes
💡 Others
- Rewrite module to Kotlin. (#14717 by @mstach60161)
- [plugin] Use more specific gradle variable name. (#14966 by @EvanBacon)
12.0.1 — 2021-10-01
This version does not introduce any user-facing changes.
12.0.0 — 2021-09-28
🛠 Breaking changes
- Deprecate
getPermissionsAsyncandrequestPermissionsAsyncmethods, use specific permission requesters. (#13855 by @bycedric) - Dropped support for iOS 11.0 (#14383 by @cruzach)
🎉 New features
- Add
useCameraPermissionsanduseMicrophonePermissionshooks from modules factory. (#13855 by @bycedric) - [plugin] Add monorepo support to Android config plugin for Gradle import. (#14521 by @EvanBacon)
🐛 Bug fixes
- Fix QR code scanner in expo web by updating
@koale/useworkerto^4.0.2(#14138 by @fguitton) - Update video codec validation to properly reject an invalid codec option. (#13341 by @ajsmth)
- Add
get/requestMicrophonePermissionsAsync()andget/requestCameraPermissionsAsync()methods to named exports. (#13621 by @ajsmth) - Fix regression in video quality option of recordAsync() (#13659 by @ajsmth)
- Update permission validation to check for only camera permissions in
initWithModuleRegistry()(#13690 by @ajsmth) - Fix building errors from use_frameworks! in Podfile. (#14523 by @kudo)
💡 Others
- Migrated from
@unimodules/coretoexpo-modules-core. (#13750 by @tsapeta) - Updated
@expo/config-plugins(#14443 by @EvanBacon)
11.1.1 — 2021-06-16
This version does not introduce any user-facing changes.
11.1.0 — 2021-06-07
🎉 New features
- On iOS added new
codecparameter inrecordAsync()method and new methodgetAvailableVideoCodecsAsync()that queries the device for available video codecs. (#12772 by @ajsmth) - Added new
requestCameraPermissionsAsync(),requestMicrophonePermissionsAsync(),getCameraPermissionsAsync()andgetMicrophonePermissionsAsync()methods which gives more fine-grained control over requested permissions. (#12860 by @ajsmth)
💡 Others
- Migrated interfaces from their own packages to
expo-modules-core. (#12868, #12912, #12918 by @tsapeta)
11.0.3 — 2021-05-03
🐛 Bug fixes
- Enable kotlin in all modules. (#12716 by @wschurman)
- Add
unimodules-permissions-interfacedependency. (#12739 by @ajsmth)
11.0.2 — 2021-04-13
This version does not introduce any user-facing changes.
11.0.1 — 2021-04-01
🐛 Bug fixes
11.0.0 — 2021-03-10
🛠 Breaking changes
- Remove deprecated
barCodeTypesprop in favor ofbarCodeScannerSettings.barCodeTypes. (#11904 by @EvanBacon)
🎉 New features
- Remove lodash. (#11900 by @EvanBacon)
- Add requestPermissionsAsync and getPermissionsAsync for web. (#11694 by @IjzerenHein)
- Converted plugin to TypeScript. (#11715 by @EvanBacon)
- Updated Android build configuration to target Android 11 (added support for Android SDK 30). (#11647 by @bbarthec)
🐛 Bug fixes
- Remove peerDependencies and unimodulePeerDependencies from Expo modules. (#11980 by @brentvatne)
10.0.0 — 2021-01-15
⚠️ Notices
- The package is now shipped with prebuilt binaries on iOS. You can read more about it on expo.fyi/prebuilt-modules. (#11224 by @tsapeta)
🛠 Breaking changes
🎉 New features
- Created config plugins (#11538 by @EvanBacon)
🐛 Bug fixes
9.1.1 — 2020-12-14
This version does not introduce any user-facing changes.
9.1.0 — 2020-11-17
🎉 New features
- Added support for video poster to show while the camera is loading on web. (#9930 by @liorJuice)
9.0.0 — 2020-08-18
🛠 Breaking changes
- Fix bug where
barCodeTypesneeded to be defined on web. (#9630 by @EvanBacon) - Fix bug where camera would sometimes not start on web desktop. (#9630 by @EvanBacon)
- Deleted
CaptureOptionsin favor ofCameraPictureOptions(#9558 by @EvanBacon) - Added camera permissions declarations to
AndroidManifest.xmlon Android. (#9224 by @bycedric)
🎉 New features
- Added support for QR scanning on web. (#4166 by @EvanBacon)
- Remove
fbjsdependency - Delete
prop-typesin favor of TypeScript. (#8680 by @EvanBacon) - [camera] Directly import
createElementfromreact-native-webfor RNW v12 support. (#8773 by @EvanBacon)
🐛 Bug fixes
- Fix QR scanning on Android and iOS. (#9741 by @EvanBacon)
- [web] Fix bug where swapping cameras caused screen to flicker (#9558 by @EvanBacon)
- [web] Fix bug where swapping cameras doesn't persist camera settings (#9558 by @EvanBacon)
8.3.1 — 2020-05-29
This version does not introduce any user-facing changes.
8.3.0 — 2020-05-27
🛠 Breaking changes
- The base64 output will no longer contain newline and special character (
\n,\r) on Android. (#7841 by @jarvisluong)
🎉 New features
- Added exports for TypeScript definitions: CameraType, ImageType, ImageParameters, ImageSize, CaptureOptions, CapturedPicture (#8457 by @jarvisluong)