Giter Club home page Giter Club logo

Comments (14)

bhurling avatar bhurling commented on May 17, 2024

Good idea. I think the Google Play Developer API. supports uploading extension files. Do you have a special job that creates the expansion file during the build phase? Or would it be enough to reference the file from within the src/main/play folder?

Also we should add a flag to control whether or not to upload that file just as we did for the store images.

What do you think?

from gradle-play-publisher.

cirorizzo avatar cirorizzo commented on May 17, 2024

It would be nice, or in meantime have the way to update at least the APK expansion file name on publishing. This is my case, I've already uploaded OBB file but I cannot publish the APK 'cause it will be published without OBB file reference... I just discovered today!!

from gradle-play-publisher.

aqibmumtaz avatar aqibmumtaz commented on May 17, 2024

I would be desperately waiting for this feature, can any please update on this request?

http://stackoverflow.com/questions/32116479/apk-expansion-files-in-gradle-play-publisher

from gradle-play-publisher.

janni2 avatar janni2 commented on May 17, 2024

Yes idea with the flag is nice. I think one could consider, that the file is just there. Either created in the build process or just stored statically.

from gradle-play-publisher.

aqibmumtaz avatar aqibmumtaz commented on May 17, 2024

Hopefully someone could work on it.

from gradle-play-publisher.

shiraji avatar shiraji commented on May 17, 2024

I believe creating task with edits.expansionfiles().upload() would upload expansion files. Check out #108 and #110, I created lots of tasks. @aqibmumtaz do you want try that? I can help you.

If no one still work with this feature I can implement this in near future. However, since I only have experience with small apps, I have no idea what the OBB file is. Things I know about expansion files are there are 2 obb files you can upload, 2GB max, and one for apk and the other for patching the obb file. Is there any good sample project I can work with, so that I can test the feature. (or is anyone give me steps how I can create the project with generating expansion files during building process?)

from gradle-play-publisher.

bhurling avatar bhurling commented on May 17, 2024

Do you think a separate task to upload the expansion file(s) is the best way to go? I think the OBB upload is directly connected to a specific version of the APK. So perhaps it is not wise to separate the extension file upload from an APK upload.

Can anyone shed some light on a typical OBB workflow?

  • How often do you update the OBB file?
  • Do you use the patch file?
  • Wher does that OBB file come from? Do you create it during the build phase or is it rather static?

from gradle-play-publisher.

shiraji avatar shiraji commented on May 17, 2024

Yes, definitely I want to know the workflow. If it is clear, I can answer whether creating a separate task to upload the files is good idea or not.

from gradle-play-publisher.

Pitel avatar Pitel commented on May 17, 2024

Any progress on this? I also need to assign (already uploaded) OBB to APK, but I can't find any way to do this.

from gradle-play-publisher.

SUPERCILEX avatar SUPERCILEX commented on May 17, 2024

Note to self: the docs are here.

from gradle-play-publisher.

SUPERCILEX avatar SUPERCILEX commented on May 17, 2024

I've spoken with some Googlers, and they basically said they're not planning on working on this. Since we can't do anything on our end and app bundles sort of solve the problem, I'm going to close this issue. If the API even adds support for OOB hashes so we aren't reuploading the files on every build, we can reopen.

from gradle-play-publisher.

santojon avatar santojon commented on May 17, 2024

If the API even adds support for OOB hashes so we aren't reuploading the files on every build, we can reopen.

@SUPERCILEX, This is pretty much what I made in my fork, with success. Used in an app and link the OBB file to APK occurs. No need to re-upload the OBB file each time, just point the version code of already linked existent APK. I'm really happy if can pull request it.

from gradle-play-publisher.

SUPERCILEX avatar SUPERCILEX commented on May 17, 2024

@santojon the original issue request was to support uploading OOB files. Your fork seems to be about keeping the OOB file linked with whatever APK is uploaded. Is that right? That feature request doesn't seem too bad.

from gradle-play-publisher.

santojon avatar santojon commented on May 17, 2024

You fork seems to about keeping the OOB file linked with whatever APK is uploaded. Is that right? That feature request doesn't seem too bad.

@SUPERCILEX Yes, the fork is mainly about keep the link, get OBB link from another yet uploaded APK and attach it to the new one.

I've added some code about upload to, but didn't test yet, and I can remove if you think is the best choice.

Other thing is I've forked from 2.2.1 and I see there is a merge problem with your master branch right now. I've tried to merge, but got problems even in the link.

I will try merge your code into mine again, and, if link a OBB file works, I will pull request it.

from gradle-play-publisher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.