[DISCONTINUED] đź’Ś Notification Style: extension with various types of notification. đź’Ś

1. Introduction

Extension name: Notification Style
The Notification Style extension carries many built-in notification features like BigText, LargeIcon, BigPicture, SmallIcon, MediaStyle, MessageStyle. That way, you won’t be so limited in talking to the user.

Latest Version: 1.5
Released: 2020-06-06T04:35:00Z
Last Updated: 2020-07-23T17:35:00Z

2. Designer Properties

3. Blocks

component_event (9)
component_event (8)
component_event (7)
component_event (15)






component_method (28)
component_method (21)

component_method (23)
component_method (24)
component_method (25)
component_method (31)
component_method (29)
component_method (30)


!component_method (62)
blocks (57)
component_set_get
blocks (61)
component_set_get (3)
blocks (60)
component_set_get (2)
blocks (62)
component_set_get (4)
blocks (63)
component_set_get (5)

4. Documentation

Events

  • Callback Button Action
    When clicking on any action button, the name of the respective button will be returned by that block.
    component_event (9)
    nameAction: Button name
  • Callback Message
    Return of the message typed in the notification.
    component_event (8)
    message: Message typed in the notification bar.
    timestamp Timestamp of the moment the user returned the message.
  • Callback Music Player
    When clicking on any button of the media style notification, the name of the Action is returned in this block.
    component_event (7)

nameAction:

  • Favorite
  • Unfavorite
  • Previous
  • Play
  • Pause
  • Next
  • Callback Button Progress (:new:new)
    Returns the name of the action button pressed in the progress notification.
    component_event (15)
    nameButton ~ text

Methods

  • Simple Notifications
    Creates a simple notification with title and subtitle, capable of displaying large texts in the subtitle.

    title ~ text
    subtitle ~ text
    bigText ~ boolean*
    startValue ~ text
    id ~ number
  • Create Large Icon notifications
    Displays a large icon in the notification with title and subtitle.

    title ~ text
    subtitle ~ text
    bigText ~ boolean*
    largeIcon ~ text**
    startValue ~ text
    id ~ number
  • Big Picture Notification
    Creates a notification with a big picture and in addition it is possible to add title, subtitle and large icon.

    title ~ text
    subtitle ~ text
    bigPicture ~ text**
    largeIcon ~ text**
    startValue ~ text
    id ~ number
  • Create action button notifications
    With this block it is possible to create up to three action buttons in the notification and in addition, it is possible to add as a “hyperlink”.

    title ~ text
    subtitle ~ text
    bigText ~ boolean*
    bigPicture ~ text**
    largeIcon ~ text**
    listButtons ~ list (Add a list with the names of the action buttons, for example: “button 1”. If you choose a hyperlink, that is, when clicking on the button you will be redirected to a page, just put the name of the button, pipe and the corresponding link, for example: “Creator of Kodular|https://c.kodular.io”. It is worth mentioning that, when clicking on the action button, his name will be returned in “nameAction” in the “CallbackButtonAction” event.)
    startValue ~ text
    id ~ number
  • Receiver Message Notification
    Through this block, you can show a notification of a received message with the ability to reply in the bar itself.

    group ~ text
    message ~ text
    sender ~ text (If you enter an empty string, it will add a message received from the sender.)
    timestamp ~ number
  • Confirm Sending Message
    If the user responds to the message in the notification, it will show a loading icon until that block is used.
    component_method (28)
  • Clear All Message
    When calling the MessageReceiverNotification method, it stores the added messages and to remove, use this method.
    component_method (21)
  • Play Music Notification
    Displays notification of MediaStyle with pause button.
    component_method (23)
  • Pause Music Notification
    Displays notification of MediaStyle with pause button.
    component_method (24)
  • Get Favorite
    Gets whether the song is marked as a favorite.
    component_method (25)
    Return: true or false (boolean)
  • Cancel Music Notification
    Delete MediaStyle notification.
    component_method (31)
  • Cancel Notification
    Cancels a specific message.
    component_method (29)
    id ~ number
  • Progress Notification (:new:new)
    Create a notification with a progress bar.

    title ~ text
    subtitle ~ text
    subtext ~ text
    buttons ~ list
    currentProgress ~ number
    maxProgress ~ number
    indeterminate ~ boolean
    ongoing ~ boolean
  • Cancel Progress Notification (:new:new)
    Cancels the progress notification.
    !component_method (62)
    subtitle ~ text
    subtext ~ text
    currentProgress ~ number
  • Cancel All Notification
    Cancels all notifications.
    component_method (30)

*Type true if you want to display large text in your caption.
**Image path is allowed to use images of assets, storage, cloud.

Properties

  • Channel Name
    Starting in Android 8.0 (API level 26), all notifications must be assigned to a channel.
    blocks (57)
    component_set_get
    Default: ChannelA
  • Importance Channel
    Define the importance of the channel check here for more information.
    blocks (61)
    component_set_get (3)
    Default: 2
  • IMPORTANCE_MIN âžś 0
  • IMPORTANCE_LOW âžś 1
  • IMPORTANCE_DEFAULT âžś 2 (default)
  • IMPORTANCE_HIGH âžś 3
  • IMPORTANCE_MAX âžś 2
  • Priority Notification
    Set notification priority, check here for more information
    blocks (60)
    component_set_get (2)
    Default: 2
  • PRIORITY_MIN âžś 0
  • PRIORITY_LOW âžś 1
  • PRIORITY_DEFAULT âžś 2 (default)
  • PRIORITY_HIGH âžś 3
  • PRIORITY_MAX âžś 2
  • Icon Notification
    Sets the notification’s smallicon.
    blocks (62)
    component_set_get (4)
    Use only small images of assets.
    Default:
  • Color Notification
    Adjust the notification color
    blocks (63)
    component_set_get (5)
    Default: BLACK

5. Screenshots

_ _ _ _ _ _

6. Downloads

7. Open Source

8. Credits

Thank you very much Kodular, for being part of my life :heart:

Note: At the moment, the extension works only for versions greater than or equal to those of Android Marshmallow (23), in the future I can update to cover more versions.

151 Likes

Great extension! What’s the channel used for in the designers’s section?

6 Likes

Looks very good !!!
Congratulations is a nice job.
I test this on a some days.

7 Likes

Look here.

6 Likes

Another great contribution…
Thanks @jarlissonlira2
I’ll check and say further about it…

8 Likes

Great Extension.

7 Likes

Amazing! :partying_face:

7 Likes

Very nice extension i am going to use it in my next project

8 Likes

Really good extention. Love it

6 Likes

Can you do for alarm

7 Likes

Very nice extension :heart_eyes: and useful :money_mouth_face:

Test Apk: NotificatioStyle.apk (5.6 MB)

9 Likes

Does it create notification when app is closed?

I mean, if i created a notification and send request from firebase, will this extension show notification, when app is closed?

Just like OneSignal.

11 Likes

Great stretch
One of the best I’ve seen :heart_eyes:

8 Likes

i can use this extension of background

6 Likes

One of the best extension I have ever seen. :heart_eyes: :fire:

8 Likes

Hmm, I will think. Thanks for the suggestion!

6 Likes

Not yet, but I’ll try to do that! Thanks for the idea!

7 Likes

Not for now.

5 Likes

Amazing :hugs:

7 Likes

Sensational. Excellent job. Congratulations !!!
@jarlissonlira2 :brazil:

5 Likes