I would like to contribute to the maps for my area by creating and uploading various POIs as I come across them in my daily use. To get familiar with the system I decided to add a known to me florist. I found the exact location using google maps, opened it in OsmAnd+, and went through the process to add all its details (address, phone, website, type, etc). However when I decide to upload it, signing in with username and password, I get the error in the image attached. Anyone know what the problem is and how I can solve it?

Edit: App Info OsmAnd+ 4.6.12, Released: 2024-01-16

    • promitheas@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Well it seems then that the fdroid repo is outdated, or at least in Droidify which I use for fdroid repos. Hopefully it catches up soon.

      Thanks for the clarification

  • redd@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    I also run into this issue several times. I could solve it by redo the login in the OpenStreetMap plugin setting

    • promitheas@programming.devOP
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      I can login to the site but when I try to login to the plugin I get this message popping up and disappearing soon after:

      https://api.openstreetmap.org/api/0.6/user/details
      

      Then im still logged out. Any idea?

      • redd@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        When login through the plugin the browser should pop up where you need to confirm the login on openstreetmap.org. (i think this process is called OAuth)

        You can then check if this is succesfull on https://www.openstreetmap.org/oauth2/authorized_applications

        You should see OsmAnd there and how many days the login procedure was performed.

        If this is succesfull, then its a problem with OsmAnd. If you have another old Android you can maybe try around several times with reinstallation?

        • promitheas@programming.devOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          4 months ago

          Hmmm I went to the page and it seems I need to manually register the app to be able to make api calls. Would I be wrong in assuming the redirect uri needs to be the one I got in the error message popup when trying to sign in through the app?

          Edit: seems it doesnt work. I registered an app in openstreetmaps.org with that and nothing changes.

          • redd@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            I registered an app in openstreetmaps.org with that and nothing changes.

            No, there is no need to manually register an app. This is the feature when develope a new app by yourself to make it known to openstreetmap.org

            Would I be wrong in assuming the redirect uri needs to be the one I got in the error message popup when trying to sign in through the app

            not sure. If you don’t have another phone to test, maybe you can try testing the login with another openstreetmap app like StreetComplete, Vespucci or Organic Maps?

            • promitheas@programming.devOP
              link
              fedilink
              arrow-up
              2
              ·
              4 months ago

              I just downloaded streetcomplete and the login works there. It might be a good idea to file an issue on the github for osmand at this point. Thanks for all your help! :)