π·οΈ This repository contains demonstrations on how to use notifications in android.
π·οΈ Notifications are used to display a message
outside the UI
of the application. Each notification contains an option to add a action for it, which can be used to navigate into the application.
- User could disable notifications per application basis and this was not useful for the user. If he ends up doing this, we would not be able to show any notifications at all.
- Based on the channel we can make the user categorize the notifications.
- From Oreo which is API-26 displaying a notification became a little complex
- Now we define a notification channel, purpose of using the notification channel is to give the user more control on notifications displayed and have access to the noise they make
- There wont be any effect since the notification channels only work on oreo and higher versions.
- There will not appear any crash as such.
π½πππππππππππ π πππ ππππ ππππππ |
---|
- There is a new change that android is bringing for
android-13
which is also calledTiramisu
andAPI-33
where there is a runtime permission, user has to approve before the notification has to be posted from a app in device. - This is different that the already existing permissions where user can turn
on
/off
on per each notification channel. - Its protection level is marked dangerous β£οΈ
πΌππππππππ πππππππππ ππππ πππ πππππππ-π·πΉ ππ π·πΉ πππ πππππ
----> πΆπππππ πππ πππππππππ
π±πππ ππππππππ ππ πππ ππ ππππ πππ πππππππ ππππππππππ
---> πΆπππππ πππ πππππππππ
Read contribution guidelines for more information regarding contribution.
Feature requests are always welcome, File an issue here.
Support it by clicking the β button on the upper right of this page. βοΈ
This project is licensed under the Apache License 2.0 - see the LICENSE file for details