Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matkoniecz opened this issue Nov 30, 2018 · 9 comments
Open

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

matkoniecz opened this issue Nov 30, 2018 · 9 comments

Comments

@matkoniecz
Copy link

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
Copy link
Author

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
Copy link
Owner

Teester commented Dec 3, 2018

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
Copy link

ghost commented Dec 3, 2018 via email

@matkoniecz
Copy link
Author

Android 6.0.1

@matkoniecz
Copy link
Author

matkoniecz commented Jan 18, 2019

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
Copy link
Author

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.

@matkoniecz matkoniecz changed the title I never get questions I never get questions on visits that are not extremely long Jan 18, 2019
@ghost
Copy link

ghost commented May 12, 2019

@matkoniecz

@matkoniecz
Copy link
Author

@mondstern ?

@Lee-Carre
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants