gradle-play-publisher icon indicating copy to clipboard operation
gradle-play-publisher copied to clipboard

Support instant apps

Open carstenhag opened this issue 5 years ago • 10 comments

Is your feature request related to a problem? Please describe. Currently, I am using this plugin to automatically release beta/alpha versions of my app, and then I manually promote them to the production track.

I then have to create a new release at the instant apps tab and select the lates release.

Describe the solution you'd like Would be pretty handy if the plugin could release both normal and instant app at the same time.

Describe alternatives you've considered Keep doing it manually, likely forgetting to update the instant app release once in a while

Additional context Not many people are using instant apps yet, and they have been pretty buggy (graphic glitches) for me. Seems like Google is pushing them though.

carstenhag avatar Mar 05 '19 22:03 carstenhag

FYI: I talked with Googlers who work on the API at I/O and they said they're not working on this. 😢

SUPERCILEX avatar May 09 '19 22:05 SUPERCILEX

If you're interested in this, please file a support request asking them to add support for instant app uploads with the play publisher API.

SUPERCILEX avatar May 09 '19 22:05 SUPERCILEX

Done :-) https://issuetracker.google.com/issues/138364068

kenyee avatar Jul 25 '19 21:07 kenyee

I've also filed a bug internally (yours is unlikely to get any attention unfortunately :cry:).

SUPERCILEX avatar Jul 26 '19 17:07 SUPERCILEX

Aren't Instant Apps deprecated? ( They have been replaced by dynamic features )

CristianGM avatar Nov 17 '19 08:11 CristianGM

@CristianGM Yeah, but I'm pretty sure you still have to register them separately in the #ManageInstantReleasesPlace section of the Play Console.

SUPERCILEX avatar Nov 17 '19 23:11 SUPERCILEX

Yes, you have to manage the instant apps releases separately. You can upload the app bundle and play store will serve the right instant app (contained in that bundle) The problem then is that there is no access to this let's name it... "instant app track"?

SmasSive avatar Nov 18 '19 15:11 SmasSive

@SmasSive correct: as far as I'm aware, there's no API we can use to publish the app bundle as an instant app.

SUPERCILEX avatar Nov 18 '19 16:11 SUPERCILEX

Hi! Still no API? I've been reviewing the official documentation but I didn't see anything related to AIA, maybe I missed something?

On the other hand, any other alternative? Like uploading the AAB and then manually publishing it in the AIA track? Do you think it's doable?

SmasSive avatar Mar 24 '22 12:03 SmasSive

Hi @SUPERCILEX , we have also tried releasing instant apps using the plugin, but with no success.

Apparently at some point it was possible to use the plugin to upload the instant app bundle, without making a release. But currently, it is not even possible to upload the bundle, as the API gives the following error:

> A failure occurred while executing com.github.triplet.gradle.play.tasks.CommitEdit$Committer
   > 403 Forbidden
     POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/...
     {
       "code": 403,
       "errors": [
         {
           "domain": "global",
           "message": "You cannot rollout this release because it does not allow any existing users to upgrade to the newly added APKs.",
           "reason": "forbidden"
         }
       ],
       "message": "You cannot rollout this release because it does not allow any existing users to upgrade to the newly added APKs.",
       "status": "PERMISSION_DENIED"
     }

Do we know if Google is looking to support this at some point?

Thank you

andreimesina avatar Nov 08 '23 14:11 andreimesina