(Location Service) Input location doesn't start

I am trying to get the user location, but I can’t even get the LocationServiceStatus to initialize. Input.location.status is "initializing" all the time.

I have checked that the app has permissions and that GPS is enabled, but I keep getting a Timed out error. I am testing it directly on the phone (Xiaomi Mi Lite 9). I am using the script from the documentation:

Do you have any idea what might be happening?