-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
API: CompletionArea: AppStateDeliverableMajor item tracked for top-level planning in ADOMajor item tracked for top-level planning in ADONeeds: Dev DesignNeeds: PM DesignNew feature or requestNew feature or requestWorkstream: Component ParityClose the parity gap between RNW and RN for core RN components and their supporting APIs.Close the parity gap between RNW and RN for core RN components and their supporting APIs.enhancement
Milestone
Description
AppState is the API in ReactNative that detects whether or not the app has focus (is in Foreground vs Background).
Today's Behavior on Desktop:
active
App is running and has focus
App is running and does not have focusbackground
App is running and minimizedinactive
Does not occur. Default scenarios where this would get triggered are Mobile-specific
Proposed Changes to Behavior on Desktop
active
App is running and has focusbackground
App is running and minimized
App is running and does not have focus
App is running but alt-tab is being preformedinactive
*Occurs when Task View is opened
*Start menu is opened in Tablet mode
*Need to review ones with respective team and key scenario owners.
Reasoning
There are essentially 6 different states that an app can be when on desktop as opposed to mobile's 4:
(RBG is the app who's AppState we are concerned about in these examples)
emmanuj and SurajMDurgad
Metadata
Metadata
Assignees
Labels
API: CompletionArea: AppStateDeliverableMajor item tracked for top-level planning in ADOMajor item tracked for top-level planning in ADONeeds: Dev DesignNeeds: PM DesignNew feature or requestNew feature or requestWorkstream: Component ParityClose the parity gap between RNW and RN for core RN components and their supporting APIs.Close the parity gap between RNW and RN for core RN components and their supporting APIs.enhancement




