App Inventor version nb181 release scheduled for December 19th

Hello everyone,

We will be releasing the next version of MIT App Inventor tomorrow, December 19th, at around 10pm EST. This version will include a new companion version 2.56. However, upgrading the companion is only required if you plan to use the new sensors added in this release.

Some highlights of this release include:

  • Deleted projects go into a separate Trash area similar to the Windows Recycle Bin or macOS Trash Can. App inventors can restore their projects from the Trash area (or permanently delete them).
  • Autoloading of projects can be disabled using the option under the Settings menu. One can also append ?autoload=false in the URL to disable autoloading in case a large project prevents App Inventor from properly starting.
  • Ability to manipulate the properties of multiple components by shift-clicking them in the designer. The properties panel will only show those in common, and changing a property in this mode will change it for all selected components.
  • Four new sensor components for devices that support them: Barometer, Hygrometer, Light Sensor, and Thermometer.
  • Some default setting changes for new projects: Sizing will be responsive by default and ShowListsAsJson will be true by default
  • Adaptive icons: Specify an app icon of up to 512x512 and the build server will generate icons for every available icon size needed by Android.

For complete details on all of the changes in this release, please see the release notes.

12 Likes

What is an app icon (launcher icon) size 512x512px required for within the app (project)? As far as I know, this is only needed for the Play Store icon. While this is harmless, it uses more space than required.

The launcher icon can have the following dimensions:
36x36, 48x48, 72x72, 96x96, 144x144 and (max) 192x192 px
LDPI, MDPI, HDPI, XHDPI, XXHDPI and XXXHDPI

Play Store icon: 512x512 px

https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html

2 Likes

I don't think it is needed or required
Evan said up to, meaning it can have lower size. Maximum is 512x512

1 Like

Yes of course, but it should be up to 192x192px, because why should space be used unnecessarily.

Why not up to 96x96 or 48x48 then ? :wink:

Because the app icon is used to generate all of the sizes, having a higher fidelity icon means sharper icons when they are downsampled (if we wanted to be pedantic, 576 is the LCM of the Android variants and would be a better choice than 512 when it comes to scaling). Eventually, for iOS we will also need to provide a 1024x1024 image in the app bundle for the App Store, so it made sense to pin the size to the needs of the various app store platforms (it needs 18 different variants). Note that anyone can also include an icon that's larger than 512x512 (or smaller, as @Diego pointed out), but in the end they will all be sized to the expected values.

For reference, the default App Inventor icon we use in this release is actually 1024x1024, and it is 67 kB. All of the icon variants that get generated are 166 kB, so the icon payload for an app is around 230 kB. Figures will vary depending on how compressible the icon data are.

8 Likes

Thanks for the explanations.

5 Likes

4 posts were split to a new topic: Label can’t be used with new release nb181?

Missed a spot.
See attached:

1 Like

thumbsup2
comp181

about181


refresh browser and / or clear cache

1 Like

Clearing the cache did it.
Thanks!

2 Likes

A post was split to a new topic: Cannot create new project in nb181

Thanks So much for the information

1 Like

Thanks for the update and for the hard work! :nerd_face:

I look forward to the iOS support!

1 Like

The HTMLContent property block for Label requires the new companion