Describe what app state is in the Store update flow#487
Open
RDMacLachlan wants to merge 2 commits into
Open
Conversation
The Install updates code snippet had a "// Save app state here" comment followed by "app will terminate here" but never explained what app state is or why it matters. Installing a Store package update via RequestDownloadAndInstallStorePackageUpdatesAsync terminates the app to replace its files, so unsaved runtime/session data is lost unless the developer persists it first. Adds an explanatory paragraph to the Install updates section defining app state and how it applies, with a link to the app-data persistence guidance. Resolves AB#29731150 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
Learn Build status updates of commit 80e5ca9: ✅ Validation status: passed
For more details, please refer to the build report. |
Replace the em dash with a colon and drop the italic emphasis on 'app state'; this file has no emdashes and its only emphasis convention is bold for UI labels, so plain text fits the term definition. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 18e32334-aec6-40fd-a4f8-0631ef4d5840
Contributor
|
Learn Build status updates of commit b4a0627: ✅ Validation status: passed
For more details, please refer to the build report. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Install updates code snippet in
store-developer-package-update.mdhad a// Save app state herecomment followed by// Under normal circumstances, app will terminate here, but the doc never explained what app state is or why it matters.Installing a Store package update via
RequestDownloadAndInstallStorePackageUpdatesAsyncterminates the app to replace its files, so unsaved runtime/session data is lost unless the developer persists it first. Adds an explanatory paragraph to the Install updates section defining app state and how it applies, with a link to Store and retrieve settings and other app data.Resolves AB#29731150