Required the Allow location prompt

Continuing the discussion from Prompt Location dialog:

I am also finding about this location prompt since one month ,tried all possible ways by setting android permissons in AndroidManifest.xml file & in Config.xml file also but unable to get this for ionic verson 3 ,android targetSdk-31 ,cordova -8 ,cordova-android --11.
Can anyone plz help me its very needy