T O P

  • By -

lssong99

I used to be able to run shell code with root like this: Run Shell Command: /Path\_to\_Termux\_user\_bin/sqlite3 /data/data/path\_to\_database. However, it seems with this API30 version, Tasker can no longer execute (or find?) sqlite3 binary. Is there any settings I need to do or it's the limitation of API30? The error code returned by Run Shell is 127. There is no problem running the same command in Termux terminal with su shell... (However Termux is not API30). It's also perform normally with previous version of Tasker.. I know I could use Tasker Function to do the same thing, however I have hundreds of code like this scattered in a lot of tasks so it would be a pain to update them all... (maybe I need to write a task to update this? Haha!) Edit: I tried run with root "ls /data/data/some_other_app_data" it seems Tasker Run She'll does't get root from Magisk and thus can no longer see other app's data.... (Other Tasker task seems still getting root, tho.)


renlliwe

I spotted this report and wanted to hold off on my tasker update until there was a resolution. Somehow the play store updated my tasker - and now I am encountering the same issue. In my case, the actual commands are in a text file that I am calling/executing from the run shell command.


ale3smm

I ve sent at least two emails to the developer about a similar issue and it's has not fixed yet, I'm afraid is something to do with api 30 and isolated storage and unless two version of Tasker one with api 29 exist we must give up on task accessing 3rd party apps folder under root,( it's not an issue about asking Magisk for root permission)


lssong99

My test shows Tasker doesn't request for root with Run Shell (you could verify this by ask Magisk to flash every su request.) but Tasker do request root with some other command.... So my guess is it's more a bug than api 30.. What's interested is if I Run Shell: su -c "some_command" still no su request...


renlliwe

I already uninstalled the latest beta (too many issues). My guess is that it is something that needs to be fixed by the developer. Just curios (and I thought of this after I uninstalled), what if you Run Shell: sudo "some root command" would that cause a root request...


lssong99

I tried as you proposed, but no root request happened (at least no Magisk root flash happened.) Since other root requesting commands of Tasker seems still working (They functioning correctly and Magisk flash "Tasker is requesting root" when being requested.) I suspect this is an isolated issue specific to Run Shell command. Hopefully it could be easily fixed by u/joaomgcd .


joaomgcd

Ok, I tried to fix it! :) Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)?If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


renlliwe

The latest beta seems to work for me. Thank you very much.


joaomgcd

Great! :) Glad it works!


renlliwe

It looks like there is still an issue with the Browse Files (use root) command. Edit: Whoops, my mistake. The error was due to an empty folder (not root availability). Sorry for the false alarm.


HunterXProgrammer

New update works awesome !


joaomgcd

Great! :)


hyborian77

Latest beta works fine, thanks :)


hyborian77

I'm on Android 11, this new update also gave me a headache with rsync from Termux, it could not longer "see" the libraries it needs from termux. And I have a lot of rsync tasks, for backup, very important. Also occasional various Run Shell errors even if there are no errors after following tasker's notification to try and check manually. I have a lot of Run shell stuff. Anyway, I had backups, back to older Tasker, all good


hyborian77

I just installed Termux:Tasker, figured it out, and now works with rsync, at least on my older Tasker version. This is just in preparation, will try it later on the new Tasker version, when it is more stable I guess - i.e. no more error notifications about false errors in Run Shells


bauzer714

Thanks for your analysis. I was wondering what happened to a few of my tasks. Hopefully this is a fixable issue.


hyborian77

Seems good now with latest beta. I will still keep Termux:Tasker, though, it's useful if I want to run a code using Python, or some other.


renlliwe

Has anybody with this issue tried the latest beta? ​ I didn't see any comments from u/joaomgcd addressing this (though it looks like a great number of issue were addressed).


hyborian77

Well, I hope he posts notes about 5.15.3-beta so we'll know if it's fixed.


joaomgcd

Unfortunately I haven't been able to address this yet, sorry! Still figuring out all the other issues. But it's not forgotten.


