Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support instant apps #529

Open
carstenhag opened this issue Mar 5, 2019 · 10 comments
Open

Support instant apps #529

carstenhag opened this issue Mar 5, 2019 · 10 comments
Labels
blocked-by-api Indicates issues blocked by a missing feature or bug in the Publishing API enhancement Indicates new feature requests feature:bundle Involves app bundles
Milestone

Comments

@carstenhag
Copy link

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.

@SUPERCILEX SUPERCILEX changed the title Add release option for instant apps Support instant apps Mar 29, 2019
@SUPERCILEX SUPERCILEX added enhancement Indicates new feature requests blocked-by-api Indicates issues blocked by a missing feature or bug in the Publishing API feature:bundle Involves app bundles labels Mar 29, 2019
@SUPERCILEX
Copy link
Collaborator

SUPERCILEX commented May 9, 2019

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

@SUPERCILEX SUPERCILEX reopened this May 9, 2019
@SUPERCILEX
Copy link
Collaborator

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.

@kenyee
Copy link

kenyee commented Jul 25, 2019

@SUPERCILEX
Copy link
Collaborator

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

@SUPERCILEX SUPERCILEX added this to the Backlog milestone Nov 16, 2019
@CristianGM
Copy link
Contributor

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

@SUPERCILEX
Copy link
Collaborator

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

@SmasSive
Copy link

SmasSive commented Nov 18, 2019

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"?

@SUPERCILEX
Copy link
Collaborator

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

@SmasSive
Copy link

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?

@andreimesina
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked-by-api Indicates issues blocked by a missing feature or bug in the Publishing API enhancement Indicates new feature requests feature:bundle Involves app bundles
Projects
None yet
Development

No branches or pull requests

6 participants