Solved Tasker Get Location V2

Discussion in 'Tasker' started by Rizal Sunjaya, Apr 9, 2020.

  1. Rizal Sunjaya

    Rizal Sunjaya New Member

    Joined:
    Apr 21, 2019
    Messages:
    15
    Likes Received:
    0
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    You have to use the new Get Location v2 action followed by sending just %gl_map_url. That'll contain the full google maps link :)
     
  3. Rizal Sunjaya

    Rizal Sunjaya New Member

    Joined:
    Apr 21, 2019
    Messages:
    15
    Likes Received:
    0
    Sorry ... Tried that as well (%gl_map_url) only.
    Text message also failed to send

    The link itself exist and works fine

    Text message work OK, for instance if message is: https://maps.google.com/maps or only the maps coordinates

    Edit:
    Even if I try to copy & paste and resend the links it failed to send
    Also tried to go back to Google Maps older version with no success

    Links works on Whatsapp.

    Samsung S8
    Android 8.0
    Tasker 5.9.2
     
    Last edited: Apr 9, 2020
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Sorry, I don't understand what you're saying.
    You say "The link itself exist and works fine" and also "Text message work OK". So what part isn't working?
     
  5. Rizal Sunjaya

    Rizal Sunjaya New Member

    Joined:
    Apr 21, 2019
    Messages:
    15
    Likes Received:
    0
    Sorry for not making myself clear.
    The Messages Apps manage to create the text in url form but always failed to send.
    If I click the link text created by the apps works and open Maps at specified coordinates

    Messages Apps works and succeed in sending any others text or url.
    Tried with stock Samsung Messages and Google Messages.
     
    Last edited: Apr 9, 2020
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
  7. Rizal Sunjaya

    Rizal Sunjaya New Member

    Joined:
    Apr 21, 2019
    Messages:
    15
    Likes Received:
    0
    LocNow (90)
    A1: Get Location v2 [ Timeout (Seconds):30 Minimum Accuracy (meters): Speed (meters/second): Altitude (meters): Near Location: Enable Location If Needed:On Last Location If Timeout:Off Min Speed Accuracy (m/s): ]
    A2: Send SMS [ Number:%SMSRF Message:%gl_map_url Store In Messaging App:Off SIM Card: Wait For Result:Off ]
    A3: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
    A4: Location Mode [ Mode:Off ]

    Appreciate the time you spent for looking into this ...
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    I just tried it and it works for me... Not sure why it's not working. Maybe it's trying to send it as a MMS for some reason?
     
  9. Rizal Sunjaya

    Rizal Sunjaya New Member

    Joined:
    Apr 21, 2019
    Messages:
    15
    Likes Received:
    0
    OK ... I'll try to fiddle with it once again ...
    Thanks again for looking into this matter ...
     
  10. Rizal Sunjaya

    Rizal Sunjaya New Member

    Joined:
    Apr 21, 2019
    Messages:
    15
    Likes Received:
    0
    Just a note for others to know that the problem is nothing to do with Tasker.
    It is caused by the messaging apps fail to send the url links.

    Device: Galaxy S8 SM-G950FD Android 8.0
    Tried to send the links (without Tasker) on 2 different stock ROM. Also on non rooted device.
    Stock messaging apps and two others (Google Messages & TrueCaller) . All text message failed to send.
    I guess I have been able to send the message on my older device.
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    799
    Thanks for clarifying
     

Share This Page