gitwtfhub

wtf is react-native-motion-manager?

skevy/react-native-motion-manager — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2015-08-13

Objective-CAudience · developerComplexity · 3/5DormantSetup · moderate

TL;DR

A React Native bridge that exposes an iPhone's accelerometer, gyroscope, and magnetometer to JavaScript code.

Mindmap

mindmap
  root((repo))
    What it does
      Exposes motion sensors
      Bridges JS and native
      Uses CMMotionManager
    Tech stack
      React Native
      Objective-C
      iOS CMMotionManager
    Use cases
      Fitness step counting
      Tilt-based games
      Compass navigation
    Audience
      iOS app developers
      Game developers
    Sensors
      Accelerometer
      Gyroscope
      Magnetometer

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Build a fitness app that counts steps using accelerometer data.

REASON 2

Make a game that responds to how the player tilts their phone.

REASON 3

Build a navigation feature that uses the magnetometer as a compass.

REASON 4

Show live graphs of raw accelerometer and gyroscope readings.

What's in the stack?

React NativeObjective-CCMMotionManager

How it stacks up

skevy/react-native-motion-managerkrausefx/eigenskevy/react-native-fbsdk
LanguageObjective-CObjective-CObjective-C
Last pushed2015-08-132017-02-182015-10-12
MaintenanceDormantDormantDormant
Setup difficultymoderatemoderate
Complexity3/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 1h+

Requires manually adding native files to the Xcode project rather than a plain npm install.

Yoink these prompts

Prompt 1
Show me how to manually link react-native-motion-manager into an Xcode project.
Prompt 2
Write JavaScript code that listens for accelerometer and gyroscope updates using this library.
Prompt 3
How do I set the sensor update frequency with react-native-motion-manager?
Prompt 4
Help me build a simple tilt-controlled game using this motion sensor bridge.

Frequently asked questions

wtf is react-native-motion-manager?

A React Native bridge that exposes an iPhone's accelerometer, gyroscope, and magnetometer to JavaScript code.

What language is react-native-motion-manager written in?

Mainly Objective-C. The stack also includes React Native, Objective-C, CMMotionManager.

Is react-native-motion-manager actively maintained?

Dormant — no commits in 2+ years (last push 2015-08-13).

How hard is react-native-motion-manager to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is react-native-motion-manager for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.