1

Child app profile events not working

I am trying to create a child app that will do some action on event but found that while it works in Tasker, exporting and installing it as a child app doesn't.

I am on a Samsung Galaxy S24.

See sample Tasker project below. It is supposed to flash a message when we enter/exit chrome, or if we cover/uncover the light sensor.

    Project: TA-Test

    

    Profiles

        Profile: TestApplicationProfile

         Application: Chrome

        

        

        

        Enter Task: EnterTask

        

        A1: Parse/Format DateTime [

             Input Type: Now (Current Date And Time)

             Output Format: HH:mm:ss.SSS

             Formatted Variable Names: ta_ts

             Output Offset Type: None ]

        

        A2: Variable Set [

             Name: %ta_mode

             To: standalone

             Structure Output (JSON, etc): On ]

        

        A3: Test App [

             Type: This Package

             Store Result In: %ta_tp ]

        

        A4: Variable Set [

             Name: %ta_mode

             To: tasker

             Structure Output (JSON, etc): On ]

            If [ %ta_tp ~ net.dinglisch.android.taskerm ]

        

        A5: Simple Match/Regex [

             Type: Regex

             Text: %caller()

             Regex: profile=(enter|exit):(?<ta_pn>.+) ]

        

        A6: Test Tasker [

             Type: Current Task Name

             Store Result In: %ta_tn ]

        

        A7: Flash [

             Text: %ta_ts:%ta_pn/%ta_tn (%ta_mode)

             Continue Task Immediately: On

             Dismiss On Click: On ]

        

        

        

        Exit Task: ExitTask

        

        A1: Parse/Format DateTime [

             Input Type: Now (Current Date And Time)

             Output Format: HH:mm:ss.SSS

             Formatted Variable Names: ta_ts

             Output Offset Type: None ]

        

        A2: Variable Set [

             Name: %ta_mode

             To: standalone

             Structure Output (JSON, etc): On ]

        

        A3: Test App [

             Type: This Package

             Store Result In: %ta_tp ]

        

        A4: Variable Set [

             Name: %ta_mode

             To: tasker

             Structure Output (JSON, etc): On ]

            If [ %ta_tp ~ net.dinglisch.android.taskerm ]

        

        A5: Simple Match/Regex [

             Type: Regex

             Text: %caller()

             Regex: profile=(enter|exit):(?<ta_pn>.+) ]

        

        A6: Test Tasker [

             Type: Current Task Name

             Store Result In: %ta_tn ]

        

        A7: Flash [

             Text: %ta_ts/%ta_pn:%ta_tn (%ta_mode)

             Continue Task Immediately: On

             Dismiss On Click: On ]

        

        

    

        Profile: TestEventProfile

         State: Light Level [ From:0 To:20 ]

        

        

        

        Enter Task: EnterTask

        

        A1: Parse/Format DateTime [

             Input Type: Now (Current Date And Time)

             Output Format: HH:mm:ss.SSS

             Formatted Variable Names: ta_ts

             Output Offset Type: None ]

        

        A2: Variable Set [

             Name: %ta_mode

             To: standalone

             Structure Output (JSON, etc): On ]

        

        A3: Test App [

             Type: This Package

             Store Result In: %ta_tp ]

        

        A4: Variable Set [

             Name: %ta_mode

             To: tasker

             Structure Output (JSON, etc): On ]

            If [ %ta_tp ~ net.dinglisch.android.taskerm ]

        

        A5: Simple Match/Regex [

             Type: Regex

             Text: %caller()

             Regex: profile=(enter|exit):(?<ta_pn>.+) ]

        

        A6: Test Tasker [

             Type: Current Task Name

             Store Result In: %ta_tn ]

        

        A7: Flash [

             Text: %ta_ts:%ta_pn/%ta_tn (%ta_mode)

             Continue Task Immediately: On

             Dismiss On Click: On ]

        

        

        

        Exit Task: ExitTask

        

        A1: Parse/Format DateTime [

             Input Type: Now (Current Date And Time)

             Output Format: HH:mm:ss.SSS

             Formatted Variable Names: ta_ts

             Output Offset Type: None ]

        

        A2: Variable Set [

             Name: %ta_mode

             To: standalone

             Structure Output (JSON, etc): On ]

        

        A3: Test App [

             Type: This Package

             Store Result In: %ta_tp ]

        

        A4: Variable Set [

             Name: %ta_mode

             To: tasker

             Structure Output (JSON, etc): On ]

            If [ %ta_tp ~ net.dinglisch.android.taskerm ]

        

        A5: Simple Match/Regex [

             Type: Regex

             Text: %caller()

             Regex: profile=(enter|exit):(?<ta_pn>.+) ]

        

        A6: Test Tasker [

             Type: Current Task Name

             Store Result In: %ta_tn ]

        

        A7: Flash [

             Text: %ta_ts/%ta_pn:%ta_tn (%ta_mode)

             Continue Task Immediately: On

             Dismiss On Click: On ]

        

        

    

    Tasks

        Task: EnterTask

        

        A1: Parse/Format DateTime [

             Input Type: Now (Current Date And Time)

             Output Format: HH:mm:ss.SSS

             Formatted Variable Names: ta_ts

             Output Offset Type: None ]

        

        A2: Variable Set [

             Name: %ta_mode

             To: standalone

             Structure Output (JSON, etc): On ]

        

        A3: Test App [

             Type: This Package

             Store Result In: %ta_tp ]

        

        A4: Variable Set [

             Name: %ta_mode

             To: tasker

             Structure Output (JSON, etc): On ]

            If [ %ta_tp ~ net.dinglisch.android.taskerm ]

        

        A5: Simple Match/Regex [

             Type: Regex

             Text: %caller()

             Regex: profile=(enter|exit):(?<ta_pn>.+) ]

        

        A6: Test Tasker [

             Type: Current Task Name

             Store Result In: %ta_tn ]

        

        A7: Flash [

             Text: %ta_ts:%ta_pn/%ta_tn (%ta_mode)

             Continue Task Immediately: On

             Dismiss On Click: On ]

        

        

    

        Task: ExitTask

        

        A1: Parse/Format DateTime [

             Input Type: Now (Current Date And Time)

             Output Format: HH:mm:ss.SSS

             Formatted Variable Names: ta_ts

             Output Offset Type: None ]

        

        A2: Variable Set [

             Name: %ta_mode

             To: standalone

             Structure Output (JSON, etc): On ]

        

        A3: Test App [

             Type: This Package

             Store Result In: %ta_tp ]

        

        A4: Variable Set [

             Name: %ta_mode

             To: tasker

             Structure Output (JSON, etc): On ]

            If [ %ta_tp ~ net.dinglisch.android.taskerm ]

        

        A5: Simple Match/Regex [

             Type: Regex

             Text: %caller()

             Regex: profile=(enter|exit):(?<ta_pn>.+) ]

        

        A6: Test Tasker [

             Type: Current Task Name

             Store Result In: %ta_tn ]

        

        A7: Flash [

             Text: %ta_ts/%ta_pn:%ta_tn (%ta_mode)

             Continue Task Immediately: On

             Dismiss On Click: On ]

        

        

    

        Task: LaunchTask

        

        A1: Parse/Format DateTime [

             Input Type: Now (Current Date And Time)

             Output Format: HH:mm:ss.SSS

             Formatted Variable Names: ta_ts

             Output Offset Type: None ]

        

        A2: Variable Set [

             Name: %ta_mode

             To: standalone

             Structure Output (JSON, etc): On ]

        

        A3: Test App [

             Type: This Package

             Store Result In: %ta_tp ]

        

        A4: Variable Set [

             Name: %ta_mode

             To: tasker

             Structure Output (JSON, etc): On ]

            If [ %ta_tp ~ net.dinglisch.android.taskerm ]

        

        A5: Simple Match/Regex [

             Type: Regex

             Text: %caller()

             Regex: profile=(enter|exit):(?<ta_pn>.+) ]

        

        A6: Test Tasker [

             Type: Current Task Name

             Store Result In: %ta_tn ]

        

        A7: [X] Flash [

             Text: %ta_ts:%ta_pn/%ta_tn (%ta_mode)

             Continue Task Immediately: On

             Dismiss On Click: On ]

        

        A8: Text/Image Dialog [

             Title: Test

             Text: %ta_ts:%ta_pn/%ta_tn (%ta_mode)

             Close After (Seconds): 30

             Continue Task After Error:On ]

        

        

1 reply

Does the child app have the Usage Access permission enabled?

W

Didn't have to do it on my previous phone. Where do I enable that?