react-native/React
Emily Janzer 7035ada867 Use 'background' app state when app is foregrounded from notif
Summary:Changing app state back to 'background' for UIApplicationWillEnterForegroundNotification.

On iOS we use the 'background' app state to determine whether a notification was tapped to foreground the app vs. received while app was already active. The PR https://github.com/facebook/react-native/pull/6379 changed RCTAppState so that it returned 'active' when app was being foregrounded from a notification; this changes it back to 'background' so that we can distinguish between the two cases again

Reviewed By: hedgerwang

Differential Revision: D3078746

fb-gh-sync-id: 8b5e9118a7e14f15871bfb68e9f85d20108b1faf
shipit-source-id: 8b5e9118a7e14f15871bfb68e9f85d20108b1faf
2016-03-21 18:39:21 -07:00
..
Base Extracted rootview-specific shadowview logic into new class 2016-03-21 03:21:27 -07:00
Executors Extracted rootview-specific shadowview logic into new class 2016-03-21 03:21:27 -07:00
Layout Backed out changeset 14a8c290bb874ab3e954b45f6fb29d71d019adc2. 2016-03-16 08:53:25 -07:00
Modules Use 'background' app state when app is foregrounded from notif 2016-03-21 18:39:21 -07:00
Profiler Fix showing RCTPerformanceLogger data 2016-03-17 07:27:27 -07:00
React.xcodeproj Extracted rootview-specific shadowview logic into new class 2016-03-21 03:21:27 -07:00
Views Extracted rootview-specific shadowview logic into new class 2016-03-21 03:21:27 -07:00