Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: **Description** In the same vein as #11198, this adds a mock for the native module `AppState`. **Test plan** Create a component that uses `AppState`, e.g. ```jsx import React, { Component } from 'react'; import { AppState } from 'react-native'; class TestComponent extends Component { componentDidMount() { AppState.addEventListener('change', this.stateChangeListener); } } ``` Closes #11199 Differential Revision: D4246668 Pulled By: cpojer fbshipit-source-id: e3a73a98963a0e152a70aba78ef3461b86da0f6c
- Loading branch information