Content-Length: 548694 | pFad | http://github.com/react-native-sensors/react-native-sensors/pull/454

9D Adding Proximity Sensor by kibolho · Pull Request #454 · react-native-sensors/react-native-sensors · GitHub
Skip to content

Adding Proximity Sensor #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 300 commits into
base: master
Choose a base branch
from

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.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/react-native-sensors/react-native-sensors/pull/454

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy