Calling RateApplicationReminder's .Notify() method might do nothing, or might show a dialog to the user. The simplest design for my app is to call .Notify() when the user has triggered an action on a certain page, after which action the app navigates backward. However, I find that the backward navigation is stomping on the reminder, because execution isn't stalled while executing.
I'd love to see one of the following models in a future release:
- Make .Notify() an async method that returns an awaitable task; if nothing is happening, it can return an already-completed task so that awaiting it proceeds immediately. I can await the Notify method before navigating.
- Return a bool that tells whether the dialog is being shown or not. I can register for the Showing and ReminderClosed events, but I should only be waiting for those events to fire *if* the dialog is going to be displayed. This involves more wiring for me, but might be a simpler change.
(Sorry, this is referring to Phone 8, but the principle is the same.)