React Native Dev FAQ & Troubleshooting

React Native Dev FAQ & Troubleshooting

Nov 20, 2023
react native, development

SoCity Data Collector - FAQ & Troubleshooting #

Note: This continuously updated page maintains a record of common issues and their corresponding solutions. If you still can’t get this to work, see the Troubleshooting page.

# Upgrade Ruby to Latest Version
brew install ruby
ruby -v

# Upgrade Cocoapods to Latest Version
sudo gem install cocoapods
pod --version

# Re-run pod install in ios folder
cd ios
pod install

2. Sensor gyroscope(accelerometer, barometer, magnetometer) is not available, js engine: hermes #

The issue is most likely due to running the application on a ios/android simulator, where certain sensors may not be available. Running the application on a physical device should allow access to these sensors.