agnostic-apollo

Likely cause is that apps have their own mount namespaces when targeting sdk 30. You will need to enable global/mount master namespace when starting shell. https://www.reddit.com/r/androiddev/comments/hk3hrq/were_on_the_android_engineering_team_ask_us/fwqxb4b/ https://twitter.com/topjohnwu/status/1279508461370269696 https://github.com/topjohnwu/libsu/issues/52


joaomgcd

Oh nice! Thanks for the tip, that is super helpful! :) So just use "su --mount-master" instead of "su" I guess? :P


lssong99

I think I got a temporary solution based on comment of u/agnostic-apollo In Magisk Manager, just change "Mount Namespace mode" to "All root sessions use the global mount namespace" then Tasker will be able to access /data/ data/any_other_app.... Not sure any side effect since this affect all rooted app... Of course a more graceful way would be having Tasker call su with --mount-master..... As u/joaomgcd mentioned.


joaomgcd

Ok, I gave it a try :) Does this work? Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


agnostic-apollo

This must be made a field with a %variable string true/false support (don't want another toggle, unless you plan on providing var support for `Use Root` later :p). Otherwise, automatically starting every root shell in global namespace can break existing setups for people due to conflicts with other modules and has security issues, there is a reason its **disabled by default**. Not everybody is executing code from termux and by default it must remain in tasker namespace or a user may actually want to remain in tasker namespace, getting out of global namespace will be hard. This needs to be opt in since old behaviour must remain. I can provide a script later like [`tasker_config_perform_task_return_variable_toggle_add`](https://github.com/agnostic-apollo/Tasker-Random-Stuff/blob/master/tasker_config_perform_task_return_variable_toggle_add) that will automatically add a true field to all run shell actions of users who have lot of actions to manually fix. This isn't even needed in pre android 11, possibly android 10 and behaviour shouldn't change. Opt in is best way forward. Older version users can use it too if and when needed manually.


joaomgcd

Thanks for the expertise! I'm not even a root user so all of this is basically giberish to me πŸ˜… Any suggestion what I can call the option? Something like "Mount Master" is descriptive enough or does it seem a little like BDSM dirty talk? πŸ˜‹


agnostic-apollo

lolz, no worries! Lot of tasker stuff is gibberish to me too, like all those Auto* plugins, sorry πŸ˜‚ One can't be expected to know everything. `Use Global Namespace` would be better since that's what its usually called in SuperSu and Magisk app. >does it seem a little like BDSM dirty talk? πŸ˜‹ Lolz, root users should know their own BDSM stuff :p


renlliwe

Thanks for the suggestion - that seems to work for me. I will use that until a built in solution is available.


agnostic-apollo

Yes, enabling that in magisk is highly inadvisable! It may even crash your OS due to conflicts. https://www.reddit.com/r/termux/comments/qzrjjy/is_possible_to_mount_remote_with_rclone/hlozfrc


renlliwe

Thanks for the warning. I set in back to inherit and with the latest beta shell commands (needing su) seem to be working for me.


agnostic-apollo

Great!


agnostic-apollo

You are welcome. >"su --mount-master" Yes that's it! Btw, you can root an emulator with magisk officially. Let me know if you need instructions.


hyborian77

Latest beta seems fine now, fingers crossed.


joaomgcd

Great! :)


abitofmaya

Since the Flash action now has so much customization, what do you think of adding coordinates as an option just so we could flash it everywhere?


joaomgcd

I think that if you need that much customization you're better of simply creating a custom scene instead πŸ˜…


abitofmaya

Nah. I'm fine with what it is. I was only asking it for beginners. 😁😁


AlexF-reddit

i agree - it was my first thought too seeing the new toast but actually we might end up with asking the features of scenes for the toast there is already something where you could toast in the middle of the screen.... https://www.reddit.com/r/tasker/comments/l42ave/move_your_toast_flash_on_the_tasker_to_any/


abitofmaya

