Android 12

All version of the Teak SDK after 4.1.14 support targeting API Level 31 (Android 12).

Notification Layouts

Android 12 introduces a new required notification layout, which changes how notifications are displayed.

With Teak SDK 4.1.14 (and later), these changes will happen automatically if your app is targeting API Level 31+ (Android 12) and the device is running Android 12 or newer.

Examples of both text, and image notifications are below, including a sizing grid image for your reference.

Collapsed Notifications

Collapsed notifications now have a banner which contains the app icon, app title, and time the notification was received.

Collapsed View in Android 12
Figure 1. Collapsed Notifications in Android 12

Prior to Android 12, the same notifications would look like this:

Collapsed View in Android 10
Figure 2. Collapsed Notifications in Android 10

Expanded Notifications

Expanded notifications now have a banner which contains the app icon, app title, and time the notification was received.

Expanded View in Android 12
Figure 3. Expanded Notifications in Android 12

Prior to Android 12, the same notifications would look like this:

Expanded View in Android 10
Figure 4. Expanded Notifications in Android 10