I agree with this user experience idea, but there’s a way you can do this now (and one that might actually help your users out a little in the process).
Instead of having just one action, you can create both of these actions that you’re wanting:
- the actual action, that’s full color and does what it’s supposed to; and
- the “inoperative” action, that’s greyed out (maybe even has a different icon, one with a slash) and that when pressed brings up a pop up (the confirmation message of the action) reminding them of what they need to do next to proceed.
You put opposed conditional statements for each action, so only the appropriate one shows at the appropriate time, and it gives the user the experience of the action “just changing color”
For the alert action, there’s a simple trick where you can create a group action - but don’t add any actions to the group - so when people press the action, the confirmation message appears but nothing happens (because there’s nothing to do).
A further benefit of this type of alert method is that you can then put further actions into the group! So if you wanted the ability to direct someone to where they needed to go, you could create a deep link navigation action that takes them there.