please provide the result as textfile and NOT as screenshot
it also might help, if you could provide a test project as small as possible, which elicits this error and add it into this thread, so someone can tak a look
Taifun
demoo.aia (2.0 MB)
sorry i couldn't run logcat on pc
when i run the app as it is no crash happen
the crash happen when i change target sdk to 34 in manifest by apktool in mobile and install it again
my phone is samsung A04s android 14
extentions itoo , notification style
In this case please build on the sdk 34 test server and test the apk file from there
Taifun
The issue is that you will have to define broadcast receiver type while registering it, if you target API 34.
Context.RECEIVER_NOT_EXPORTED
Context.RECEIVER_EXPORTED
For example:
if (Build.VERSION.SDK_INT >= 34) {
activity.registerReceiver(receiver, new IntentFilter("MUSIC_FAVORITE"), Context.RECEIVER_NOT_EXPORTED);
} else {
activity.registerReceiver(receiver, new IntentFilter("MUSIC_FAVORITE"));
}
Hey I'm working on an alarm manager extension, I'm having trouble with including a customizable smallicon, by turning media into a bitmap. Any tips?
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
- why is the previous build works?
- what is sdk and did AppInventor upgrade the sdk to 34?
- why it broke the extension?
- i have contacted the developer of this extension by leaving a reply on the post, is it enough?
- 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
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)
Works well HyperOS Android 13
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
nope no Android 14, but maybe Android Studio has it
i mean, it works well with Android 15 on Google Pixel
Yes, its working fine on Android 14 using Samsung flip 5
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..
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 , 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