Thanks to @mar-v-in, location based on Wifi worked fine https://github.com/microg/GmsCore/issues/2237#issuecomment-2169193229