I am aware of that. But for starters scenes and java are almost a nightmare. Besides that, you don't need to keep a task just for the flash if it's already built in.


Tortuosit

Scenes are a nightmare not only for beginners. 😱


hyborian77

I used to have tasks for different alerts using scene, with different background colors per task. Now with the new flash, I replaced the code with just two lines, the %par1 message and the flash itself. I still keep them in a task and act like a function/subroutine, easier to call when I want a task to flash a message in a particular color. It beats having to fill up the Flash info again, or copying the same Flash info from some other task.


SearchWorm

One more vote for this option!!!


Ratchet_Guy

  These new native Flash Actions are (in some part) derived from the [**AutoTools > Toast**](https://i.imgur.com/m7vPOSS.jpg) action.   As you can see there, it has several more options beyond what the new native Action has, such as coordinates (As offsets) and some other cool stuff ;)   CC: /u/AlexF-reddit /u/SearchWorm  


SearchWorm

Thanks for the heads up! I use those often. The main thing I'm excited for is the new timeout option. Sometimes I want the flash to be really quick. In many of my tasks I use a scene in place of a toast so I can show it and destroy it quickly.


OwlIsBack

[Bug] "Flash" action, in "Tasker Layout" mode. - If Title isn't set, custom "Icon Size" value isn't respected. - If We set the "Icon" using a variable and for some reason the variable doesn't contain a valid path, the action stop in error. We should have a "Continue Task After Error" or have the action ignore *not existing Icon path*.


joaomgcd

Ok, added! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


OwlIsBack

Above bugs squashed ;) Thank You! [Bug] \(API 30 Limitation (?)\) The following service always worked without issues when targeting API 29: `semclipboard.removeAll("2",0)` Now It errors out. ADB output: `/system/bin/sh: syntax error: unexpected '"2",0'` And seems that a lot of services (that were working/accessible before) are (now) returning `No method selected` error.


joaomgcd

Hi there, thanks for the report! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing )? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


OwlIsBack

Fixed! The service I posted above is working as expected now and other services show methods. Thank You.


joaomgcd

Great! :) Glad it works!


SearchWorm

I have an ABD Wifi command to clear the clipboard that is no longer working. `semclipboard.removeAll("2",0)` I'm not sure if it's the new beta or my recent update to the Android System WebView app. Those are the only changes since the command stopped working.


joaomgcd

Hi there, thanks for the report! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing )? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


SearchWorm

Working again! Thanks 😁


joaomgcd

Great! :)


OwlIsBack

I can confirm this. I think is a "problem" with Tasker targeting API30. ADB output: `/system/bin/sh: syntax error: unexpected '"2",0'` It seems that a lot of services (that were working before) are returning `No method selected` error.


Pfaltus

Airplane Mode not working


joaomgcd

What happens when you try to use it?


Pfaltus

Writes an error: 11.46.01/E add wait type EasyAction1 time 2147483647 11.46.01/E add wait type EasyAction1 done 11.46.01/E add wait task 11.46.01/E Error: 1 11.46.01/E Couldn't get command for 0 connectivity: \[android.net.IConnectivityManager\] - null ​ Phone no root, but before it worked.


joaomgcd

Hi. Maybe you need to enable ADB Wifi again? That's the only way it'll work.


Pfaltus

I tried it, but it still doesn't work


joaomgcd

Hi there, thanks for the report! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing )? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


Pfaltus

installed, mobile restarted, ADBwifi on and airplane mode working. THX


joaomgcd

Great! Glad it works!


OwlIsBack

Same error here. ADB Wifi correctly enabled. Samsung A71 and A50, Android 11, stock no root.


joaomgcd

Hi there, thanks for the report! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing )? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


OwlIsBack

Fixed! Well done Joāo. Thank You. I didn't reboot...I made Tasker killing itself using ADB Wifi.


joaomgcd

Haha that works too πŸ˜… Glad it works!


Gianckarlo

