Skip to content

📱 Sample app for trying out some AutoAPI commands on iOS using HMKit

License

Notifications You must be signed in to change notification settings

highmobility/hm-ios-auto-api-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This sample app for iOS shows the usage of AutoAPI commands and let's you dive straight into testing some of them, specifically:

  • Door Locks
  • Trunk Access
  • Climate
  • Rooftop Control
  • Remote Control

Configuration

Before running the app, make sure to configure the following in AppDelegate.swift:

  1. Initialise HMKit with a valid Device Certiticate from the Developer Center https://developers.high-mobility.com/
  2. Find an Access Token in an emulator from https://developers.high-mobility.com/ and paste it in the source code to download Access Certificates from the server

Run the app

Run the app on your phone or iOS simulator (Bluetooth not available on the simulator).

The app layout consists of simple buttons/segments. E.g. press the Lock Doors button to send the command to the car.

The remote control has a safety feature built into the UX level. In order to trigger movement of the car, the direction has to be tapped continuously - at least twice per second. As soon as tapping is stopped the vehicle goes to standstill. This is to prevent the car to continue moving when the phone is accidentally dropped.

Questions or Comments ?

If you have questions or if you would like to send us feedback, join our Slack Channel or email us at support@high-mobility.com.

About

📱 Sample app for trying out some AutoAPI commands on iOS using HMKit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published