The primary purpose of the app is to do whatever the app is supposed to do, so unless the app's only purpose is to ask for feedback then asking for feedback (especially in the middle of a task) is disruptive and annoying.
--- Enjoying this post? Please leave a review in the form of an upvote! ---
Furthermore I think asking for reviews should be banned by the App Store (whether Google's or Apple's) guidelines as to put every app on the same playing field. Reviews are best when they come organically instead of being gamed by nagging the user (and a lot of people will just respond randomly with a 5-star just so it gets out of their way).
--- We've noticed you still haven't upvoted this post. Would you mind doing so now? It would really help us. ---
This relatively recent (10 years ago this didn't seem like a widespread thing) trend of constantly asking for feedback or similar ("SMASH THAT LIKE BUTTON!") is extremely annoying and I wish all platforms would take steps to penalize this behavior given how annoying it is (as you can probably see right here). It's even worse when it's about a product that has already lots of publicized complaints that remain ignored for years (looking at Windows 10 or similar Microsoft products).