Teester / Whats-Nearby

Android App for collecting information about POIs for OpenStreetMap
GNU General Public License v3.0
13 stars 2 forks source link

I never get questions on visits that are not extremely long #51

Open matkoniecz opened 5 years ago

matkoniecz commented 5 years ago

Based on Readme

It then selects the closest of these and presents you a suggestion that you might be at that location via an android notification.

I expect that it is enough to keep app in background and wait for a notification. Is my guess correct?

I disabled batter saver in my Xiaomi Redmi 4.

matkoniecz commented 5 years ago

Debug menu allowed me to confirm that it at least sometimes makes Overpass querries.

From https://github.com/Teester/Whats-Nearby/blob/master/app/src/main/java/com/teester/whatsnearby/data/questions/CreditCard.java and https://github.com/Teester/Whats-Nearby/blob/3d49e1b43a52bf32caef15be94834b09ec828edb/app/src/main/java/com/teester/whatsnearby/data/pois/ShopBakery.java I expect to get credit card question for a bakery. I will try to get debug data with shop itself.

Teester commented 5 years ago

What version of Android are you running. I'm uncertain how well the app works on Android 8 and up due to limitations in how background apps can access location and I don't have a suitable device to test on.

ghost commented 5 years ago

android 9.0

-----signatur------ deine app bei https://f-droid.org/de/ das wäre toll

matkoniecz commented 5 years ago

Android 6.0.1

matkoniecz commented 5 years ago

I tested it during shopping.

At start it was showing "not far enough from location of last query".

Later as I was walking and during shopping I was getting "Too far from last location: 33m" (sometimes with other distance) and "Not enough detection in a row".

It seems that my visit was too short to be detectable by this app.

How often location is checked? Debug menu suggests resolution of 1 minute what would be way too low to detect shop visit - that in my experience may be long, but in uncrowded shop it may be just a minute or two.

matkoniecz commented 5 years ago

And I found second problem - at least my phone gives jumps in location of 34 meters while standing still.

It resets location detection, what makes problem previously mentioned even worse.

BTW, I just get the first notification question.

ghost commented 5 years ago

@matkoniecz

matkoniecz commented 5 years ago

@mondstern ?

Lee-Carre commented 3 years ago

You're all doing better than me; I've never been asked any questions regardless of how long I'm at the same place (some very briefly, some over an hour). This has held true over many months.

Though, perhaps that's because my SM-A405FN came with Android v9 and I've since upgraded to v10.