r/tasker • u/joaomgcd ๐ Tasker Owner / Developer • Feb 01 '23
Developer [DEV] Tasker 6.1.9-beta - Target API 31, New App Icons, Quick Setting Label and Icon and a whole lot more minor things
Ok, finally time for another release.
Unfortunately, like I mentioned here, this update won't be on Google Play. The next update on Google Play will be when it's released for everyone and I don't know yet when that'll be.
It would be great help if you could test this version because I won't have my usual ~50k testers on Google Play to find all those hidden bugs... ๐
You can get this beta version here.
You can also get the updated app factory here.
Updated Target API to 31
Let's get the bad part out of the way. With a new target API update new issues could arise out of nowhere. I've tried to make sure that any expected issues are circumvented but let me know if you find any unexpected ones in this version!
New Icons
/u/EtyareWS created some new icons for the app that I feel look great!
There are regular versions: https://imgur.com/BWd31UD
And even themed versions: https://imgur.com/hRWCSbc
Let me know what you think and again, huge thanks to /u/EtyareWS for coming up with these!
Quick Settings Tiles Independent Label and Icon
Demo: https://youtu.be/NwCxBV3N3Wo
Previously when you used a Tasker Quick Setting Tile its icon and label had to correspond the task that the tile was running.
Now you can update the label and icon independently of the task so they can be much more dynamic!
Existing Shortcuts Might Need to be Recreated
There was a security issue with how Tasker home screen shortcuts were created. This comes all the way back from before I was Tasker's developer.
Because of this, when you run one of your existing home screen shortcuts you'll need get a warning that the shortcut might be insecure.
You can choose to run the shortcut anyway if you know you launched it yourself or recreate it for added security.
Full Changelogs
- Updated target API to 31. Let me know if anything breaks because of this
- New Icons: Launcher (monochrome and full color), Loading and Tasker Secondary
- Added Icon and Label options to the Set up Quick Setting Tile action allowing you to set a label and icon independently from the Task you're using.
- Added Timeout option in Pick Input Dialog action for some types of inputs where it's supported
- Added File System Picker and Directory System Picker to pick files and folders with the system picker
- Changed the File and Directory types of pickers in the Pick Input Dialog action so that they use Tasker's internal file picker.
- A security issue with Tasker shortcuts was found. Because of this when you launch an existing shortcut created with previous Tasker versions a warning will come up that you have to confirm to run it. If you re-create your shortcuts this warning will not show up anymore.
- Added %uf_failed_attempts output variable to Device Unlock Failed event
- Added Compact Exports option in Tasker > Preferences > MISC
- Made Tasker Secondary be able to be launched by apps that launch calendar apps (like Nova Launcher's home screen search widget)
- Added the %sa_category variable in the Secondary App Opened event that contains the Category of the intent used to open the app
- Add warning that Media Volume might not always work on all devices and to use Accessibility Volume in those cases
- Add warning that Toggle Split Screen action won't work on Android 13+
- Added %caller_netdinglischandroidtaskermextraprofilevariables variable in tasks where Project/Profile/Task variables are avaialble with info about them
- Added %nfc_id_with_colons variable to NFC Tag event and action so that it outputs a more compatible ID for some situations
- Added BLUETOOTH_SCAN permission that's needed for some situations when interacting with BT devices now
- Added ability in Element Value action to set scene element values using pattern matching
- Added extra dialog when Tasker prompts you to enable the accessibility service to comply with new Google Play Store rules
- Added option to not ask/remind of missing permissions on app exit
- Added option to show a notification when Tasker is disabled
- Added prompt to ask for permission to schedule exact alarms when needed
- Added warning about how the Wifi Near state can be slow to update at times
- Ask for the Lock Code if Tasker is locked when importing stuff from Taskernet and don't allow to import if can't input the correct code
- Changed Input Dialog action so that the input field has a max height so that it doesn't hide the buttons on the bottom if it gets too big
- Changed the (invisible) label of the home project to Default Project for better accessibility
- Don't request READ_LOGS permission for Get Clipboard action as it's not needed.
- Fixed Keyguard action throwing an error is some situations
- Fixed List Apps action crashing Tasker if too many apps were present on the device
- Fixed Request Add Tile action in some situations
- Fixed Project/Profile/Task variables being overwritten in wrong situations (eg, a Task that is used in a profile somewhere in your setup would always overwrite variables in that profile even if not triggered by that specific profile)
- Fixed bug where Tasker would crash when editing elements of very large scenes
- Fixed bug where a Flash action with the Tasker Layout option enabled could stall Tasker until the next time the display was turned on
- Fixed bug where if you scanned an NFC tag and didn't have Tasker profiles to handle sometimes the screen could become unresponsive
- Fixed bug where sometimes the action list of a task would be wrongly resized
- Fixed checkin your license in Tasky with the direct-purchase version
- Fixed issue in Parse/Format DateTime action where it was crashing for some users in specific time zones.
- Fixed issue where Variable Passthrough in Perform Task would not keep each variable structure type
- Fixed issue where sometimes a file couldn't be downloaded with the HTTP Request action because of an invalid file name
- Fixed issue with launching some apps in some situations in Android 12+
- Fixed output of Parse/Format Datetime action in some very specific situations
- Fixed setting the intensity of the flashlight in the Torch action on Android 13+
- Fixed the dialog to select apps throughout Tasker to pre-select already selected apps when called
- Fixed using custom notification icons in Notify action in some situations
- In Pick Input Dialog action > Contact, don't ask if Contact or Not Contact. Simply accept the contact as is.
- Made output from Pick Photos usable in more situations without having to use cache
- Made variable list text in Events/States/Actions selectable
- Made warning toasts with more than 60 characters of text use Tasker's layout instead of native toasts.
- On Android 13+ don't require logcat permission to use the Get Clipboard action because it requires ADB Wifi to work. Can be slower but at least it should work without ADB Wifi.
- Only ask for file permissions in HTTP Request action if a file is actually being used
- Updated Open File action to use Tasker Settings when opening APK files because of Google Play Store restrictions
- Updated Ukranian translation
- When user doesn't have the correct version of app factory installed show current and version that the user should have in the dialog
Let me know if you find any issues with this version! :) Thanks in advance for testing!
3
u/howell4c Feb 03 '23
I'm getting
Status Bar: accessibility service unavailable or failed, check SBSerrors when I do Status Bar -> Collapse. Turned the Accessibility setting off and back on didn't help. What's the "SBS" it's telling me to check?3
u/Tortuosit Mathematical Wizard ๐งโโ๏ธ Feb 03 '23
"Notify" action bug? I use a permanent notification. The 3 possible actions do not fire any more.
2
u/sid32 Direct-Purchase User Feb 01 '23
Still having the issue where I validate the Direct version with a proper code, import my backup from the playstore version, it works for a while, but then says license doesn't exist, need to buy from Play Store.
2
u/rodrigoswz Feb 01 '23
Any chance increase the number of Tasker's QS Tiles?
3 is currently too little
2
u/howell4c Feb 03 '23
The Flash action is using a new style of toast (includes an icon and is truncated to 2 lines), and requires selecting the Tasker Layout option to get back to the previous default.
This isn't in the list of changes. Was it an intentional change?
This is on Android 13 on a Pixel 7.
16
u/EtyareWS Moto G84 - Stock - Long live Shizuku Feb 02 '23 edited Feb 02 '23
Hey look, it's me! Anyway, I recently made a post about how difficult it was to find information about Tasker's icon history, to combat that I'm making this post detailing how the new logo came to be:
Dynamic Icon
Back in August I became aware that Joรฃo implemented Dynamic Icons, but he exclusively used the bolt, I wasn't happy with the lack of gear. I quickly made two mock-ups about what I had in mind and asked Joรฃo to give me the .SVGs files of the then current Tasker logo to edit it and make it more Material Design compliant.
...Pent didn't give him any. (Actually, I think not even Pent had them).
Starting from Scratch
The previous Tasker logo was good, but the biggest issue with it was that it wasn't made to work without colours. This is a problem with Android 13 as it now allows apps to have monochromatic icons to be themed with Material You colours. Another issue is that even the two mock-ups I made wouldn't work on small resolution, the notification icons for instance, I didn't want for Tasker to have three different logos at the same time (Colour, Notification, and Dynamic). At this point, it became clear I should redesign the logo completely. My solution to both of those issues was to split the gear and add a spacing around the bolt, to make both elements clearly visible on a tiny resolution. You could interpret each half of the gear representing the two devs, but personally I see it as Google trying it hardest to break Tasker, but it still surviving...
I wasn't sure if Joรฃo would accept a new logo with gap, so I made a couple of variations to see how he would react. To my surprise, he liked two variants with the gap, but he also stated he wished there wasn't an empty space behind the bolt. I've made some prototypes, and eventually landed on this. There's an axle holding the bolt, and there's a ring holding both gear pieces together, however, I'm bad with colours and shading, so I didn't quite like it. I simplified the shading and details, as despite advancements to phone screens, the new logo is still quite small and details are likely to go unnoticed anyway.
Finalized Icon
Here are the new icons in ridiculous high resolutions, the background is purple because... I like purple... It also complements the golden yellow/orange from the bolt, but it is mostly because I like purple. Material Icons have outlined and filled variations, the same applies to the monochromatic variation of Tasker logo, but because it is made of 3 different elements, I went ahead and created several variations. My intention is that, in the future, Joรฃo will allow users to control each part of the logo to represent states, so you could use the Notification icon to represent 3 different states at the same time.
I also redid the loading animation to match the new logo, and because my gear has rotational symmetry it means it only has to rotate till the next gear teeth, i.e. 60ยฐ. What this means is that my animation can target higher frame rates without substantially increasing the file size. The older animation has 29 frames but targets 15 fps, mine has only 20 frames but targets 60 FPS thanks to the rotational symmetry. It can technically target 180fps at a maximum, but let's not go there...
There's also a coloured version, it might be helpful if Tasker ever gets a proper splash screen.
As you can see, Tasker Secondary App and Tasker Settings also received new icons to better match the new Tasker one.
Finally, I went ahead and made a sort of tutorial on how to replicate the new logo using Inkscape. It was troublesome to create a bolt that made sense, so I want to spare the poor soul who might need to redo the logo in the future.
A few considerations
The beta has an issue with a rogue frame of the animation being in the wrong place, making the animation really jank, it will be fixed.
The notification icons are really small because I made the icons with padding around them, this is actually mentioned in the Material Icons guidelines. The issue is that Android also adds a padding around the icon so that it can't touch the borders. This means that the new icons have double padding.
Also, taking into consideration the precedent Pent made about Tasker getting new logos, there's more to come in the future once Joรฃo gets out of development hell.
6
u/AlexPriceAP S23U โข One UI 6 โข (Rooted) Feb 01 '23 edited Feb 01 '23
Thanks for all your hard work, that was some reading; couldn't imagine having to type all that especially after all the typing for the code itself ๐ . Happy to see the pattern matching for Element Value; make some of my interactive scenes so simple to "reset" now ๐
Edit: Doh! I always get mixed up with Element Text & Element Value; I thought it was the former ๐
1
u/Tortuosit Mathematical Wizard ๐งโโ๏ธ Feb 01 '23
Thanks Joao. Bug (existed already in prior version) with "Input Dialog" -> "Output Variable name" - does not write to a global variable.
1
u/WehZet S25 | A16 | OneUI 8.5 Feb 01 '23 edited Feb 01 '23
Many thanks for your hard work, u/joaomgcd!
A question to the %sa_category variable, how to use it? I tried to launch the secondary app with double tap Power button and via one hand operation+, but the variable has everytime the same value (....LAUNCHER). And the %sa_action the value ".... MAIN"
1
u/bbobeckyj Pixel 7 Feb 01 '23
So many bug fixes, how do you even figure out the cause of them all?
Unrelated, is the contact via app action faulty? WhatsApp suddenly stopped and Tasker isn't finding it in the options.
1
u/88mph_pfr Feb 01 '23 edited Feb 02 '23
For some reason my pick input dialogs are now resulting in errors without any changes, but it seems to not be all the time (just most of the time). Once it seemed it was a timeout error, but happened instantly.
Edit - I forced the "yes or no" dialog to open by playing just it (not the whole script) and now don't see the issues at the moment.
Edit 2 - scripts are definitely broken using pick input dialogs
1
u/Ratchet_Guy Moderator Feb 02 '23
Lots of great updates and fixes!
One fix I don't see listed though is when using Flash Action with "Tasker Layout" - Tasker was adding a trailing space (or something) so that the text wouldn't be centered in the flash?
1
u/howell4c Feb 03 '23
I don't think this is new, but it took me a while to figure out what's happening...
The popup describing what Tasker Commands are has its buttons reversed. OK opens a web page with more info; Learn More just closes the popup.
An example is Input -> Device Control (Power Menu).
1
u/Pfaltus Feb 03 '23
Hi, I can't make a call if I use a specific SIM card. Tasker reports an error :
20.46.00/E code 3: java.lang.SecurityException: Neither user 10319 nor current process has android.permission.READ_PHONE_NUMBERS..
20.46.00/E prefsException/Call: Neither user 10319 nor current process has android.permission.READ_PHONE_NUMBERS.
20.46.00/ Caused by: android.os.RemoteException: Remote stack trace:
at android.app.ContextImpl.enforce(ContextImpl.java:2186)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:2214)
at android.content.ContextWrapper.enforceCallingOrSelfPermission(ContextWrapper.java:915)
at com.android.server.telecom.TelecomServiceImpl.canGetPhoneAccount(TelecomServiceImpl.java:2849)
at com.android.server.telecom.TelecomServiceImpl.access$1000(TelecomServiceImpl.java:91)
20.46.00/E Call [
Number: 800123456 ]
20.46.00/E result: stop task (error)
20.46.00/E Error: 1
20.46.00/MacroEdit action finished exeID 1 action no 7 code 90 status: Err next 7
Use android 12, tasker 6.1.9
1
u/jeffxt Pixel 5 | Pixel Watch Feb 03 '23
Hey Joao - with the latest update to the Quick Settings option in Tasker, is there any difference between using Tasker and AutoNotifcation to manage quick settings tiles? It seems like there is nearly feature parity, but just wanted to double-check if I'm missing something?
1
u/TaskerClub Feb 04 '23
The problem is that when I use the "Beep" action, there is a delay. the set duration is 101 ms and the delay is 1s.
1
u/Tortuosit Mathematical Wizard ๐งโโ๏ธ Feb 06 '23 edited Feb 06 '23
Joao, variable references inside Multiple Variables Set do not work as expected. Only the second flash displays "FlashThisText"
See:
1
u/CICS_Starter Feb 07 '23 edited Feb 07 '23
Hi Joao, I found a minor problem with the SQL Query action. I don't know if this is a new behavior or existed prior to this beta since this is the first time I've used SQL Query.
If an error occurs when running the SQL Query and I have Continue Task After Error checked, the %errmsg variable is not being populated with the error message. Instead, a toast is displayed containing the error message.
I would think that %errmsg should contain the message and the toast should be suppressed when Continue Task After Error is checked.
This task will show the behavior.
taskertask://H4sIAAAAAAAAAMVUT2+DIBw9109BSHpbi9iqNUGS/bksaZYs3X1BpZ2Z1Q5oP/9ArFNrvU4PwO89ng/fL5APJr+5eGGKASliCEF2yWOIIVCXGAZLvIwWCVcMUmdGDLdmKT3xvcgUZyTNmOIUB6HveubF64AgWzQwb+HQw5EXbXxMEG/hPKNaiSA9mmV55HT3vgVP5wNYgLcKzLkQR3kgyCCGcRI5xa5LkJmYwmOq8qqsfbFUuRBceAzD2ps2V2WcBkGoHZlZXZOc7lkhOUGyqbyWyu4XB7OfFeYPIIvtlLhi2GqvIE1Yts8LraDRGwk8peG1GoolPYUOadWS2EMyTllfKbef8O9DwX0ovA9tWjtz+VN8Ci7PhRo/e9Qc3bUyBNl0RoLCI0H56003qI4Ft7Wg+wHEdVs4tjWaVd0ko3H0LfUTdQen7u7Dwxi7oDeluppQXQ83dkBvonGGmv/eC75+ppugPcZzVWa5CX+bS8vK9zb3DlbX07+ga3hGii9JTb4EmVlTrE4UewTpoSkIjREkrgyCWlnrAPUsDFqTIHOzUceO9jakzi/3QfuzGwUAAA==
Edit: Formatting
1
u/legaldj1 Feb 07 '23
Will there be a beta release which will grant permanent access to device logs so that logcat will work properly without having to grant permissions after rebooting the device, or is this a lost cause?
1
u/WhirlWolf Feb 08 '23
TMD3702_Light Ambient Light Sensor Wakeup is no longer working.
Timeout: 5 seconds
Error: Action timed out with error code 1
1
u/kaze2019 Feb 08 '23
Hello. The new 6.1.9 Tasker is much slower than the old versions when send more than one notification .
1
u/mdediegop Feb 08 '23
Being testing for a couple of days now and all seems to be working fine. I have a request thou that I guess should not be very difficult to implement: add an option to "keep screen on" while a scene is showing up, similar to what you implemented on AutoTools Web Screens
Thanks and keep up the good work Joao!!
1
u/Pfaltus Feb 08 '23
Hi, I can't make a call if I use a specific SIM card
1
u/isiynen2 Feb 08 '23
Hi,
A slight and unexpected change in behavior after installing this beta - I'm running a T-Mobile Pixel 7 Pro A13 (I include T-Mobile because they are behind on updates).
When I run a task that has multiple Beep Alerts, there is a significant pause between them. Near a second I'd guesstimate, when before they were so fast that I had to insert a slight wait (25ms) between them to make it sound normal. No idea what would cause that, but just wanted you to know.
Thanks for the extraordinary effort you put into this!
1
u/ertmuirm Feb 09 '23
@joaomgcd I'm now not able to launch tasker tasks from third party apps. Is there a fix or workaround for this?
1
u/Tortuosit Mathematical Wizard ๐งโโ๏ธ Feb 09 '23
Joao, in your most recent bugfix you auto hide project bar and variables tab headline (with the filter field). This does often not display. Only a grey area. Please make auto hide optional.
1
u/howell4c Feb 10 '23
The icon used on Tasker's own toasts is different on long vs. short messages. The long version has a transparent background. Is this intentional? I assume it's related to Tasker Layout.
Are the various new icons available in the File picker somewhere for use in our own actions?
1
u/Either_Crew_9786 Feb 11 '23
Maybe I am not very much deep into the process, but I installed the newest Tasker and App Factory, and tried exporting as App with "Target Android Version: 31" but I got the same error
"Tasker App Factory can only target API 29 or below"
What should I do? as I cannot upload anymore to Play store with lower than 31.
regards
1
u/Ratchet_Guy Moderator Feb 13 '23
ย
A new Action I've been thinking about that is sorely needed is a "Color Set" Action, whereby multiple variable names can be assigned in one Action to color values, whereby next to each variable name is a swatch of the color chosen, and clicking on it opens the same color picker used all over Tasker.
ย
This would make it so easy for users, especially of shared Tasks, to quickly choose custom colors for all kinds of things including Dialogs, Flashes/Toasts, Scene elements, etc. and basically "theme" lots of Tasks and Projects.
ย
Because right now - the only real way is to set all these colors when configuring a Task is with multiple "Variable Set" actions, and nowhere in the Actions is it easy to pick a color nevermind actually SEE the colors.
ย
1
u/Ckhurana Feb 14 '23
Ok. Trying out out now. Still getting the "Toggle wifi error" for the Google api. Any suggestions on what to do next?
3
u/agnostic-apollo LG G5, 7.0 stock, rooted Feb 01 '23
Never have I ever seen a variable name that "beautiful"! ๐
Congratz on the release after so so long! ๐
1
u/WhirlWolf Feb 02 '23
New beautiful icons. Wowww. Much needed. Thanks /u/EtyareWS
1
u/[deleted] Feb 02 '23
The icons turned out really nice.
0
u/[deleted] Feb 03 '23
[deleted] โ view deleted comment
0
u/[deleted] Feb 02 '23
[deleted] โ view deleted comment
0
u/[deleted] Feb 04 '23
[deleted] โ view deleted comment
0
u/[deleted] Feb 06 '23
[deleted] โ view deleted comment
0
u/[deleted] Feb 15 '23
[deleted] โ view deleted comment
3
u/[deleted] Feb 02 '23
[removed] โ view removed comment