I was just thinking of possible problem with our aproach in storing authtoken:
- When you store authtoken, it acts as if you logged in once until the token expires. Now when we close the app, and enter in before 30minutes at some distant location(like traveling in car could make 50km diff), when token expires, then to the niantic this looks like teleport maybe?
- Shouldn't we always at suspension and closing be logging out to prevent this?
- Or in future support background worker to allow suspended app still run in background thread, so position and other things will be still updating?