Skip to content

Conversation

kibolho
Copy link

@kibolho kibolho commented Oct 7, 2023

Android
Proximity-Android

Float result: range 0 to 10 cm

IOS
proximity-ios

Boolean result: Near = true / Far = false
image

renovate bot and others added 30 commits March 16, 2018 12:08
* initialize empty example for accelerometer

* display values

* add sensor data

* initialize empty example

* add basic example for moving the image

* endless image example

* remove useless kitten

* remove comments

* prettier
DanielMSchmidt and others added 30 commits February 18, 2021 21:24
* raw gravity added for android

* raw gravity added for ios

* prefixes

* ignore vscode config

* prefixes
* chore: move CI to github actions

* refactor: format files
* Replace nativeApis map with an object

* Remove toLocaleLowercase to make it compatible with hermes engine

* Update rnsensors.js

* Update sensors.js

Co-authored-by: Rubina <rubina.shakkyan@gmail.com>
Co-authored-by: Kennedy Mumo <kemumo@microsoft.com>
* fix RN warning about event listeners

* stop emitting events if there are no listeners on Android
* Add react native windows support for RNSensors

* Bump react native version

* Updated code to be more concise and added assertions in place off missing functionality

* Fix linking issues and added missing types to std::max

* Added barometer and magnetometer support for windows. Updated example application to include windows implementation and upgraded android

* Remove local linked in favor of metro config resolution

* Fix broken metro config and move basic sensor example to functional components

* Fix iOS basic sensor example

* Fix windows module reference

* Fix react native windows module name mismatch

* Fix react native windows collision and cleaned up header files

* Added event listener stubs for windows

* Lint fixes

* Added event listener stub for android

* Upgrade react-native to address gradle build issue

* Fix native module crash caused by react-native reuse

* Fix windows autolinking bug

* Added sensor cleanup on react native event listener cleanup

* Remove redundant module check in Windows

* Add event listener counter

* Add missing event listener count

* Add missing event listener count in AccelerometerModule

---------

Co-authored-by: Daniel Schmidt <danielmschmidt92@gmail.com>
Co-authored-by: Kennedy Mumo <kemumo@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.