Skip to content

Describe what app state is in the Store update flow#487

Open
RDMacLachlan wants to merge 2 commits into
MicrosoftDocs:mainfrom
RDMacLachlan:users/romaclac/docbug-29731150
Open

Describe what app state is in the Store update flow#487
RDMacLachlan wants to merge 2 commits into
MicrosoftDocs:mainfrom
RDMacLachlan:users/romaclac/docbug-29731150

Conversation

@RDMacLachlan

Copy link
Copy Markdown
Collaborator

The Install updates code snippet in store-developer-package-update.md had a // Save app state here comment 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 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 Store and retrieve settings and other app data.

Resolves AB#29731150

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>
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 80e5ca9:

✅ Validation status: passed

File Status Preview URL Details
msix-src/store-developer-package-update.md ✅Succeeded

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
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit b4a0627:

✅ Validation status: passed

File Status Preview URL Details
msix-src/store-developer-package-update.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant