Android client - Tasker doesn't work

Howtos, instructions and links to related software. Do not ask questions here.
mrflible
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 03 Aug 2013, 13:24

Android client - Tasker doesn't work

Postby mrflible » 15 Aug 2016, 14:41

Hello, I tried use Tasker plugin for Android Tiny Tiny RSS app. Unfortunately does not work. When I run Tasker action "Download articles and go offline" nothing happen. No notification, no error in tasker log and no change in Tiny Tiny RSS application. Action in Tasker is completed immediately.
What can i do to troubleshoot this problem? (I tried it on two phones) Thank you

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client - Tasker doesn't work

Postby fox » 15 Aug 2016, 14:54

idk, its been implemented a few years ago. maybe they changed the api somehow and it doesn't work now. or maybe i broke something.

if that is the case, someone else will have to investigate, because i don't really use tasker (nor do i really care about offline mode tbh).

>What can i do to troubleshoot this problem? (I tried it on two phones) Thank you

you can try getting some logs (using adb logcat), this can help.

mrflible
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 03 Aug 2013, 13:24

Re: Android client - Tasker doesn't work

Postby mrflible » 16 Aug 2016, 11:01

Hello, this is logcat log (from logcat extreme app) - started few second before I manually run Tasker action, stopped few second after

http://pastebin.com/LqC2rXHz
I hope it will be helpful

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client - Tasker doesn't work

Postby fox » 16 Aug 2016, 11:53

are you using multiple users or something? in any case this permission cannot be taken by a third-party app so i guess you're screwed if it is required for some reason. either that or your firmware is misconfigured/broken/whatever.

mrflible
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 03 Aug 2013, 13:24

Re: Android client - Tasker doesn't work

Postby mrflible » 16 Aug 2016, 11:56

No multiple users. This log is from my Samsung S4 mini 4.4.2 - stock. I'll try tonight get log from another device.

joeyteel
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 17 Aug 2014, 11:52

Re: Android client - Tasker doesn't work

Postby joeyteel » 16 Aug 2016, 17:28

How about multiple Google Play accounts?

I've seen that permission error happen on my Tab 4 8" running Samsung's stock firmware with apps that were installed with different Google accounts.

mrflible
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 03 Aug 2013, 13:24

Re: Android client - Tasker doesn't work

Postby mrflible » 16 Aug 2016, 21:05

That's right, previous log is from Samsung where I have two Google accounts.

These two logs are from Android 5.1.1 with single google account:

This is from logcat extreme app
http://pastebin.com/y5WcMTQx

And this is from logcat app - In this log I tried run Tasker action twice
http://pastebin.com/S1yuysqW

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client - Tasker doesn't work

Postby fox » 16 Aug 2016, 22:06

other than suggesting you install both apps using a single account i don't think i have any ideas

mrflible
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 03 Aug 2013, 13:24

Re: Android client - Tasker doesn't work

Postby mrflible » 16 Aug 2016, 22:16

Thank:) Both app are on same account - second account is for email only. Tomorrow I'll try to find out how this can be verified

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client - Tasker doesn't work

Postby fox » 16 Aug 2016, 22:59

Code: Select all

08-16 19:34:48.549 D/TaskerReceiver(32327): unknown action id=-1


that looks bad

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client - Tasker doesn't work

Postby fox » 16 Aug 2016, 23:18

alright i think i figured this out

when you make / edit the tt-rss task you need to tap on "SAVE AND CLOSE" button, otherwise it doesn't actually save the settings and nothing works

try it

e: actually, now it does work even if pressing back, i dunno

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client - Tasker doesn't work

Postby fox » 16 Aug 2016, 23:26

anyway, it took me several tries switching the action and pressing save for the setting to stick on my device, which makes it work from then on

why? i have no idea whatsoever

e: there is another issue: if the app exists in background while tasker task does its thing it does not switch to offline mode properly because of reasons

e2: and yet another issue (related): if the app is in background when offline download finishes, it will not receive the broadcast from the service and won't be able to switch offline properly (i.e. won't display the dialog)

given that offline is in maintenance mode as far as i'm concerned i'm not sure if i'm up to fixing either issue, especially because the tasker problem/flakiness seems to be outside my control

mrflible
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 03 Aug 2013, 13:24

Re: Android client - Tasker doesn't work

Postby mrflible » 17 Aug 2016, 11:09

fox: Thank you! "SAVE AND CLOSE" button did the trick. I'm sure that i use it in the past, but main problem is that settings resets if you go to task (to check setting) and pres back - settings will reset and task will not work.

Your right, there is another poblem with switching to offline mode when Tiny Tiny RSS app is running in the background, but Is is solvable with tasker - you can add additional actio for kill app before run sync for offline

So thank again for help, now (with help "Save and close" button) offline sync work on both my devices

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client - Tasker doesn't work

Postby fox » 17 Aug 2016, 11:52

what's strange is that it works afterwards if pressing back instead of save & close

anyway, i'll link this thread in the KB. glad that worked.


Return to “Knowledge Base”

Who is online

Users browsing this forum: No registered users and 2 guests