Enable to send direct messege

I try to create simple button to direct send sms, see attach photo :

I also allow permission. and I still can’t send sms it pops Run time error.

assume that “xxxxxxx” is real number

compile APK and try.
premission cant work in Companian.

I already compile to apk.

Try to ask for permission READ_PHONE_STATE in the Screen Initialize event


I already include

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.


here’s the block

Try this tip


How do I add that? sorry I’m new here.

Add the PhoneCall component and try again

Find the phone call component and drag it into the working area, then try again


but I need the text message only

If you want to get it running then you could try that suggestion… if it works then you successfully found a way to workaround that Kodular bug…

You do not have to use the phone call component, just drag it into the working area without using it… the goal is to get the missing permission into the manifest


1 Like

I can now directly send sms thanks a lot

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.