microsoft / appcenter

Central repository for App Center open source resources and planning.
https://appcenter.ms
Creative Commons Attribution 4.0 International
1.01k stars 223 forks source link

Android split apk/obb support #2306

Open Lyyy opened 3 years ago

Lyyy commented 3 years ago

Hi 👋

By any chance, do you plan to support split Android Apk+Obb files ? We have to split our Android application to match Play Store requirements, and we use AppCenter to verify our builds before uploading them to the store, so actually we have to create a 'Custom' application on AppCenter, and distribute our Android build as a zip archive which contains both .apk and .obb files (with the correct naming). It would be nice if AppCenter could manage this type of binary and simplify its installation process, like the Play Store does. I guess without an Android AppCenter application it will be difficult, but I try my luck :)

akamenev commented 3 years ago

Hi @Lyyy, thanks for the feedback! Could you please share a little more about your workflow? If I understand correctly you:

  1. Build AAB to distribute it to Play Store directly as it is required by the store
  2. Build a separate APK which you distribute to your testers

Do you distribute your AAB file to testers as well?

pavshr commented 3 years ago

Voting for this one, this is indeed a desired feature. When building Xamarin projects with AOT this starts to become an issue because you are risking hitting 60 minutes time limit for build time. We would really appreciate an option to build and sign only AAB by skipping building and signing of APK part at all.

Lyyy commented 3 years ago

Hi @akamenev,

In fact I'm not taking about AAB files, but about OBB expansion files. Our project is a Unity project, which supports AAB format, but does not recommend it, so we use the good old APK format, but our project is too big and must be split using an OBB file in order to be able to upload it to the Play Store. So we distribute the split APK+OBB version of our project to our testers to make sure everything works properly, but installing a split application manually is really not convenient :/

Hoping my workflow is clearer :)

akamenev commented 2 years ago

Thanks for sharing more details! Since you use APK+OBB at the moment, do you have any plans to switch to AAB + Play Asset Delivery? According to this announcement, it is required for new apps already.