mirror of
https://github.com/SvenTiigi/WhatsNewKit.git
synced 2026-04-02 23:58:58 -06:00
How do you programmatically show what's new #20
Labels
No labels
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
question
question
question
question
question
question
question
question
question
question
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/WhatsNewKit#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pkasson on 4/6/2024
I was able to use the JSON to update the what's new for each new app version - works great !
What I wanted was a data driven (from an API call) to pull down what's new payload and use that instead of a static json file.
Having done that, and mapped the data to the WhatsNew model ... it appears a timing issue where the app gets this data from the API and store an .environment, but the what's new pop up never shows.
.environment(\.whatsNew, WhatsNewEnvironment(currentVersion :getCurrentVersion(version :utility.getWhatsNewVersion()), versionStore: (getVersionStore() == 0 ? getInMemoryVersionStore() : getUserDefaultsVersionStore()), whatsNewCollection: getCollection2()))Due to the API being async, I am trying to have the whatsNewCollection force the popup, but it never appears.
How can you update the kit to process this payload from this async call and show the popup ? THANK YOU !