go-ios icon indicating copy to clipboard operation
go-ios copied to clipboard

feat: Simulate location for iOS17

Open kvs-coder opened this issue 1 year ago • 0 comments

Why?

The current setlocation only works for iOS below 17, the iOS 17 introduces a new instrumentation service com.apple.instruments.dtservicehub with the channel id com.apple.instruments.server.services.LocationSimulation for the simulated location.

How?

By using DTX make a channel call:

  • imulateLocationWithLatitude:longitude: with args to start the location simulation
  • stopLocationSimulation to stop and clear the location simulation & data The response payloads for both methods are <nil>

kvs-coder avatar Apr 25 '24 14:04 kvs-coder