Prevent the WhatsNew Screen from appearing more than once #46

Closed
opened 2025-10-14 15:57:09 -06:00 by navan · 0 comments
Owner

Originally created by @DogandElk on 5/19/2022

WhatsNewKit Environment

  • WhatsNewKit version: WhatsNewKit 2.0.2
  • Xcode version:13.3.1
  • Swift version: 5 with SwiftUI 3
  • macOS version running Xcode: macOS Monterey Version 12.3.1
  • Dependency manager (SPM, Manually): SPM

What did you do?

I added the WhatsNew package and used the code for automatic and the WhatsNew Screen appeared as expected.

What did you expect to happen?

I expected the screen to only present once, but when the app was restarted it appeared again.

What happened instead?

Every time the app is restarted the whatsnew screen appears.

How do I get the whatsnew screen to appear only once, and not on subsequent restarts of the app until another new version of the app is released and the user updates the app from the App Store ?
Thx

*Originally created by @DogandElk on 5/19/2022* ## WhatsNewKit Environment - WhatsNewKit version: WhatsNewKit 2.0.2 - Xcode version:13.3.1 - Swift version: 5 with SwiftUI 3 - macOS version running Xcode: macOS Monterey Version 12.3.1 - Dependency manager (SPM, Manually): SPM ## What did you do? > I added the WhatsNew package and used the code for automatic and the WhatsNew Screen appeared as expected. ## What did you expect to happen? > I expected the screen to only present once, but when the app was restarted it appeared again. ## What happened instead? > Every time the app is restarted the whatsnew screen appears. How do I get the whatsnew screen to appear only once, and not on subsequent restarts of the app until another new version of the app is released and the user updates the app from the App Store ? Thx
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/WhatsNewKit#46
No description provided.