facebook

GEOLocation Error – SOLVED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #347093 Reply

    Brandon
    Member

    Wondering if anyone else has seen this error message using the geolocation

    Alert, code 2: The last location provider was disabled.

    This happening on a Samsung Galaxy S4 , android version 4.3
    and a Android LG G2

    It seems to work fine on an HTC and iPhone 4s

    #347103 Reply

    support-michael
    Keymaster

    Can you share an example project or snippet? My 1st thought is the OS is not allowing the app access to the location sensors.

    Did you enable the geolocation permission when building your android app? I assume yes since you have partial success on some devices.

    #347122 Reply

    Brandon
    Member

    Yes, I have enabled it in permissions. It is a basic getCurrentPosition call with the Phonegap API, nothing special.
    On the same device when they turn on wireless location service the message went away, but it would not return the location. They even made sure GPS and wireless was on.

    #347158 Reply

    Hi Brandon,

    We are seeing a gelocation issue on android builds, we are investigating and will follow up as soon as I have an status update.

    #347176 Reply

    Brandon
    Member

    Octavio,

    Thanks.

    #347204 Reply

    Hi Brandon,

    Can you share if other apps that use geolocation (including native browser) work? Also, please post a sample project and a screenshot of the error message you are getting since we haven’t been able to see it yet.

    #347212 Reply

    Brandon
    Member

    Yes, he tried several other browser ones and they were able to get his location quickly.
    I have asked him to see if he can get a screen shot. I will email it once I do (not able to post files here).

    #347278 Reply

    Brandon
    Member

    @Octavio
    Hopefully you got my screen shot I sent in to you via email.
    I have had no luck with various in code settings to resolve this.

    #347349 Reply

    Brandon
    Member

    I am marking this as solved, not closed, as there still seems to be a problem.
    I did manage to get the app working, but the problem exists with the API.

    #347352 Reply

    Hi Brandon,

    Could you elaborate on you resolution, e.g., provide options or something else?

    #347353 Reply

    Brandon
    Member

    I actually used the map widget to get and show the current location. That, I believe somehow, allowed the PhoneGap API to use the location or access the location.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: GEOLocation Error – SOLVED

You must be logged in to post in the forum log in