Asking permission doesn't work

Hello everyone.
I try to give location users permissions in case they deny it, the logic is as follows.


The previous blocks mean that if the user denies the location permission, they send a message telling them that it is mandatory to continue browsing the App and that is why they should be sent to accept the permission, but it is not like that, it simply seems that the block does not work from “Ask For Permission” What can I do? I am doing something wrong?

Are you testing in companion? If do it won’t work, just test in apk. In which android version you are testing in?

I tried it in partner and in apk and I still don’t get results, I allow you to use my app from version 5.0 onwards and the device I’m testing is android 11.