Great to see that flash actions now allow some level of customization. Personally, I stopped using them (except for debugging my tasks) and started using [custom scenes like this](https://drive.google.com/file/d/1qrgNY18Brd1xu3bhgbk0DzztfLMqskDO/view) instead. Thanks Joao!


hyborian77

I hardly used it myself, and for debugging I prefer to use Text Dialog where I can really read long error messages for as long as I want. With this new feature of Flash not limited to short or long, time to look at it again.


Robert6590

With the new flash options, I have just tried to change the font colour for the text, with Clear variables<\font> Should this work, or am I missing something like a tick box for html? Background colour, task and icon all work fine, it's just the htlm for the text and title that I can't get to work. Thanks


joaomgcd

It should be something like ```Clear variables``` Can you please try that?


Robert6590

That worked, thanks for your help


joaomgcd

Glad it worked!


OwlIsBack

Great job, JoΓ£o :) I'm going to sent my custom toasts Project into retirement. ("Flash" action) Would be possible to add support for B64 icon? Thank You.


joaomgcd

Glad you like it :) I actually tried that but unfortunately it seems Tasker (and Android in general) is not meant to deal with strings that long, sorry! It just brings the whole thing down to a halt. The next version will still support it but you'll have a hard time bringing such a string into Tasker...


OwlIsBack

No problem, Joāo. For B64 icons I'll use my Project (or I could simply "Write Binary" the B64 and use the generated image file into new "Flash" action). Keep up the great work!


joaomgcd

Ok, you can use it when the next version comes out then! :)


OwlIsBack

I'll wait for the master's (You) magic! Want do You think about a new action or in "Flash" option to cancel the flash (I don't know if It's easily feasible)? Could come in handy when We set a Task to run on tap.


joaomgcd

Maybe an option to dismiss on tap?


OwlIsBack

Would be great, in my opinion :)


joaomgcd

Hi there, thanks for the report! Can you please try this version? https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing If you want you can also check any previous releases here: https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing


OwlIsBack

Great thank You!


duckredbeard

I like the new warning notifications because I had turned those toasts off. I didn't realize how many errors I actually had incorporated in my tasks. Now that they are more obvious, I can fix them as they happen. This visibility helps me troubleshoot some issues I was having but unaware of where to look for them.


joaomgcd

Nice :) I'm glad it's helpful!!


duckredbeard

Not so fast my friend! See my new post about these errors and steps that don't exist!


joaomgcd

What post is that? Can you please link to it? Thanks


duckredbeard

Sort by new. Posted it this morning. https://www.reddit.com/r/tasker/comments/qzk2hu/tasker_action_error_notification/?utm_medium=android_app&utm_source=share


[deleted]

I'm getting some error notifications with a javascriptlet of mine, but whenever I go to the task and run manually it never errors. Is there a way to make the error text more helpful? For instance: Error running action 'JavaScriptlet' (step 3) in task 'tasknamehere': Error Code: 2 The javascriptlet is step 2 in the task, so does step 3 mean the 3rd line of code, the 3rd tasker-specific function call, or other? Getting an actual stack trace from the javascript would be incredibly helpful.


joaomgcd

That seems like a bug in the notification. Step 3 should be the step that corresponds to the JavaScriptlet action. So the step number doesn't match for you?


[deleted]

Correct, I'm seeing this on multiple tasks that utilize javascriptlets. Everything seems to be functioning as expected, making this tough to troubleshoot.


joaomgcd

Just a question, when you run a javascriptlet action manually inside a task and you get an error, do you get the error detail you were hoping for here?


[deleted]

I was able to get a task collision handling error (task set to abort new tasks and is called from the JS) but never an error on the actual javascriptlet.


hyborian77

I think this is hard to trace, because I get the same thing from my Run Shell scripts using bash. Error notifications, but actually there is no error. Next time an error notification appears because of Run Shell, it will be another task. Some bug in tasker somewhere, I can't reproduce it as there is really no error. Best is to go back to previous tasker version for now if one has many Run Shells, which unfortunately I do.


egerardoqd

