Ionic 6 - Enable mobile GPS - Capacitor geolocation - get user current location | Uber eats app Ep 9

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 20

  • @uditnair90
    @uditnair90 Рік тому

    Hi, I'm looking for a way to keep fetching my geolocation ( co-ords ) to firebase... the thing is, it works great even when the screen is off but as 5 mins pass, at exact 5 mins the updation stops but I keep seeing the gps sign on the driver's mobile and even the noti. but there;s no hit on firebase, for the battery optimization android and ios kills the background apps after 5 mins... Any ideas how to overcome this issue.

    • @CodingTechnyks
      @CodingTechnyks  Рік тому

      Hi Udit, i understand your requirement. But the problem is that OS kills your app in background after a certain time period. To overcome this problem you need to work with some native functionality which even i havent tried yet

    • @CodingTechnyks
      @CodingTechnyks  Рік тому

      github.com/capawesome-team/capacitor-background-task

  • @علياءاسامه-ت4م
    @علياءاسامه-ت4م 2 роки тому

    Thanks. Can i ask if with capacitor i can remove default splash screen and put animated image instead. Hiding splash is not work

  • @bajrangchapola6748
    @bajrangchapola6748 Рік тому

    Do we need to manually enable location first in device, then its works OR its works like native applications?

    • @CodingTechnyks
      @CodingTechnyks  Рік тому

      It’s like native, if you give permission then and location off then it prompts you to enable it

  • @argelpamintuango1956
    @argelpamintuango1956 2 роки тому

    is the geolocation cached? it doest get the latest coordinates from the device even if I used location spoofing

    • @CodingTechnyks
      @CodingTechnyks  2 роки тому

      I don’t think so
      Check your logs, what it shows out there
      Close app and check again

  • @josequintin2467
    @josequintin2467 2 роки тому

    Fantastic!!!!

  • @etimessang4980
    @etimessang4980 2 роки тому

    Finally....thanks

  • @princejairofortuna7525
    @princejairofortuna7525 2 роки тому

    Is it possible to create an admin and recieve the location of the user? Using firebase

    • @CodingTechnyks
      @CodingTechnyks  2 роки тому +1

      You can create admin, as it’s a user with different role as shown in my ionic complete course, also can fetch user location, also covered in the course

    • @CodingTechnyks
      @CodingTechnyks  2 роки тому +1

      If you want the admin to see user location, then you can store user location in firebase and call it as admin

    • @princejairofortuna7525
      @princejairofortuna7525 2 роки тому

      @@CodingTechnyks ok thank you, aside from this tutorial do you have other videos related to it that could help me? help is so appreciated.

    • @CodingTechnyks
      @CodingTechnyks  2 роки тому

      Contact me via Facebook messenger

    • @CodingTechnyks
      @CodingTechnyks  2 роки тому

      facebook.com/profile.php?id=100005738530768

  • @jayeshkhairnar3709
    @jayeshkhairnar3709 Рік тому

    I'm click on fetch button then show error.
    home:761 ERROR Error: Uncaught (in promise): Error: Location services are not enabled
    Error: Location services are not enabled
    i need to turn on gps location..
    I'm use capacitor 4
    Please help..

    • @CodingTechnyks
      @CodingTechnyks  Рік тому

      Go to app settings and enable location permission for your app and try again
      If still facing issues then let me know