react-native-macos/React
zhongwuzw 338298417f Timing: Fixes timer when app get into background (#24649)
Summary:
Related #23674, in that PR, we imported background timer support, but it's not sufficient, I think the reason that works is because it enable the `Background Modes` and do some background tasks, for the users who don't enable it, timer would pause immediately before goes into background.

To fix it, we can mark a background task when goes into background, it can keep app active for minutes, try best to support timing when in background.

cc. cpojer .

## Changelog

[iOS] [Fixed] - Timing: Fixes timer when app get into background
Pull Request resolved: https://github.com/facebook/react-native/pull/24649

Differential Revision: D15554451

Pulled By: cpojer

fbshipit-source-id: a33f7afe6b63d1a4fefcb7098459aee0c09145da
2019-05-30 02:03:14 -07:00
..
Base - fix crash on performance logger (#24821) 2019-05-18 08:36:15 -07:00
CxxBridge TM iOS: Added backward-compatible ObjC invalidation logic 2019-05-15 17:36:05 -07:00
CxxModule Silence Xcode warning (#23880) 2019-03-12 22:08:21 -07:00
CxxUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
DevSupport Change default Inspector Proxy port to 8081 2019-04-03 08:39:08 -07:00
Fabric Fabric: Implementaion of RCTScrollableProtocol for RCTScrollViewComponentView 2019-05-24 19:16:32 -07:00
Inspector Don't reconnect inspector if connection refused (#22625) 2019-02-21 12:52:39 -08:00
Modules Timing: Fixes timer when app get into background (#24649) 2019-05-30 02:03:14 -07:00
Profiler Fix PerfMonitor appearance when reloading JS (#24073) 2019-03-21 03:21:15 -07:00
React.xcodeproj Do not run packager in Release mode (#24929) 2019-05-20 00:58:23 -07:00
UIUtils Calculate Correct Window Dimensions for iOS (#19932) 2019-04-10 14:25:14 -07:00
Views Move accessibilityActions property to UIView+React (#25015) 2019-05-24 15:33:43 -07:00
React-Core.podspec Move iOS WebView files to FB internal 2019-04-04 15:46:00 -07:00
React-DevSupport.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
React-RCTFabric.podspec Fabric: working podspecs & works in RNTester (#23803) 2019-03-15 23:59:22 -07:00
third-party.xcconfig Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00