Skip to content

feedbackId should not be empty #338

Closed

Description

@ericrwolfe

feedbackId currently is always set to an empty string "". We should always set this to a unique id.

cc @cammace

Activity

  1. added this to the v0.6.3 milestone on Oct 9, 2017
  2. cammace commented on Oct 10, 2017

    @cammace

    @electrostat or @Guardiola31337 could you guys take a look at this?

    cc: @zugaldia

  3. Guardiola31337 commented on Oct 11, 2017

    @Guardiola31337
    Contributor

    Addressed in #352 👇
    Assuming we want to create a new feedbackId on each navigation session and it should be different than the sessionIdentifier.

    cc @cammace @ericrwolfe

  4. ericrwolfe commented on Oct 11, 2017

    @ericrwolfe
    ContributorAuthor

    @Guardiola31337 feedbackId would be unique to each feedback or reroute event, rather than unique to each navigation session. sessionIdentifier would be the only id that would stay the same across events in a navigation session.

  5. ericrwolfe commented on Oct 11, 2017

    @ericrwolfe
    ContributorAuthor

    Also, feedbackId should be generated in the nav sdk when the event happens, rather than before the payload is sent off to the server. As we implement the feedback events and UI, the feedbackId will need to be passed back to developers so that they can later update the feedback event with additional metadata.

    This is what the API currently looks like on iOS:
    https://github.com/mapbox/mapbox-navigation-ios/blob/41860934843653fd6f7402219e6bb179482f71bd/MapboxCoreNavigation/RouteController.swift#L345-L380

    cc @Guardiola31337

  6. Guardiola31337 commented on Oct 11, 2017

    @Guardiola31337
    Contributor

    feedbackId would be unique to each feedback or reroute event, rather than unique to each navigation session.

    Reopening.

  7. Guardiola31337 commented on Oct 11, 2017

    @Guardiola31337
    Contributor

    #359 addressed your comment @ericrwolfe
    Now should be working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions