Wednesday, June 10, 2020

Publish smaller apps with the Android App Bundle in Visual Studio

The Android App Bundle (.aab) is a new upload format that includes all of your app’s compiled code and resources, but defers APK generation and signing to Google Play at install time.

If you’re using Visual Studio, you can build your project as a signed app bundle in just a few clicks.

To enable support for Android App Bundles, you’ll need to opt-in to the bundle value of the Android Package Format property within your Android options. As you do this, ensure you change your project to a Release configuration as app bundles are intended for release packages only. To do this you can follow these steps:
  1. Right click your project, and select Properties.
  2. Navigate to Android Options.
  3. Change your configuration to Release.
  4. Change the Android Package Format to bundle.

No comments:

Post a Comment

Open default email app in .NET MAUI

Sample Code:  if (Email.Default.IsComposeSupported) {     string subject = "Hello!";     string body = "Excellent!";    ...