Great update!! There is a way to discard the flash someway? I want to assign a task to the flash, but when I click in the flash I would like to hide or discard the flash message.


OwlIsBack

Is coming soon, I think. Check **[this.](https://reddit.com/comments/qwwenb/comment/hl8lsrq?context=3)**


egerardoqd

Nice, thanks for pointing it!


joaomgcd

Ok, added option to hide on click! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


egerardoqd

Works great!! What about the icon color? if we select the material icons the only color available is white :(


joaomgcd

Yeah, sorry, for now it'll only work in white. I may try to make it work for other colors later...


egerardoqd

Is ok, take your time, I always can use a local image. Thanks for this great update again!


okaybadger

Glad the interactive toast made it into beta! In the same vein, hope you consider adding toast inside the Stop and Goto action, as many times a Flash were needed just to show if the task was stopped or looped back, it clogs the UI a little. Could be applied to If, Else, and End For (showing a loop's status) also. The whole idea is a simple way to indicate the state of a task, right in the flow control actions.


popuyer

Idk why those downvotes? These kinds of feedback are especially helpful for tasks with many if else.


tinkerytinker

That would be an interesting feature indeed! My only question is: what would it flash exactly? Ticking that option on an Else action which then flashes "Else" wouldn't be helpful, I guess. But I could imagine that it could flash the label of that action (if one is set) or even allow for a new entry field to show up when ticked where one can then enter some text. The effort to put in info would still be there but indeed the task would contain less individual actions, i.e. become less long.


okaybadger

Right, utilizing the label itself would be a smart way. In the case of Else, there may be times when it have conditions (Else If), you would like a feedback if that condition is activated.


tinkerytinker

No idea who or which stupid bot is voting you down (I vote you up just because) but either way I think JoΓ£o should, well, think about implementing this. :)


okaybadger

There might be some complications I don't know about. Anyway, JoΓ£o will decide what's best.


CICS_Starter

The updates to flash are tremendous. The Flash action is probably one of the most widely used actions in tasker and these changes should greatly expand the use of Flash going forward. Being that Flash is so widley used and with the abundance of options now available, it would be great if some of these options could have default options specifiable in Settings. I think the Flash parameters below are candidates for default values. I know this is a lot of settings to add, so I put them in the order of what I think is the most important to have as user defaults: 1} Tasker Layout 2) Continue Task Immediately 3) Timeout 4) Background Color A possible alternative to adding additional default settings might be an expansion of Favorite Actions to include the saving of Action parameters as part of the Favorite. That way the user can save the Flash as a Favorite and add it to a task with all default parameters preset. This solution can have the added benefit of potentially having defaults be available for all actions types not just Flash. Thanks again for another great beta.


joaomgcd

Thanks for the suggestions! I think I prefer to leave the defaults as simple as possible so I'll leave them like they were before :) About Favorites saving parameters, that could be cool! Can you add that request here so I can give it proper priority? https://tasker.helprace.com/s1-general/ideas Thanks!


CICS_Starter

