iOS Simulator
Once you install iOS SDK, you can test it without real driving.
Tracking on iOS | Debugging Tools in Simulator
Apple provides access to the debugging tools in Simulator through the Location menu.
How to test SDK:
- Setup the app with SDK
- Complete permissions wizard
- Close the app (don't delete)
- Launch the app
- Start freeway drive at the simulator
- Set Apple position at the simulator. 👉 Apple position?
- Wait for 5 minutes
- Proceed to DataHub, your trip will be available there.
Test trip requirements
Duration > 60 sec
Speed > 30km/h or 18mi/h
Set location(Apple) after simulation drive and wait for 5 min + time for uploading the track. When SDK detects stop driving, it completes tracking and data will be uploaded to the platform.
Available options:
The simulator allows you to set the core Location for your app. The following options are available:
- None - no location returned. Use for testing how an app responds when no location data is available. A simulated watchOS device asks the paired iPhone for the location.
- Custom Location - allows setting a custom latitude and longitude.
- Apple - the coordinates of the Apple Headquarters.
- City Bicycle Ride - simulates a bike ride in Cupertino, CA. This item simulates the device moving on a predefined route.
- City Run - simulates a run in Cupertino, CA. This item simulates the device moving on a predefined route.
- Freeway Drive - simulates drive through Cupertino, CA. This item simulates the device moving on a predefined route.
Adding Test Trips in DataHub
You can generate a trip via our DataHub interface.
It will allow you to test UI for the trips with different values within.
Updated almost 3 years ago