Menu

Location privacy in a scavenger hunt app: what to collect, what to delete, and what never to log
📰

Location privacy in a scavenger hunt app: what to collect, what to delete, and what never to log

DEV Community: mobile·Sam Ellis·4 days ago
#CuBUGcpx
#devtomobile#devto#dev#privacy#game
Reading 0:00
15s threshold

<a href="https://dev.toprivacy

%0A[](android

%0A[](gamedev

%0A))"> A location-based game is a privacy product wearing a costume.

The moment your app says "walk 40 metres north to the next spot", you are holding someone's movement history in a system they have never read. And unlike a map app, the game is pointless without that history - every feature depends on knowing roughly where the player is. So the interesting question is not "should we collect location" but "how little can we collect and still ship a game people enjoy".

These are the decisions we made while building Ping Hunt , which generates a scavenger hunt around you and walks you to real spots you unlock by matching the scene with your phone camera.

The one rule that made everything else easier

Round the fix before you store it.

Android's Location.getAccuracy() is a radius of confidence in metres, and it is rarely what people assume. On a phone sitting flat on a café table you will often see 5-20 m of horizontal accuracy.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.