HomeAndroid GamesApp development: Make applications fit for Android 13

App development: Make applications fit for Android 13

Published on

- Advertisement -

In order for their own app to make the leap to Android 13 without stumbling, developers have to lend a hand. The privacy innovations in particular are treacherous.

 

From one day to the next there are complaints about notifications that are no longer displayed – a horror scenario that is unfortunately realistic with the update to Android 13. If developers want to avoid this, they must now adapt their applications.

- Advertisement -

If you work a lot with notifications, you could soon see them completely blocked by the latest privacy improvements: Starting with targetSdkVersion 33, you need to request permission POST_NOTIFICATIONS with the usual suspects checkSelfPermission(), shouldShowRequestPermissionRationale() and requestPermissions().

 

In addition, one should use the NotificationManager function available since API level 24 – Android 7.0 areNotificationsEnabled() make sure that the sending of messages is not blocked. This can also happen if permission is granted.

- Advertisement -

 

- Advertisement -

Latest articles

Doogee S100 available for purchase: the rugged smartphone is discounted on Amazon

Doogee S100 makes its official market debut after being previewed at the Mobile World...

Shakira, Bizarrap and Piqué set the trends on TikTok, Instagram and Twitter

The Sessions with Bizarrap is marking the topic of conversation in various social networks. Session...

More like this