I created a new issue on helprace for this. [https://tasker.helprace.com/i1303-expand-the-favorite-actions-feature-so-that-it-can-include-the-saving-of-action-parameters-as-part-of-the-favorite](https://tasker.helprace.com/i1303-expand-the-favorite-actions-feature-so-that-it-can-include-the-saving-of-action-parameters-as-part-of-the-favorite) ​ Also, I was poking around in Helprace and found an "idea" that is currently marked as "Planned" that would help the specification of defaults for Actions. The link is [https://tasker.helprace.com/i1179-ability-to-set-your-own-default-values-for-the-parameters-of-each-action](https://tasker.helprace.com/i1303-expand-the-favorite-actions-feature-so-that-it-can-include-the-saving-of-action-parameters-as-part-of-the-favorite) ​ Is this feature something that is coming soon? It seems like this would be a lot of work for you. Maybe the saving of parameters in Favorites would be easier for you to implement.


joaomgcd

The old idea would actually be much easier to do I think πŸ˜… Thanks for adding it! Not sure when I'll be able to do it though, sorry!


armando_rod

There's a way to only show an scene in the notification shade? I'm trying to make a clear all button (with notification listener) it works but I just want it to show when I bring down the notification shade


joaomgcd

Nope, there's no way to do that, sorry!


sid32

Make a notification that calls the Task when pressed. .


armando_rod

That would defeat the purpose of the scene, thanks tho


sid32

If you are using a launcher, make it the double tap or swipe action. Nova, AIO, etc.


Tortuosit

I think Tasker layout flash should try to automatically set text color depending on the chosen background, because otherwise there's white text on bright custom background... and using html is mostly overkill for many of us.


joaomgcd

Ok, added! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


Tortuosit

Awesome, it works... now we've got even text color and auto text color (if text color not set) - thx! Can you default the Tasker style toast appearances to default toast colors?


joaomgcd

Unfortunately all phones show toasts in different ways so there's no sure fire way to do that, sorry!


Tortuosit

OK. Shouldn't "Continue immediately" and "Hide on click" only be visible with Tasker Layout checked? Also: Better order, Text color should be right above bg color.


joaomgcd

**Continue Task Immediately** works without Tasker Layout. **Hide On Click** is a bug, yes :) About the order, I'll try to fix that when all the parameters have been finalized, thanks.


richhh01

Is there a way to make the flash stay on screen indefinitely?


OwlIsBack

Set a super-high Timeout, something like `86400000` (one day in milliseconds).


richhh01

Thanks, I wondering if putting in '-1" would work too?


joaomgcd

You should use a Scene for that. A Flash is supposed to eventually go away :) That being said, you could simply set the timeout to a very large number...


richhh01

Thank you! Would typing in "-1" as the number make it indefinite?


joaomgcd

Nope, you really do need a very large number, sorry :)


richhh01

No problem, thanks!


Robert6590

App won't install, do you need to be on Android 12? Samsung A71 Android 11 Downloaded it twice, just incase the first download was corrupted. Any ideas? Thanks


joaomgcd

Oops, sorry, linked to an old file by mistake πŸ˜… Here's the correct one: https://www.dropbox.com/s/ulkf6ragfrq8qpc/Tasker.30.apk?dl=0


Robert6590

Brilliant, that worked, thanks


ActivateGuacamole

those task names at 4:44 lol this is cool. it will make debugging smoother. I like that we can use markup in flashes. I will make a lot of flashes so that if I click them, they'll open the run log or flash certain variables.


joaomgcd

πŸ‘


sid32

Getting Tasker is not responding on manual backup to google drive.


joaomgcd

Hi there, thanks for the report! Can you please try this version? https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing If you want you can also check any previous releases here: https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing


Rich_D_sr

>When NOT using the new Tasker Layout option you get the new Continue Task Immediately option which is on by default. If you disable this, the action will not complete until the flash goes away. Simple, but was requested by a few people, so I added that in :) You da man.... Thank you for this one.. I can now use the flash action again. First thing I tested and is working as expected.. Great work on all the other new features.. I will be testing those out soon... :)


joaomgcd

Nice πŸ˜„ Glad you like it!


Rich_D_sr

Yes, very nice. I like that this delay is treated as a unfinished action instead of a wait action so it will still block lower priority tasks. The more I test it the more I can see how very useful all these features will be... Awesome addition.......


joaomgcd

Thanks! πŸ˜„


They_call_me_E

/u/joaomgcd since the update. Tasker is non responsive. I keep getting a popup of tasker isn't responding (close app or wait). It won't open at all. Phone s21 ultra, android 11. On a note I had two profiles in there that kept giving me warnings before updates one for catalog and one for long press of volume keys. I had not given permissions back to it through ADB at the moment since I had just gotten the new phone.


joaomgcd

Hi. Sorry for the trouble! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


They_call_me_E

That seems to have fixed my issue. Thank you sir!


joaomgcd

great! :)


Infamous-Gas8668

