Results 1 to 2 of 2

Thread: onUpdateNavigationState() stops getting called

  1. #1
    Neuer skobbler
    Join Date
    11.09.2016
    Posts
    6

    onUpdateNavigationState() stops getting called

    I'm using the SKMaps SDK for Android to get turn-by-turn directions.

    When navigation for a route is first started, onUpdateNavigationState() gets called for about the first 20 seconds. After 20 seconds, onUpdateNavigationState() doesn't get called anymore. It stops getting called entirely.

    It's the strangest thing. Does anyone know what the problem could be?

    Thanks.

    EDIT: I've read some places that onUpdateNavigationState() can stop getting called if SKMaps stops getting location updates. That doesn't seem to be the problem because onCurrentPositionUpdate() is getting called normally.

    I've also read that pointing SKAdvisorSettings setAdvisorConfigPath() and setResourcePath() to the wrong paths could cause onUpdateNavigationState() to stop getting called. I don't think that's the problem because onUpdateNavigationState() gets called for about the first 20 seconds of navigation with the correct advices, distances, etc.
    Last edited by cryptopinion; 07.01.2017 at 18:03. Reason: More info

  2. #2
    Neuer skobbler
    Join Date
    11.09.2016
    Posts
    6
    I had a memory leak problem that was unrelated to the SKMaps SDK.

    It's fixed now.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •