[android][sensors] fix NullPointerException in PedometerModule (#24079)# Why Experiencing a crash when using expo sensors in PedometerModule line 30 # How Avoid using the !! in kotlin and
[android][sensors] fix NullPointerException in PedometerModule (#24079)# Why Experiencing a crash when using expo sensors in PedometerModule line 30 # How Avoid using the !! in kotlin and have a fallback value for stepsAtTheBeginning
show more ...
[sensors][Android] Remove unused class `BaseSensorModule`
[sensors][Android] Migrate to new API (#23906)# Why Migrate to new API # Test Plan - bare-expo with NCL ✅
[sensors][android] Add Light sensor (#18225)Added Android support for the light sensor, based on the discussion: https://github.com/expo/expo/discussions/18101 This is mostly copy-paste of the Bar
[sensors][android] Add Light sensor (#18225)Added Android support for the light sensor, based on the discussion: https://github.com/expo/expo/discussions/18101 This is mostly copy-paste of the Barometer implementation. Does not contain Expo Go scoped sensor implementation, as it seems to work without it. More details in the PR description. Co-authored-by: Aman Mittal <[email protected]> Co-authored-by: Bartłomiej Klocek <[email protected]>
[android][sensors] Fix high sampling rate exception on Android S (#17177)# Why starting in android S (API level 31), [to use the `SensorManager.SENSOR_DELAY_FASTEST` update interval, `HIGH_SAMPL
[android][sensors] Fix high sampling rate exception on Android S (#17177)# Why starting in android S (API level 31), [to use the `SensorManager.SENSOR_DELAY_FASTEST` update interval, `HIGH_SAMPLING_RATE_SENSORS` is required.](https://developer.android.com/about/versions/12/reference/compat-framework-changes#change_id_sampling_rate_sensors_permission) close ENG-4735 # How - if AndroidManifest.xml has the `HIGH_SAMPLING_RATE_SENSORS` permission, we keep to use the `SENSOR_DELAY_FASTEST`. otherwise, we fallback to use the `SENSOR_DELAY_NORMAL` (around 200ms). - add `HIGH_SAMPLING_RATE_SENSORS` to expo go. - for standalone apps, to remove `HIGH_SAMPLING_RATE_SENSORS` as optional permission. i will have a separated pr for xdl. # Test Plan Android S + expo go + NCL AccelerometerScreen Co-authored-by: Bartłomiej Klocek <[email protected]>
[sensors][Android] Remove error from `assertSubscriptionAlive` to prevent crash (#14720)
[expo-sensors] Fix spotless lint (#13821)
[sensors][android] Convert expo-sensors to Kotlin (#13738)
[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
[sensors] Migrate interface to expo-modules-core (#12888)
[DeviceMotion] convert rotationRate to degrees (#7876)* Use correct gravity * convert rotationRate to degrees * Fix rotation rate order on Android and in docs * Make default update interva
[DeviceMotion] convert rotationRate to degrees (#7876)* Use correct gravity * convert rotationRate to degrees * Fix rotation rate order on Android and in docs * Make default update interval match iOS and web * Correct ios rotation rate * Correct device motion types * fixed type conversion
[android][task-manager] Task manager for bare in Expo (#6828)Task manager for bare android and iOS applications.
[unimodules][android] Change ModuleRegistryConsumer to RegistryLifecycleListener (#4345)# Why Modules need to know when they should release resources.
[packages] Move unimodules foundation to `org.unimodules` scope
[Flutter] Flutter Integration with Expo Universal Modules (#3255)* [flutter] Created integration to allow Flutter devs to use unimodules. * Created Flutter adapter (with a working example)
[Flutter] Flutter Integration with Expo Universal Modules (#3255)* [flutter] Created integration to allow Flutter devs to use unimodules. * Created Flutter adapter (with a working example) * Created Flutter Permissions Plugin * Created Flutter Sensors Plugin * Removed rule from build.gradle that guessed where the expo-core.gradle file would exist for Flutter before the integration was built * Added instructions to all relevant READMEs * [flutter] remove flutter dep from EXPermissions podfile * [flutter] update android adapter for expo-core changes * [flutter] fix platformexception crashes on iOS PlatformExceptions are uncatchable on iOS, so I handle errors in the adapter and rethrow them on the dart side for developers to act upon. * [flutter] update changelogs for new flutter plugins * [flutter] remove the flutter search case for expo-core.gradle that was written before the adapter was complete * [flutter] make the flutter adapter pass pub dry run * [flutter] make flutter plugins Pub-ready * [flutter] add licenses to flutter plugins
[expo-sensors] Added Barometer (#3202)* Moved Barometer from sensors-web PR * Fixed barometer for iOS & Android * Added docs to Barometer * Updated Barometer * Update docs/versions/unve
[expo-sensors] Added Barometer (#3202)* Moved Barometer from sensors-web PR * Fixed barometer for iOS & Android * Added docs to Barometer * Updated Barometer * Update docs/versions/unversioned/sdk/barometer.md Co-Authored-By: EvanBacon <[email protected]> * Update BarometerModule.java
[expo-sensors] Added isAvailable method to all sensors (#3257)* Added iOS bindings * Added Android * Added Docs * Added Native Interface * Added JS bindings * Update expoModules.js
[expo-sensors] Added isAvailable method to all sensors (#3257)* Added iOS bindings * Added Android * Added Docs * Added Native Interface * Added JS bindings * Update expoModules.js * Update docs/versions/unversioned/sdk/accelerometer.md Co-Authored-By: EvanBacon <[email protected]> * Updated docs * Fixed iOS bindings
Move universal modules to packages (#2380)* Move modules to packages * Remove unused, old, unmaintained standalone projects * Replace ['"/]modules['"/] with packages * Run pod install afte
Move universal modules to packages (#2380)* Move modules to packages * Remove unused, old, unmaintained standalone projects * Replace ['"/]modules['"/] with packages * Run pod install after regenerating ios files