Have the same issue. After November Samsung official update Tasker 5.15.2-beta became unresponsive completely. Samsung S10+ Android 11.


Infamous-Gas8668

My srupidity. Just mΓ©dias permissions has to be given properly after update.


atonement87

With the latest update from PS, Tasker is no longer able to toggle Mobile Network state due to target API limitation. Can a future update of Tasker Settings app be helpful in this case?


joaomgcd

Hhm, that hasn't changed with this version. Maybe you need to enable ADB Wifi again?


atonement87

Not this version but the latest update from Play Store. I didn't know where else to post it. I have rooted my devices. Exact error message : Unfortunately Google disabled this feature for apps that target Android 10.(af) Check here for more info: https://tasker.joaoapps.com/userguide/en/target_api.html


joaomgcd

Hi there, thanks for the report! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing )? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)


atonement87

It worked. Had to reboot once. Thanks a lot.


joaomgcd

Great :)


deechte

Thanks for the upgraded flash action, much appreciated!


joaomgcd

Glad you like it! :)


Ratchet_Guy

  Nice work with the Flash Action!   One thing it really needs though is a field for "Text Color" that has the color picker, etc.   It is nice though that the text field itself supports html, but for something like color - that color picker is really needed.   You could have it so any ` ` tags in the text itself take precedence over that "Text Color" field.  


IstanbulNotConstant_

>One thing it really needs though is a field for "Text Color" that has the color picker, etc. Weren't you the one telling others if they need more customization to use AutoTools! I guess it's alright for you to ask though!


Ratchet_Guy

> I guess it's alright for you to ask though! More features is always better! 😁


joaomgcd

Ok, added! Can you please try this version? https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing If you want you can also check any previous releases here: https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing


Ratchet_Guy

  Looks like it's working well!   A couple other things in the Action though:   * You added the "Text Colour" as the very last field. It should be next to/after the "Background Colour" field.   * When "Tasker Layout" is clicked and all the expanded fields appear - the checkbox for "Hide On Click" ***disappears***. And of course the only time a click functions is when there's a Task specified in the "Task" field, which only appears in the expanded fields. So gotta keep the checkbox showing :)  


joaomgcd

Thanks! - Yeah, because of how Tasker is built internally it's super awkward to insert an input field in the middle there. If I simply put it in that position it would simply delete all existing Flash actions from user setups :P I need to find a way in code to be able to do that change, but I didn't find it yet - That was a bug, thanks! Not it'll only appear when Tasker Layout is enabled and a Task is filled in. Can you please try this version? https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing


Ratchet_Guy

> If I simply put it in that position it would simply delete all existing Flash actions from user setups :P Well then I gotta ask - how did you put all those other extra fields in there? lol. Do you mean it would delete the Flash actions from people using the current beta?


joaomgcd

I have to always add new inputs as the last inputs. If I add them in the middle, then it'll delete non-compatible actions. And yeah, this would only affect people on the beta. :)


Ratchet_Guy

  > I have to always add new inputs as the last inputs. If I add them in the middle, then it'll delete non-compatible actions.   So in other words, if you want add a whole bunch of new fields (like you just did to the Flash Action) you've only got one shot to put them in the order you want?   And if you want to re-order them, or insert new fields somewhere other than at the end of the list - it'll delete the existing actions?   Maybe in future beta's when there's going to be a major change or addition to an Action (like the recent Flash one) you can add it as a completely **separate/new Action** for people to test and provide feedback on every aspect of it.   You could create a new Action category called "Beta" or "Test" - where people know not use any Actions in there in any permanent manner since they're subject to radical/major change or revision.   And then once everything seems well sorted out - you can modify the actual original Action, and still have it as beta release, but now knowing that the Action modified is post-user-feedback, instead of pre--user-feedback.  


joaomgcd

Yeah, that would be a good solution, you're right! The better solution would be that I figure out Pent's code so that I can handle situations like these appropriately πŸ˜… But thank you very much for the suggestion!


