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
I try to create simple button to direct send sms, see attach photo :
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
Taifun
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.
Taifun
Try this tip
Taifun
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
Taifun
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
Taifun
I can now directly send sms thanks a lot
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.