Modern mobile users have been conditioned to very quickly find the X, close or cancel buttons to dismiss all kinds of modal dialogs and ads in mobile apps. The typical scenario is - a user returns to the app to accomplish an activity, and an app prompts the user to rate the app in the app store:
Rating the app is an optional action, it is a "nice to have". While a user might be inclined to rate the app, however, at this very moment the user is attempting to do something, and full screen alert will just be dismissed. The alert does not accomplish it's goal, and everyone is frustrated.
What are the alternatives to the modal alert view to prompt user for optional actions on mobile?
I'm aware of the "notifications" pattern, where a non-critical piece of the screen is covered for a few seconds by a self-dismissing banner (potentially with a button):
Another pattern could be the "hero space" from web design, where a large portion of the screen is dedicated to messages: