fix: add compatibility with hermes engine
fix: add compatibility with hermes engine

* 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 <7bbcf5646b15f7348000ca91ab9bac13902289fc@gmail.com>
react-native-sensors/react-native-sensors,react-native-sensors/react-native-sensors,react-native-sensors/react-native-sensors,react-native-sensors/react-native-sensors