Last but not least, it is very important that users rate your app as good as possible. This is because reviews play a decisive role in successful app store optimization. Or would you download an app with two out of five stars?
A user will probably feel annoyed by a request for a review when using the app for the first time. Good timing is very important here. It would be better to request a review after multiple interactions with the app in a certain period (2x intensive use in three days or similar).
In a shopping app, on the other hand, it makes more sense to ask for a review after the second purchase. Because only then one can assume that the customer was satisfied with his first purchase and will give a good rating. Encourage your users and customers to rate with notifications in the app or use other touchpoints such as your customer service to generate positive ratings.