Skip to content
Commit b60d4dae authored by Beat Küng's avatar Beat Küng
Browse files

AirMapManager: update AirMapFlightManager to latest AirMap API

This includes polling for a flight permission.
The steps are:
- get pilot id (new API requires to provide it, even though it does not
  make much sense)
- create a flight plan
- call the briefing (to check if SITA registration id's are valid)
- call the submit -> returns the actual flight id
- poll on the briefing until the flight gets approved

Since there can only be one flight, on startup, we list the pilot's flights
and end the one that ends in future
parent caca0d0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment