Activity starter & send direct message

Hello guys, I need help with something.

The senddirectmessage from message social in kodular can’t work(because when I use it I get a message saying :Targeting S+(Version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a pendingintent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the pendingintent being mutable, e.g if it needs to be used with inline replies or bubbles.", so I need blocks or aix or something to send direct messages to a number without opening the messages on the phone.

This will not be a Play Store app, so I don’t need to think about Policies. It’s a personal project. Can anyone help me, please?

It looks like @Kodular forgot to add a fix for that

As they are in a transition phase now, see also App Inventor + Kodular Planned Collaboration imho it is very unlikely that they will provjde a fix…


Can you explain to me please how I can use this? I am a starter, but I am trying. Because I want to use senddirectmessage and he speaks about a solution but I don’t see how can I use this.

You can’t “use” that… this is a fix which must be implemented by our friendly but sleepy @Kodular team


Ohhh, there is no solution by activity starter?? or any other??

What about providing a screenshot of your relevant blocks?


I have only these. I want from when I press the button to send direct message to a number without leaving the app. I don’t want to redirect me in the message app and send it from there. I just want to send it direct from the app :confused: But with this way like the blocks underneath, when i press the button i got redirected in the SMS message app of the phone.