News for hackers. Stuff that matters.
Re:Apple says Pokémon Go is the most downloaded app in its f... by derefr on Saturday July 23, 2016 @02:54AM (#12148639)
As far as I know, you can't access the GPS from an unfocused app on either iOS or Android. You can ask the OS to set up a geofence and then get called back when the user enters it, but if what you care about isn't so much where the user is as the fact that they're moving around, the OS doesn't have anything to offer you.
Re:Apple says Pokémon Go is the most downloaded app in its f... by dmoy on Saturday July 23, 2016 @03:36AM (#12148723)
I don't know if this is true, because my android phone helpfully pops up my grocery rewards card in a notification while I'm walking through the store with my phone locked and 0 apps open.
Re:Apple says Pokémon Go is the most downloaded app in its f... by derefr on Saturday July 23, 2016 @12:14PM (#12149921)
I don't know whether Android has adopted the same protocol, but on iOS, that's https://en.wikipedia.org/wiki/IBeacon: basically an API where apps can register an OS event-handler plugin to run in response to the detection of [basically, but not exactly] specific Bluetooth MACs.

The scary thing is, iBeacon handler don't have to do the cute "hey you're in this store, click to open the app!" sort of thing. They can run completely in the background, just reporting "hey boss, they're in the shoe section of Store #3313 now! Now they're in the produce section! Now they're gone." And, as far as I know, there's no way to turn off the tracking behaviour while keeping the helpful "activation suggestion" behaviour.

Re:Apple says Pokémon Go is the most downloaded app in its f... by eonwe on Saturday July 23, 2016 @03:27AM (#12148711)
I would think that to be false based n sports trackers. Or do they work in some different manner that's not suitable here?
Re:Apple says Pokémon Go is the most downloaded app in its f... by christocracy on Saturday July 23, 2016 @07:18AM (#12149149)
On iOS, when location updates are engaged via CLLocationManager#startUpdatingLocation (assuming all required permissions are in-place, eg NSLocationAlwaysAuthorization, UIBackgroundModes), an iOS app will remain running in background indefinitely until #stopUpdatingLocation is executed, when iOS will immediately put the app to sleep.
Re:Apple says Pokémon Go is the most downloaded app in its f... by daxelrod on Saturday July 23, 2016 @08:09PM (#12151592)
The fitness app [Human](http://human.co/) sits in the background and provide a map of where the user has moved throughout the day, and a timeline of when they moved (for example, that there was a walk from 10-10:30 AM, a jog from 2-:2:14, etc). When apps like this are backgrounded, the iOS permission dialog asks if the user wants to allow the app to continue using their location in the background.

I have no idea what APIs they use, so I'm not sure how hard it is to get this information, but it is at least possible.

Re:Apple says Pokémon Go is the most downloaded app in its f... by hutattedonmyarm on Saturday July 23, 2016 @04:39AM (#12148838)
On iOS an app can ask to access the GPS from the background. You can allow or deny that request, and if you go into the settings you can set its GPS permissions to never, always, only when running
Re:Apple says Pokémon Go is the most downloaded app in its f... by christocracy on Saturday July 23, 2016 @07:06AM (#12149133)
yes, you can. I created a plugin for Cordova/React Native/NativeScript that does this:

https://github.com/transistorsoft/cordova-background-geoloca...

https://github.com/transistorsoft/react-native-background-ge...

Here I am driving around Iceland with my sample app, completely in background. Tracking engages automatically when device is detected to be moving.

http://www.transistorsoft.com/lab/iceland

Re:Apple says Pokémon Go is the most downloaded app in its f... by Gargoyle on Saturday July 23, 2016 @09:40PM (#12151823)
How do these games prevent location spoofing? Or do they?
Re:Apple says Pokémon Go is the most downloaded app in its f... by Swannie on Sunday July 24, 2016 @03:19AM (#12152589)
Ingress has some heuristics, but is not infallible. Plenty of cheaters have figured out how to avoid detection.

It is fairly clear that there are no such heuristics in PoGo.

The reality is, Niantic is a small company, and does not have the resources to throw at detecting/banning/dealing with the appeals.