Android 11 does not send latitude and longitude

Hi, I’m using a clock with the always fire timer turned on to send latitude and longitude to firebase realtime database when the app is not fully closed. But on Android 11 the clock with the always fire timer activated does not work in the “background” only with the application open, on other android everything works

Captura de tela 2022-01-03 180006

testlocal.aia (3.0 KB)

.It would be better to post your blocks…

…here in the community…

1 Like

it looks like you have to use an extension, which is able to run in the background

Taifun

You cant ask for location from the background according to new policies. You would have to do some changes in the extension.

Thanks for the tip but it doesn’t have to be completely in the background, I just want the clock in the Timer Always Fires function to send the coordinates to firebase, as I have other applications that use this Timer Always Fires function

I would like without using the extension as I only need the clock in the Timer Always Fires function activated, it doesn’t need to be completely in the background with the app fully closed