Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Can I Ship an App Bundle Without Giving Google Signing Authority?

In Milena Nikolic's "What's New in Google Play" presentation as part of Google's #android11 launch, she said:

As we continue to improve the App Bundle, we expect it to become a requirement for all new apps sometime in 2021.

Everything I have seen in the documentation suggests that the only way to work with App Bundles in the Play Store is to use their Play App Signing service, such as:

Enroll into app Play App Signing. Otherwise, you can't upload your app bundle to the Play Console.

(from https://developer.android.com/guide/app-bundle)

If you build and upload an Android App Bundle, you must enroll in app Play App Signing.

(from https://developer.android.com/studio/publish/upload-bundle)

And, because app bundles defer building and signing APKs to the Google Play Store, you need to opt in to Play App Signing before you upload your app bundle.

(from https://developer.android.com/studio/publish/app-signing)

But, Google's documentation has many gaps.

So, is there an option that I'm missing, whereby I can distribute an app via an App Bundle without using Play App Signing? For example, perhaps I could use bundletool to build the individual APK bits, sign them locally, then upload those results.

like image 359
CommonsWare Avatar asked Aug 03 '20 22:08

CommonsWare


People also ask

How do I build a signed app bundle?

If you’re using Android Studio, you can build your project as a signed app bundle in just a few clicks. If you're not using the IDE, you can instead build an app bundle from the command line. Then, simply upload your app bundle to the Play Console to test or publish your app with Dynamic Delivery.

Do I need to manually sign my Android app for upload?

If you use Android App Bundles, you need to sign only your app bundle before you upload it to the Play Console, and app signing by Google Play takes care of the rest. However, you can also manually sign your app for upload to Google Play and other app stores.

Do I need to enroll my app in Play app signing?

Enroll into app Play App Signing. Otherwise, you can't upload your app bundle to the Play Console. If you build and upload an Android App Bundle, you must enroll in app Play App Signing. And, because app bundles defer building and signing APKs to the Google Play Store, you need to opt in to Play App Signing before you upload your app bundle.

How to sign and publish an app to Google Play?

The following is a high-level overview of the steps you might need to take to sign and publish a new app to Google Play: 1 Generate an upload key and keystore 2 Sign your app with your upload key 3 Opt in to Play App Signing 4 Upload your app to Google Play 5 Prepare & roll out release of your app


1 Answers

Just to confirm what the documentation says, it is a requirement to use Play App Signing in order to publish with App Bundles on Google Play.

Source: I am on the Android team at Google.

like image 116
wojtek.kalicinski Avatar answered Oct 24 '22 04:10

wojtek.kalicinski