[Woo POS][Surveys] Fix notification when user takes collect payment path. Enable feature flag. #16325
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.

Closes WOOMOB-1636
Closes WOOMOB-1480
Description
This PR enables the feature flag for POS surveys, and takes care of the 2 issues found in the CFT for POS Surveys:
Collect Paymentrather than inCreatewere not scheduled for notifications/For context, we schedule a "potential merchant" notification when a user creates an order, and we schedule a "current merchant" notification when a user runs the POS at least once (no need to re-enter in POS mode).
We do not present the "potential merchant" notification to "current merchants".
Test Steps
POSNotificationScheduler.timeIntervalInSecondsto something like 5 secondsAppCoordinator.schedulePOSSurveyNotificationIfNeededadd the following bit to clear any persisted stateprivate extension AppCoordinator { func schedulePOSSurveyNotificationIfNeeded() { + Task { @MainActor in + let action = AppSettingsAction.resetPOSSurveyNotificationScheduled { _ in } + stores.dispatch(action) + } Task { @MainActor in await POSNotificationScheduler(stores: stores).scheduleLocalNotificationIfEligible(for: .currentMerchant) let action = AppSettingsAction.setHasPOSBeenOpenedAtLeastOnce { _ in } stores.dispatch(action) } } }Create. Observe the notification is presented. Restart the app, create an order by tapping inCollect payment. Observe the notification is presented:https://indiemelon.mystagingwebsite.com/wp-content/uploads/2025/11/ScreenRecording_11-07-2025-12-03-21_1.mp4
AppSettingsAction.resetPOSSurveyNotificationScheduledhttps://indiemelon.mystagingwebsite.com/wp-content/uploads/2025/11/ScreenRecording_11-07-2025-11-56-12_1.mp4
RELEASE-NOTES.txtif necessary.