Google Play auto update

Post your questions and help other users.

Moderator: Martin

Post Reply
syndromtr
Posts: 31
Joined: 01 Feb 2013 13:28

Google Play auto update

Post by syndromtr » 10 Oct 2018 14:40

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.

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: Google Play auto update

Post by anuraag » 11 Oct 2018 00:04

Use action "start activity" instead of send Broadcast.

syndromtr
Posts: 31
Joined: 01 Feb 2013 13:28

Re: Google Play auto update

Post by syndromtr » 11 Oct 2018 09:57

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);

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Google Play auto update

Post by Desmanto » 11 Oct 2018 15:09

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
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Google Play auto update

Post by Martin » 12 Oct 2018 19:07

Thanks for the great example! It will be available in the next update.

Regards,
Martin

cesc196
Posts: 1
Joined: 19 Dec 2018 10:07

Re: Google Play auto update

Post by cesc196 » 19 Dec 2018 10:28

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.

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: Google Play auto update

Post by anuraag » 19 Dec 2018 11:03

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.

Post Reply