react-native/Libraries/AppStateIOS/AppStateIOS.android.js
Christopher Chedeau 642c13e3e3 Updates from Thu Mar 12
- Fixed sticky section headers in ListView | Nick Lockwood
- [ReactNative] AppState cleanup, remove Subscribable, add in OSS examples | Eric Vicenti
- [react-packager] package.json cleanup (seperate packager into it's own package) | Amjad Masad
- [ReactNative] Move PushNotificationIOS to oss | Tadeu Zagallo
- [ReactNative] Fix shake gesture after RedBox is dismissed | Alex Kotliarskyi
- [catlyst|madman] fix prop type warning | Jiajie Zhu
- [ReactNative] Remove Subscribable from TextInput | Eric Vicenti
- Unforked ExceptionsManager, AlertManager and AppState | Nick Lockwood
- [ReactNative|MAdMan] Notification Subscribable | Eric Vicenti
- [ReactNative] OSS AsyncStorage with example | Spencer Ahrens
2015-03-12 12:51:44 -07:00

25 lines
463 B
JavaScript

/**
* Copyright 2004-present Facebook. All Rights Reserved.
*
* @providesModule AppStateIOS
*/
'use strict';
var warning = require('warning');
class AppStateIOS {
static addEventListener(type, handler) {
warning('Cannot listen to AppStateIOS events on Android.');
}
static removeEventListener(type, handler) {
warning('Cannot remove AppStateIOS listener on Android.');
}
}
AppStateIOS.currentState = null;
module.exports = AppStateIOS;