As far as I know, the rule is, you can only show the native app-store review dialog once, if the user cancels, you won't get any review ever. So the idea is, to show your own until the user finally decides to review.
But now the growth hackers of the world had the brilliant idea to treat bad reviews like "the user isn't ready for a review"
It's good that android doesn't allow this. And it doesn't give a way for the app to find out if I actually rated also. So I just click yes i want to rate. Then come back and continue as usual.
Same with iOS, but I guess chances are good that people don't behave like you. (Even if I also think they should, haha)
Same with browser permissions.
Websites would ask you if you're okay with the authorization and only if you answer Yes, they would trigger the browser auth prompt.