Skip to content

IOS application keeps crashing when using LATLNG #17

@kirtanbodawala

Description

@kirtanbodawala

When using latlng as the waypoints for navigationViewController.setDestinations iOS application keeps crashing.

Environment details

  1. Navigation-SDK for iOS
  2. iOS: 17.2
  3. Simulator iPhone: SE (3rd generation)
  4. NavSDK Version: 4.4.0

Steps to reproduce

  1. Use latlng instead of place_id to reproduce the bug.

Code example

const initWaypoint = async () => {

    const waypoint: Waypoint = {
      position: {
        lat: 37.4267861,
        lng: -122.0806032,
      },
    };

    const routingOptions: RoutingOptions = {
      travelMode: TravelMode.DRIVING,
      avoidFerries: true,
      avoidTolls: false,
    };

    navigationViewController.setDestinations([waypoint], routingOptions);

Video

Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2024-02-07.at.17.43.26.mp4

Thanks!

Metadata

Metadata

Labels

triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions