Turf app no longer runs in background when using other apps

Status
closed
Resolution
fixed
Turf version
2.1.20 - beta release (please upgrade)
Reported by
Artful
Date submitted
2023-11-18 09:40
Issue ID
#15399

Steps to reproduce

Open Turf app and close your phone (like to put it in your pocket)

Description

The app doesn't keep running in the background. When you open it up again it isn't communicating with the service, the avatar hasn't been moving, and it takes a few seconds to reset itself. The turf avatar has been on throughout. It means you can no longer turf with your phone in your pocket. The Location services are set to "Whilst Using App" and there is no way to change that to Always Use. The background switch is set to on.

Attachments

No attachments.

Related issues

No related issues.

Responses

Artful
  • Also affected
  • Turf 2.1.20 - beta release

I have reinstalled the app including taking it out of the beta but all options have the same problem.

happyf

I also run 2.1.20 and can't reproduce it. Have you checked all power saving settings? Do you have the same behaviour in other map apps (like Google maps)?

Artful
  • Also affected
  • Turf 2.1.20 - beta release
  • Samsung S23 Android 14

Thanks for the quick response. I've checked all of the power settings and set them to as unrestricted as possible. Updated the phone in case that was the problem and reinstalled the app, deleted its data etc. When I look at the map on Turfgame.com my avatar disappears around a minute after switching away from the Turf app. It doesn't matter if the screen sleeps or not. As soon as I switch back to the Turf app the avatar reappears maybe 5 seconds later. I wondered if it might be connected to the new way Android 14 is freezing cached apps? android-developers.googlebl....

TommyH
  • Also affected
  • Thinks it is important
  • Turf 2.1.20 - beta release
  • Sony Xperia 1V Android 14

I have the same problem, and I can see in the chat for my region that others are also affected. Probably everyone with Android 14.

jiv
  • Also affected
  • Thinks it is important
  • Turf 2.1.20 - beta release
  • Google Pixel 6 Android 14

Normally I'd pocket Turf with a Garmin watch notifying me when I enter and take a zone. This is no longer possible - if I take a zone (with the app open), hit the power button to turn off the screen, stick the phone in my pocket - when I arrive at the next zone and turn my screen back on, I'll have a full bar for the previous zone, my avatar will be at the previous zone. It'll take several seconds for GPS to kick in and my avatar to relocate to my real location. And of course, if I leave the screen off this never happens and I won't take the zone.

jiv
  • Also affected
  • Thinks it is important
  • Turf 2.1.20 - beta release
  • Google Pixel 6 Android 14

Normally I'd pocket Turf with a Garmin watch notifying me when I enter and take a zone. This is no longer possible - if I take a zone (with the app open), hit the power button to turn off the screen, stick the phone in my pocket - when I arrive at the next zone and turn my screen back on, I'll have a full bar for the previous zone, my avatar will be at the previous zone. It'll take several seconds for GPS to kick in and my avatar to relocate to my real location. And of course, if I leave the screen off this never happens and I won't take the zone.

jiv
  • Also affected
  • Thinks it is important
  • Turf 2.1.20 - beta release
  • Google Pixel 6 Android 14

Normally I'd pocket Turf with a Garmin watch notifying me when I enter and take a zone. This is no longer possible - if I take a zone (with the app open), hit the power button to turn off the screen, stick the phone in my pocket - when I arrive at the next zone and turn my screen back on, I'll have a full bar for the previous zone, my avatar will be at the previous zone. It'll take several seconds for GPS to kick in and my avatar to relocate to my real location. And of course, if I leave the screen off this never happens and I won't take the zone.

jiv
  • Also affected
  • Thinks it is important
  • Turf 2.1.20 - beta release
  • Google Pixel 6 Android 14

Normally I'd pocket Turf with a Garmin watch notifying me when I enter and take a zone. This is no longer possible - if I take a zone (with the app open), hit the power button to turn off the screen, stick the phone in my pocket - when I arrive at the next zone and turn my screen back on, I'll have a full bar for the previous zone, my avatar will be at the previous zone. It'll take several seconds for GPS to kick in and my avatar to relocate to my real location. And of course, if I leave the screen off this never happens and I won't take the zone.

jiv
  • Also affected
  • Thinks it is important
  • Turf 2.1.20 - beta release
  • Google Pixel 6 Android 14

Normally I'd pocket Turf with a Garmin watch notifying me when I enter and take a zone. This is no longer possible - if I take a zone (with the app open), hit the power button to turn off the screen, stick the phone in my pocket - when I arrive at the next zone and turn my screen back on, I'll have a full bar for the previous zone, my avatar will be at the previous zone. It'll take several seconds for GPS to kick in and my avatar to relocate to my real location. And of course, if I leave the screen off this never happens and I won't take the zone.

happyf

Can you try the latest betaversion and see if that helps?

Artful
  • Turf Other version (please tell us!)
  • Samsung

Yes that's done it. You can now select Location permissions to "Always" whereas before it was "While Using App". When changed to "Always" this seems to have fixed it. Thank you!

raz
  • Also affected
  • Thinks it is important
  • Turf Other version (please tell us!)

VERSION 2.1.20 Same problem. The gps-connection "dies" when the screen is turned off.

Harefeet
  • Turf 2.1.20 - beta release
  • Sony Xperia 10 V Android 14

I have the same problem, it's only cropped up in the last few days.

Harefeet
  • Turf 2.1.20 - beta release
  • Sony Xperia 10 V Android 14

I have the same problem, it's only cropped up in the last few days.

Add comment or attachment

Comments or attachments cannot be added to this issue. If you think that this issue is not solved properly, please submit a new issue.