Page 1 of 1

Google Play auto update

Posted: 10 Oct 2018 14:40
by syndromtr
hello,

some help needed to make this working with Automagic.

instructions for Tasker below (claimed and reported working)
more info: https://github.com/anod/AppWatcher/blob ... eIntent.kt

Send Intent Action:

Action: com.google.android.finsky.VIEW_MY_DOWNLOADS
Extra: trigger_update_all:true
Package: com.android.vending
Class: com.google.android.finsky.activities.MainActivity
Target: Activity

---

i try this with Automagic,

Send Broadcast

action: com.google.android.finsky.VIEW_MY_DOWNLOADS
explicit component checked,
package name: com.android.vending
class name: com.google.android.finsky.activities.MainActivity
extras: putBoolean("trigger_update_all", true);

---

nothing happens, even launching Google Play app before Send Broadcast...
so, can someone fix it and share the working result here or in Flow Sharing Area?

thanks.

Re: Google Play auto update

Posted: 11 Oct 2018 00:04
by anuraag
Use action "start activity" instead of send Broadcast.

Re: Google Play auto update

Posted: 11 Oct 2018 09:57
by syndromtr
thanks, working great with "start activity" only, with those parameters.
this activity can be added safely to EXAMPLES section of Start Activity Action, for incoming versions.

Action : Start Activity

Action: com.google.android.finsky.VIEW_MY_DOWNLOADS
Explicit Component checked,
Package Name: com.android.vending
Class Name: com.google.android.finsky.activities.MainActivity
Extras: putBoolean("trigger_update_all", true);

Re: Google Play auto update

Posted: 11 Oct 2018 15:09
by Desmanto
Just look at tasker send intent, each map to different action in Automagic
Activity >> Start Activity
Service >> Start Service (will be obselete in the future)
Broadcast >> Send Broadcast.
In this case, it is activity, hence Start Activity.

Thanks to you question, I just know we can trigger the update via intent now. I still use my old method of opening playstore and use control UI to navigate to the my apps & games, click the update all.
Using this, no more Control UI needed to navigate, only need the back() if we want to exit after triggering the update.

+1 for this to be added to examples

Re: Google Play auto update

Posted: 12 Oct 2018 19:07
by Martin
Thanks for the great example! It will be available in the next update.

Regards,
Martin

Re: Google Play auto update

Posted: 19 Dec 2018 10:28
by cesc196
Hi, can you tell me if this example is working now.
I create a block like you did, but after that My apps and My games tab opens, update all doesn't start.

Re: Google Play auto update

Posted: 19 Dec 2018 11:03
by anuraag
cesc196 wrote:Hi, can you tell me if this example is working now.
I create a block like you did, but after that My apps and My games tab opens, update all doesn't start.
not working. Recent play store update broke it.