Extension: Modified Notification Style to support Android 12 and above

Check MediaUtil class.

i believe i got it now. Now i've got another issue, the icon is simply white, even tho i created the icon using android asset studio.

so currently, the notification extension is not working.
i have confirmed it by looking at the log, which autogenerated by my phone's system. Also trying to remove the extension from my build. And indeed it was the problem.
the error i meant was the app is force closing.
below are the logs (sorry for the screenshot, i can't copy the text.)




thankfully i still have previous build working.
now i have several question

  1. why is the previous build works?
  2. what is sdk and did AppInventor upgrade the sdk to 34?
  3. why it broke the extension?
  4. i have contacted the developer of this extension by leaving a reply on the post, is it enough?
  5. while waiting the developer to update the extension, what can i do?
    thank you for the answer

Because of

As the extension is open source and it looks like you are in a hurry, don't hesitate to provide a bug fix yourself for the community here

Taifun

1 Like

com.jdl.NotificationStyle.aix (32.5 KB)

Hello all, please test this updated extension and let me know the results.

Itoo+NotificationStyle Test: SimpleItooProject2.aia (116.9 KB)

2 Likes

Works well :+1: HyperOS Android 13

2 Likes

Thank you, if possible, can you also test it on Android 14?

I don't have a device with android 14, but maybe i can try on bluestacks

1 Like

nope no Android 14, but maybe Android Studio has it


i mean, it works well with Android 15 on Google Pixel

1 Like

Yes, its working fine on Android 14 using Samsung flip 5

1 Like

wooooooohoooooo thank you so much for your work, tested work on poco x6 with Android 14, the background process works as well though i don't know why it keeps popping the notification, i already close it in the recent but still running..
no worries though..

2 Likes

Hi,
I have a new error on Android 14 :
" Runtime Error
appinventor.ai_melvinlebailly22.FSCO_6: Targeting (U+ (version 34 and above) disallows creating or retrieving a Pendinglntent with FLAG_MUTABLE, an implicit Intent within and without FLAG_NO_CREATE and FLAG_ALLOW_UNSAFE_IMPLICITE_INTENT for security reasons. To retrieve an already existing Pendinglntent, use FLAG_NO_CREATE however, to create a new Pendinglntent with an implicit Intent use FLAG_IMMUTABLE."

Does Someone understand what does that means ?

Here's the block that create the Issue :

(As you can see I have no Idea what I'm suppose to put on StartValue :joy:, but on Android 13 I never had any issue with that)

I Use the version 1.8 of Notification Style (the version of @Kumaraswamy from the 24 of August)

Thank's for your help

Are you using any other extensions ?

I do not see this error on Android 14 using the NotificationStyle extension.

Also what make/model of device are you using ?

1 Like

Yes, I use BluetoothLE,
I'm on as Xiaomi 12 with HyperOS 1.0.11
Android 14 UKQ1.230917

But this error appears only when the notification block is executed

Leave startValue blank.

Check you have the very latest BLE extension.

Please help me. I want to send notifications to the application that I created with Kodular, and I want the notifications to work on Android 14. I installed the extension, but I do not know how to make the blocks and how to link to my account on OneSignal. Do you have a video or pictures for clarification?

this extension is not related to one signal...
search the community for a one signal extension or search the extensions directory App Inventor Extensions | Pura Vida Apps

Taifun

yes.onesignal notification free , please

Thank you!

It's also working on Android 14, device samsung galaxy A15