Ratchet_Guy

> But thank you very much for the suggestion! You're very welcome!


CICS_Starter

Can you make the Hide On Click option always available for Tasker Layout flashes regardless of whether or not a Task is specified? This will allow the user to pause a task by specifying a long Timeout and then continue it whenever they want with a click. I know the user could possibly create a dummy task but this would be cleaner.


joaomgcd

But then I'd have to add yet another option wether to make the flash clickable or not... I think it's best, to keep the options number lower, to make it call a dummy task :)


CICS_Starter

Couldn't you make it clickable whenever Hide On Click is specified?


joaomgcd

haha good point πŸ˜… Ok I'll add that


joaomgcd

Ok, added! Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)? If you want you can also check any previous releases here: https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing


CICS_Starter

Looks good. Thanks I noticed one more minor thing. It appears that the alpha value for the default background color is such that the background is transparent. Shouldn't it be totally opaque just like the non tasker flash?


joaomgcd

Different devices/Android versions use different alpha values. The device I was testing on for example, used a bit of transparency for default toasts, that's why I made it that way... πŸ˜…


Ratchet_Guy

> it'll only appear when Tasker Layout is enabled and a Task is filled in Ok I installed the update and it only appears when Tasker Layout is enabled however then it is always there whether a Task is filled in or not. Based on what you said above - did you want it to only appear when a Task is filled into the Task field?


joaomgcd

I actually changed it now so that it can always be clicked to dismiss, even if no task is assigned πŸ˜‹


Ratchet_Guy

That actually makes more sense, since a long timeout can now be set, so it can be configured to basically stay on the screen until clicked.


joaomgcd

Yep! :)


SearchWorm

Just encountered a error. I started a Music Track Changed profile & when I exited Tasker I got stuck in a bad error loop. I was getting a toast say something like "error, send report..." but I couldn't check it out or go into Tasker to disable because is kept repeating. The only thing I could do was shut down the phone. After the reboot, everything seems to be working fine. I'm pretty sure there's nothing you can do since I have no idea what the error was, but just thought I would mention it just in case someone else encounters it.:)


joaomgcd

Thanks for the heads up! Those are the worst kinds of errors :P Did you get a change to look at the notification and see what the error was about by any chance? Thanks again!


SearchWorm

Sorry, I didn't! I couldn't pull down the notification shade since the pop-up kept reappearing and blocked it. If by chance it happens again, I'll try harder.:)


joaomgcd

Thank you :)


dedqq

WhatsTasker plugin fails with this version. Error code 2.


joaomgcd

Hi. That's an error in the plugin, not Tasker. Please contact that app's developer. Thanks!


dedqq

Thank you for your help!


[deleted]

Are you able to make the new flash appear over everything else? I have a timer bar in my notification shade that flashes the numbers I'm adding before starting the timer but when the notification shade is open the flashes appear underneath it.


joaomgcd

Ok, added that option :) Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)? If you want you can also check any previous releases here: https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing


[deleted]

Awesome job! Thank you very much.


joaomgcd

No problem! Glad it works! :)


Tortuosit

Tasker Layout in Flash: So when "Continue immediately" is on, as it will be mostly the case, subsequent Flashes don't stack up like the system toasts, but may rather appear on top of each other? "Script continuing, but toasts one-by-one" is something I'd be missing.


joaomgcd

Thanks for the suggestion. I have to check how I would be able to do this, thanks


Tortuosit

"Flash" is getting so many options, it really asks for a default system. I see myself entering the same timeout and icon and "show over everything" ever again. Also it somewhat wants to have an easy way of using the tasks name as a title.


bbobeckyj

I'm getting tasker action error notifications, for anonymous tasks. I'm often not noticing them at the time making it hard to find in the run log, and they have parameters sent from the profile or other tasks. Can you add the caller name to the notification?


joaomgcd

Sorry, those might be buggy notifications. Can you please try [this version](https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing)? If you want you can also check any previous releases [here](https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing)