[localization] Add default temperature unit to the locale (#24059)# Why We want to add a temperature unit field which will return the temperature unit used in the region ENG-6859 # How O
[localization] Add default temperature unit to the locale (#24059)# Why We want to add a temperature unit field which will return the temperature unit used in the region ENG-6859 # How On iOS the unit is based on the current settings in the region tab of the settings app (note: settings values are ignored in iOS simulator so any testing in the future should be done on a physical device) On Android and web a list of regions which use fahrenheit is used and compared with the current device region. # Test Plan Tested in Bare Expo on Android 13, iOS 16 and web --------- Co-authored-by: Expo Bot <[email protected]>
show more ...
[expo-localization] Fix spotless lint on expo-localization (#22985)
[expo-localization] Add hooks, config plugin changes and more features to expo-localization (#22763)
[localization] Fix two specific platform issues for Android and Web (#22003)Co-authored-by: Expo Bot <[email protected]>
[android][tools] fix android versioning (#20889)# Why fix android versioning after react-native 0.71 upgrade # How mostly fixing transforms # Test Plan 1. `et add-sdk -p android -s 4
[android][tools] fix android versioning (#20889)# Why fix android versioning after react-native 0.71 upgrade # How mostly fixing transforms # Test Plan 1. `et add-sdk -p android -s 48.0.0` 2. `cd android ; ./gradlew :app:assembleVersionedDebug` 3. versioned android expo go + sdk 48 ncl smoke test
Add manifest key to allow RTL in expo go experiences (#19634)Co-authored-by: Expo Bot <[email protected]> Co-authored-by: Łukasz Kosmaty <[email protected]> Co
Add manifest key to allow RTL in expo go experiences (#19634)Co-authored-by: Expo Bot <[email protected]> Co-authored-by: Łukasz Kosmaty <[email protected]> Co-authored-by: Tomasz Sapeta <[email protected]>
[tools] Update android versioning script for sdk 47 (#19518)# Why update android versioning script for sdk 47 # How - [android] update gradle wrapper version to 7.5.1, which aligned with r
[tools] Update android versioning script for sdk 47 (#19518)# Why update android versioning script for sdk 47 # How - [android] update gradle wrapper version to 7.5.1, which aligned with react-native 0.70 - [localization] fix compileSdkVersion 33 build error - [tools] update versioning script - remove `renameHermesEngine` which is deprecated patchelf based hermes versioning - replace duplicated runReactNativeCodegenAndroidAsync with `Codegen.runReactNativeCodegenAsync` - update versioning script to support building in-place from react-native-lab - update for react-native 0.70 - update versionCxx for expo-modules-core - support other new style vendoring modules - @react-native-community/slider - react-native-gesture-handler (with cxx files but they're only for new architecture) - react-native-screens (with cxx files but they're only for new architecture) - react-native-svg - react-native-reanimated (with cxx files) - remove old reanimated versioning scripts # Test Plan ``` $ et add-sdk -p android -s 47.0.0 $ cd android && ./gradlew :app:installVersionedDebug # smoke test on sdk 47 NCL ```
[ENG-6235][localization] Add sync methods to expo localization (#19019)Co-authored-by: Łukasz Kosmaty <[email protected]> Co-authored-by: Tomasz Sapeta <[email protected]> Co
[ENG-6235][localization] Add sync methods to expo localization (#19019)Co-authored-by: Łukasz Kosmaty <[email protected]> Co-authored-by: Tomasz Sapeta <[email protected]> Co-authored-by: Aman Mittal <[email protected]> Co-authored-by: Bartosz Kaszubowski <[email protected]>
[localization][Android] Rewrite module to Sweet API (#17775)- Updated `LocalizationModule` to use new API - Cleaned up code a bit - Deleted `LocalizationPackage`, updated `expo-module.config.js
[localization][Android] Rewrite module to Sweet API (#17775)- Updated `LocalizationModule` to use new API - Cleaned up code a bit - Deleted `LocalizationPackage`, updated `expo-module.config.json` - Updated `ExperiencePackagePicker` Co-authored-by: Expo Bot <[email protected]>
[expo-localization] fix: Exception in HostObject::get for prop 'NativeUnimoduleProxy': java.lang.NullPointerException (#16316)# Why Fixes #15899 I just migrated to the expo from `react-native
[expo-localization] fix: Exception in HostObject::get for prop 'NativeUnimoduleProxy': java.lang.NullPointerException (#16316)# Why Fixes #15899 I just migrated to the expo from `react-native-unimodules`. this error was happening only for android when I open app on android. **if I uninstall the app and reinstall the app then this error is gone.** # How by tested this code for `expo-localization` https://github.com/expo/expo/issues/15899#issuecomment-1039952877 it is working for me & @photorouletteadmin # Test Plan you have to migrate the expo from `react-native-unimodules` to `expo-modules`. this error was happening only for android when you will install the app over existing app and open app.
[localization][android] Rewrite localization module to kotlin (#14588)
[expo-modules] Move code from `unimodules` into `expo-modules-core` (#13703)# Why Migrated `unimodules-core`, `unimodules-react-native-adapter`, `unimodules-app-loader` into `expo-modules-core`
[expo-modules] Move code from `unimodules` into `expo-modules-core` (#13703)# Why Migrated `unimodules-core`, `unimodules-react-native-adapter`, `unimodules-app-loader` into `expo-modules-core` # How - Change package using AS refactor tools - Fix some places where AS wasn't able to do automatically - Fix compatibility with new auto-linking - Ensure that classes which are used during installation steps are still available in the old place # Test Plan - expo-go (tested using unversioned and 41) - bare-expo
[localization] Add currency, separators, isMetric and update region (#11663)Adds the region property for Android and 4 new properties: currency, decimalSeparator, groupingSeparator and isMetric.
[Localization] Introduce `Localization.region` (#4921)# Why Resolve #4540. # How Country variable on Android came from currently selected language, however on devices with iOS country was
[Localization] Introduce `Localization.region` (#4921)# Why Resolve #4540. # How Country variable on Android came from currently selected language, however on devices with iOS country was got from `Region` in `Language & Region`. Not all android phone provide `Region` setting, so I suggest renaming Localization.country to Localization.region and make it available only on iOS. # Test Plan You can check it on https://snack.expo.io/@lukaszkosmaty/9e807b. I also updated test-suits.
[packages] Move unimodules foundation to `org.unimodules` scope
localization link sanitization + attribution (#3730)* Unified language format * cited all java logic * Update EXLocalization.m * Removed links to own code
[ios][android][sdk][ncl] Background location, geofencing and background fetch (#2338)# Why Canny issues: - https://expo.canny.io/feature-requests/p/background-tasks-support - https://expo.cann
[ios][android][sdk][ncl] Background location, geofencing and background fetch (#2338)# Why Canny issues: - https://expo.canny.io/feature-requests/p/background-tasks-support - https://expo.canny.io/feature-requests/p/background-location-tracking - https://expo.canny.io/feature-requests/p/geofencing-api Related PR: - https://github.com/expo/universe/pull/3201 (docs) # How The core of this PR is to implement TaskManager that provides an API to manage tasks, especially these that run while the app is in the background. I hope I documented this piece enough so I don't have to write it here again This PR also adds three ways of how we can use background tasks: - Background location updates `Location.startLocationUpdatesAsync`, `Location.stopLocationUpdatesAsync`, `Location.hasStartedLocationUpdatesAsync` - Geofencing `Location.startGeofencingAsync`, `Location.stopGeofencingAsync`, `Location.hasStartedGeofencingAsync` - Background fetch `expo-background-fetch` module, *iOS only so far* Also, to improve the quality of `expo-location`, I've deprecated `enableHighAccuracy` option and introduced a new one called `accuracy`. It allows to use all possible accuracies provided by iOS platform. Android has fewer options of accuracy, but I've made simple mapping (see https://github.com/expo/expo/pull/2338/files#diff-66bdbbc66d3410d9198aa17584b5409eR633). All new modules and `expo-location` are now TypeScripted # Test Plan New APIs examples in `native-component-list`: - `BackgroundFetch` - shows the status and the date of the last background fetch which can be manually triggered in Xcode (Debug -> Simulate background fetch). - `Location` -> `Background location map` - it tracks your location by drawing a polyline. - `Location` -> `Geofencing map` - this one will work better once we merge #2316, as it should show local notifications when the device enters/exits a region. - `TaskManager` - shows all registered tasks for the experience. There are also some quick tests in `test-suite` for the new methods in `Location` and `TaskManager` modules.
[android] Strip obsolete code (#2934)# Why Technical debt--; # How - went through all the `ABIVersion` usages and removed `if` code paths for `ABI < 25`, - went through all the `SDK_INT`
[android] Strip obsolete code (#2934)# Why Technical debt--; # How - went through all the `ABIVersion` usages and removed `if` code paths for `ABI < 25`, - went through all the `SDK_INT` usages and removed `if` code paths for `SDK_INT < LOLLIPOP`. # Test Plan Android project compiles and runs .
[iOS][Android][SDK][Unimodule] Localization (#2327)* Removed deprecated methods from `Expo.Utils` * Removed: `Expo.Utils.getCurrentDeviceCountryAsync()` * Removed: `Expo.Utils.getCurrentLocaleA
[iOS][Android][SDK][Unimodule] Localization (#2327)* Removed deprecated methods from `Expo.Utils` * Removed: `Expo.Utils.getCurrentDeviceCountryAsync()` * Removed: `Expo.Utils.getCurrentLocaleAsync()` * Removed: `Expo.Utils.getCurrentTimeZoneAsync()` * Added: deprecation warning to `Expo.DangerZone.Localization.getCurrentLocaleAsync()` * Created: [Unimodule] `expo-localization` * Added: [SDK] `expo-localization` * Removed: [iOS][Android][SDK] `DangerZone.Localization` * Changed: `react-native` -> `expo-core` in `DangerZone.Localization` * Fixed: Android locale bug * Added: [Android] `expo-localization` * Added: [iOS] `expo-localization` pod * Added:[Tests] test suite tests * Added: `isRTL` boolean * Updated: [Docs] updaed example and descriptions * Changed: [SDK] `Localization` API to match sensor API * PR Updates * PR Updates * Removed: peer deps * Added: more brackets * Removed: FBSDK files * Added ability to deallocate local MR given a null MR * * Added: [Android] Case where `setModuleRegistry` is called with `null` * Removed: [iOS] Obsolete `requiresMainQueueSetup` * Removed: events * Added: [Android][iOS] async getters * Added: [Tests] `expect async to return locale` * Added deprecation warnings for `DangerZone.Localization` * removed modules * Update react-native-lab/react-native