- 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
18 KiB
Changelog
Unpublished
🛠 Breaking changes
🎉 New features
🐛 Bug fixes
💡 Others
17.0.1 — 2024-04-23
This version does not introduce any user-facing changes.
17.0.0 — 2024-04-18
🛠 Breaking changes
- [Web]
getPermissionsAsyncno longer prompts the user for permission instead we use the new browser APInavigator.permissions.queryto check the permission status. (#26836 by @hems)
🎉 New features
- Add ability to disable permissions in config plugin by passing
falseinstead of permission messages. (#28107 by @EvanBacon)
💡 Others
- drop unused web
nameproperty. (#27437 by @EvanBacon) - Removed deprecated backward compatible Gradle settings. (#28083 by @kudo)
- Fixed unit test errors. (#28208 by @kudo)
16.5.5 - 2024-02-29
This version does not introduce any user-facing changes.
16.5.4 - 2024-02-27
🎉 New features
- [Android] Make foreground service permission opt-in with
isAndroidForegroundServiceEnabledconfig plugin option #27265 by @brentvatne) - [Android] Enable foreground service by default when background location is enabled #27359 by @brentvatne)
16.5.3 - 2024-02-06
🐛 Bug fixes
- [Android] Fixed:
NullPointerException: it must not be null. (#26688 by @lukmccall) - On
Android, prevent location service from starting when permission is not in the manifest. (#27355 by @alanjhughes)
16.5.2 - 2024-01-10
🎉 New features
- [Android] Added
formattedAddressto theLocationGeocodedAddress. (#26342 by @whysetiawan & @lukmccall) (#26342 by @whysetiawan, @lukmccall)
🐛 Bug fixes
- [Android] Fix the module requiring the
expo-task-managermodule for methods that don't use it. (#26200 by @behenate)
16.5.1 - 2023-12-19
This version does not introduce any user-facing changes.
16.5.0 — 2023-11-14
🛠 Breaking changes
- Bumped iOS deployment target to 13.4. (#25063 by @gabrieldonadel)
- On
AndroidbumpcompileSdkVersionandtargetSdkVersionto34. (#24708 by @alanjhughes)
💡 Others
- [Android] Moved to the new Modules API. (#24737 by @behenate)
- Remove
unimodule.jsonin favour ofexpo-module.config.json. (#25100 by @reichhartd)
📚 3rd party library updates
16.4.0 — 2023-10-17
🛠 Breaking changes
16.3.0 — 2023-09-04
🎉 New features
16.2.1 — 2023-08-02
This version does not introduce any user-facing changes.
16.2.0 — 2023-07-28
This version does not introduce any user-facing changes.
16.1.0 - 2023-07-13
🐛 Bug fixes
- Downgrade play-services-location to 20.0.0 to support react-native-maps. (#23501 by @gabrieldonadel)
16.0.0 — 2023-06-21
This version does not introduce any user-facing changes.
15.3.0 — 2023-06-13
📚 3rd party library updates
- Updated
com.google.android.gms:play-services-locationto21.0.1andio.nlopez.smartlocation:libraryto3.3.3(#22468 by @josephyanks)
🐛 Bug fixes
💡 Others
- On Android, removed use of deprecated
LocationRequestconstructor and replaced withLocationRequest.Builder. (#22653 by @alanjhughes) - Removed the Geocoding API service. (#22830 by @alanjhughes)
15.2.0 — 2023-05-08
This version does not introduce any user-facing changes.
15.1.1 — 2023-02-09
This version does not introduce any user-facing changes.
15.1.0 — 2023-02-03
🐛 Bug fixes
- Removed strict null checks for expo location and avoid crash on android. (#20792 by @jayshah123 and @forki)
- Export types with type-only annotation to fix build when using
isolatedModulesflag. (#20239 by @zakharchenkoAndrii)
💡 Others
- On Android bump
compileSdkVersionandtargetSdkVersionto33. (#20721 by @lukmccall)
15.0.1 — 2022-10-28
This version does not introduce any user-facing changes.
15.0.0 — 2022-10-25
🛠 Breaking changes
🐛 Bug fixes
- Fixed
trueHeadingis sometimes bigger then 360 on Android. (#19629 by @lukmccall)
💡 Others
- [plugin] Migrate import from @expo/config-plugins to expo/config-plugins and @expo/config-types to expo/config. (#18855 by @brentvatne)
- Drop
@expo/config-pluginsdependency in favor of peer dependency onexpo. (#18595 by @EvanBacon)
14.3.0 — 2022-07-07
🐛 Bug fixes
14.2.1 — 2022-04-20
This version does not introduce any user-facing changes.
14.2.0 — 2022-04-18
🐛 Bug fixes
- Fix
Plugin with id 'maven' not foundbuild error from Android Gradle 7. (#16080 by @kudo) - Fix LocationObject type (#17070 by @rakeshpetit)
⚠️ Notices
- On Android bump
compileSdkVersionto31,targetSdkVersionto31andJavaversion to11. (#16941 by @bbarthec)
14.1.0 — 2022-01-26
🐛 Bug fixes
- Allow location to work on Android with only coarse location permission. All apps do not require fine/precise location permission, but in past Expo was enforcing fine/precise even if you only needed coarse level location. (#15760 by @Noitidart)
Unpublished
🛠 Breaking changes
- Add an option to whether kill or keep the foreground service when app is killed on Android. (#15633 by @islamouzou)
- Updated
@expo/config-pluginsfrom4.0.2to4.0.14(#15621 by @EvanBacon)
14.0.2 — 2022-02-01
🐛 Bug fixes
14.0.1 — 2021-12-15
This version does not introduce any user-facing changes.
14.0.0 — 2021-12-03
🛠 Breaking changes
🎉 New features
- Added steetNumber to
reverseGeocodeAsyncfor iOS (#13556 by @chrisdrackett)
🐛 Bug fixes
- Call
jobService.jobFinishedfor the finished geofencing jobs. (#14786 by @mdmitry01) - Check for null value of
mLocationClientto prevent a crash (#15023 by @zakharchenkoAndrii)
💡 Others
- Extract nested
foregroundServiceobject fromLocationTaskOptionstype to the separate typeLocationTaskServiceOptions. (#14672 by @Simek)
13.0.1 — 2021-10-01
This version does not introduce any user-facing changes.
13.0.0 — 2021-09-28
🛠 Breaking changes
🎉 New features
- [plugin] Added
isIosBackgroundLocationEnabledto enable the background location UIMode (#14142 by @EvanBacon) - Use stable manifest ID where applicable. (#12964 by @wschurman)
- Add useForegroundPermissions and useBackgroundPermissions hooks from modules factory. (#13860 by @bycedric)
🐛 Bug fixes
- Fixed
Location.getCurrentPositionAsyncthrowingLocation provider is unavailable.error. (#14281 by @m1st4ke) - Fix building errors from use_frameworks! in Podfile. (#14523 by @kudo)
- Update error message for
LocationUnavailableExceptionon Android. (#14539 by @kylerjensen)
💡 Others
- Updated
@expo/config-plugins(#14443 by @EvanBacon)
12.1.0 — 2021-06-16
🐛 Bug fixes
- Fixed
startLocationUpdatesAsyncrequiring the background location permission even if was used when the app is in the foreground on iOS. (#12594 by @lukmccall) - Enable kotlin in all modules. (#12716 by @wschurman)
💡 Others
12.0.4 — 2021-04-13
This version does not introduce any user-facing changes.
12.0.3 — 2021-04-09
🐛 Bug fixes
- Add support for user-initiated background tracking without background permission (#12456 by @bycedric)
12.0.2 — 2021-03-29
🐛 Bug fixes
- Lock the unimodules-permissions-interface dependency to the same version in react-native-unimodules
12.0.1 — 2021-03-26
🐛 Bug fixes
- Add missing unimodules-permissions-interface dependency
12.0.0 — 2021-03-10
🛠 Breaking changes
- Splitting location permissions into
ForegroundandBackgroundpermissions. (#12063 by @lukmccall)
🎉 New features
- 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 sticky notification on service stop on Android. (#11775 by @zaguiini)
- Remove peerDependencies and unimodulePeerDependencies from Expo modules. (#11980 by @brentvatne)
11.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
10.0.0 — 2020-11-17
🛠 Breaking changes
9.0.1 — 2020-10-02
🐛 Bug fixes
9.0.0 — 2020-08-18
🛠 Breaking changes
- Add
scopefield in returned value to indicate whether background permissions are granted. Addandroid.accuracyfield to determine whethercoarseorfinelocation permission is granted. (#9446 by @mczernek) getLastKnownPositionAsyncno longer rejects when the last known location is not available – now it returnsnull. (#9251 by @tsapeta)- Removed the deprecated
enableHighAccuracyoption ofgetCurrentPositionAsync. (#9251 by @tsapeta) - Removed
maximumAgeandtimeoutoptions fromgetCurrentPositionAsync– it's been Android only and the same behavior can be achieved on all platforms on the JavaScript side. (#9251 by @tsapeta) - Made type and enum names more consistent and in line with our standards — they all are now prefixed by
Location. The most common ones are still accessible without the prefix, but it's not the recommended way. (#9251 by @tsapeta) geocodeAsyncandreverseGeocodeAsyncno longer falls back to Google Maps API on Android. (#9444 by @tsapeta)
🎉 New features
- Added missing
altitudeAccuracyto the location object on Android (requires at least Android 8.0). (#9251 by @tsapeta) - Improved support for Web — added missing methods for requesting permissions and getting last known position. (#9251 by @tsapeta)
- Added
maxAgeandrequiredAccuracyoptions togetLastKnownPositionAsync. (#9251 by @tsapeta) - Google Maps Geocoding API can now be used on all platforms with the new
useGoogleMapsoption. (#9444 by @tsapeta) - Added
district,subregionandtimezonevalues to reverse-geocoded address object. (#9444 by @tsapeta)
🐛 Bug fixes
- Fixed different types being used on Web platform. (#9251 by @tsapeta)
getLastKnownPositionAsyncno longer requests for the current location on iOS and just returns the last known one as it should be. (#9251 by @tsapeta)- Fixed
getCurrentPositionAsyncnot resolving on Android when the lowest accuracy is used. (#9251 by @tsapeta) - Fixed
LocationGeocodedAddresstype to reflect the possibility of receivingnullvalues. (#9444 by @tsapeta)
8.3.0 — 2020-07-16
🐛 Bug fixes
- Added some safety checks to prevent
NullPointerExceptionsin background location on Android. (#8864 by @mczernek) - Add
isoCountryCodetoAddresstype and reverse lookup. (#8913 by @bycedric) - Fix geocoding requests not resolving/rejecting on iOS when the app is in the background or inactive state. It makes it possible to use geocoding in such app states, however it's still discouraged. (#9178 by @tsapeta)
8.2.1 — 2020-05-29
This version does not introduce any user-facing changes.
8.2.0 — 2020-05-27
This version does not introduce any user-facing changes.