Open Android 10 broke my SMS find phone, any workaround?

Discussion in 'Tasker' started by tgo, Jun 14, 2020.

  1. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    Amongst others things, like no popups showing if screen off (thanks Android 10) I find my 'find phone is no longer working.

    This was a really simple task that would just turn on the torch, ramp up media volume and play a sound until the phone was unlocked (or cancelled) I'm not really sure what in Android 10 would break it, but ther we are.

    Here is the task. (any workarounds or advice would be great)
    Code (Text):
     Profile: FindPhone On (3)
        Event: Received Text [ Type:Any Sender:* Content:find SIM Card:* ]
        Enter: Anon (12)
        A1: Stop [ With Error:Off Task: ] If [ %Car ~ 1 | %Flip ~ 1 ]
        A2: Variable Set [ Name:%Find To:1 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ]
        A3: Vibrate Mode [ Mode:Off ]
        A4: Media Volume [ Level:15 Display:Off Sound:Off ]
        A5: Say [ Text:phone locator signal received. Initiating recovery sequence. Engine:Voice:com.svox.classic:eng-USA-Grace Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
        A7: Music Play [ File:Tasker/Spyglass.mp3 Start:0 Loop:Off Stream:3 Continue Task Immediately:On ]
        A8: Torch [ Set:Toggle ]
        A9: Wait [ MS:0 Seconds:14 Minutes:0 Hours:0 Days:0 ]
        A10: Goto [ Type:Action Number Number:7 Label: ] If [ %Find ~ 1 ]
    *I've made sure none of the variables shown are forcing a STOp.
     
    Last edited by a moderator: Jun 15, 2020
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    What happens if you run that task directly in Tasker? Do you get an error?
     
  3. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    It runs perfectly within tasker, but not if triggered from the received SMS
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Are you sending the exact text find to your phone in the SMS?
    Did you make sure that Tasker has SMS permissions? Try disabling and re-enabling them to make sure.
    Also, to make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00

    Pay special attention to the location part. If Tasker doesn't have permission to get location in the background it might not work correctly, so disable and re-enable the location permission and make sure that you allow Tasker to always access it.

    Make sure to check here too: https://dontkillmyapp.com/?app=Tasker

    Hope this helps!
     
  5. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    I've rechecked all that, I've tried 'find' 'Find' nothing bar the usual notification showing, nothing from tasker itself.
    Android 10 fubar?
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Does it trigger if you create a new profile with an SMS condition but with no Content filter?
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Also, please check that the message you're sending is not RCS but really an SMS message...
     
  8. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    Ok, it's definitely SMS.

    It DOES work with no content, but the moment you add content it does not work.
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    What do you mean by "content" exactly?
     
  10. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    the event is 'Received Text
    type Any
    Sender (blank)
    Content
    (this is where it had 'Find' as the content) this is where it must look for a trigger word.

    I could edit the type' to SMS rather than any I suppose, but it's only text chars being sent, not MMS stuff.
     
  11. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    I'm wondering if Android 10 has done away with plain SMS and is using RCS or something that Tasker doesn't recognise. (Remember no content specified triggers the profile ok, but any content trigger does not, which may suggest the content is in a different format to whatever Tasker expects)
     
  12. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    OK I've done some research, Google Messages (RCS) looks like it's slowly being the default 'messaging' app put onto Android phones. It is the text app that's on my (Huawei) phone.

    I can bodge it by :
    1. Open Messages by Google.
    2. Tap the three dots in the top right corner.
    3. Tap Settings.
    4. Tap Chat features.
    5. Toggle off Enable chat features.
    This means that my phone no longer has RCS features and *some* phones can send me SMS and the profile will trigger ok.
    This is good (apart from the fact I no longer have access to those features)
    But
    Many phones come with RCS and no ability to turn it off which means they cannot send a SMS only a RCS message
    Those phones sending me messages will not trigger the profile.
    ----------------
    I'm hoping there will be some kind of RCS standard (as there is for SMS) so that Tasker or one of the auto tools will be able to recognise a RCS message like it does SMS/MMS currently.
     
  13. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Unfortunately Google won't add RCS APIs into Android so there's no way we, developers, can add support for it :(
     
  14. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    Does Tasker or autotools support any other kind of app that could be used to send a 'find' signal that tasker could react on, if SMS is going to be a thing of the past
     
  15. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sure! you could use Join for example :)
     

Share This Page