mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
revert D2372548 to fix initial app state issue
Reviewed By: @hedgerwang Differential Revision: D2480492
This commit is contained in:
committed by
facebook-github-bot-5
parent
65253e3915
commit
0fb3d8de83
@@ -101,13 +101,4 @@ RCT_EXPORT_METHOD(getCurrentAppState:(RCTResponseSenderBlock)callback
|
||||
callback(@[@{@"app_state": _lastKnownState}]);
|
||||
}
|
||||
|
||||
#pragma mark - RCTBridgeModule
|
||||
|
||||
- (NSDictionary *)constantsToExport
|
||||
{
|
||||
return @{
|
||||
@"initialAppState" : RCTCurrentAppBackgroundState()
|
||||
};
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user