WhereYouGo icon indicating copy to clipboard operation
WhereYouGo copied to clipboard

use GPS-time

Open McKirni opened this issue 5 years ago • 5 comments

Frustrated about: All time-related ideas are pointless because any cacher can trick them by changing the system time of his mobile phone.

Solution: The WhereYouGo player looks for an "environment variable", which is defined in the cartridge and then uses the specified time-source, e.g. env_usetime=gps env_usetime=system

McKirni avatar Mar 11 '20 13:03 McKirni

I imagine it would not be easy to implement, see e.g. https://stackoverflow.com/questions/7017069/gps-time-in-android - it seems you only get the time when using specific device settings, and even then only when you get a fix, so not in a defined interval.

BTW, it would break my WIG GC6DGN4 , which relies on the possibility to change the time. Your idea of setting an environment variable is a possible solution but introduces breaking the WIG cartridge compatibility to other systems - people couldn't play it on Apple devices then...

JakeDot avatar Mar 11 '20 14:03 JakeDot

Compatibility: We are talking about WhereYouGo - it's for Android ... Many functions (e.g. MP3s, videos, links, QR-scan) does (and did) not work on Garmin. Tricky Lua-Codes does (and did) not work on Apple, too. Therefore, I have often read in cache-listings that the WIG only runs on Android. 100% compatibility is not possible and should not be the goal. The goal should be a good WIG-player with many good new options.

GC6DGN4: This cache is very funny and original (i've played it "virtual" a few years ago). And because of this cache i added the option "env_usetime=system" :-)

McKirni avatar Mar 11 '20 17:03 McKirni

see https://github.com/cgeo/WhereYouGo/issues/80#issuecomment-598424841

bekuno avatar Mar 12 '20 21:03 bekuno

Compatibility: We are talking about WhereYouGo - it's for Android ...

My main point was that it's probably impossible to prevent users from disabling GPS as the location source, even then the tech savvy could use e.g. an external tool to fake the GPS signal including time.

JakeDot avatar Mar 14 '20 12:03 JakeDot

I created a wiki page to have a general site for listing such specials. https://github.com/cgeo/WhereYouGo/wiki/WhereYouGo-features Feel free to fill them with live.

bekuno avatar Apr 06 '20 19:04 bekuno