Skip to content

Commit 1f9cd66

Browse files
committed
Added send SMS action
1 parent dcba664 commit 1f9cd66

File tree

2 files changed

+67
-1
lines changed

2 files changed

+67
-1
lines changed

docs/resources/control-flow/functions/utility-actions.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,4 +590,70 @@ Follow the steps below to add this action to any widget.
590590
allow="clipboard-write">
591591
</iframe>
592592
</div>
593+
<p></p>
594+
595+
## Send SMS
596+
597+
Using this action, you can send an SMS to the specified number. This action does not directly send SMS. Instead, it redirects you to the native SMS app and prefills your message, and you have to press the send button to send the message finally.
598+
599+
<div style={{
600+
position: 'relative',
601+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
602+
height: 0,
603+
width: '100%'}}>
604+
<iframe
605+
src="https://demo.arcade.software/cUs9dsVARZWhoDPA61mb?embed&show_copy_link=true"
606+
title=""
607+
style={{
608+
position: 'absolute',
609+
top: 0,
610+
left: 0,
611+
width: '100%',
612+
height: '100%',
613+
colorScheme: 'light'
614+
}}
615+
frameborder="0"
616+
loading="lazy"
617+
webkitAllowFullScreen
618+
mozAllowFullScreen
619+
allowFullScreen
620+
allow="clipboard-write">
621+
</iframe>
622+
</div>
623+
<p></p>
624+
625+
### Adding Send SMS [Action]
626+
627+
Follow the steps below to add this action to any widget.
628+
629+
1. Select the **Widget** (e.g., Button) on which you want to add the action.
630+
2. Select **Actions** from the Properties panel (the right menu), and click **+ Add Action**.
631+
3. Search and select the **Send SMS** (under *Share*) action.
632+
4. Inside the **Phone Number** section, provide the valid phone number. Your message will be sent to this number.
633+
5. Inside the **SMS Body** section, provide the message you want to send.
634+
635+
<div style={{
636+
position: 'relative',
637+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
638+
height: 0,
639+
width: '100%'}}>
640+
<iframe
641+
src="https://demo.arcade.software/51SGElsPLws7p7kCeIJH?embed&show_copy_link=true"
642+
title=""
643+
style={{
644+
position: 'absolute',
645+
top: 0,
646+
left: 0,
647+
width: '100%',
648+
height: '100%',
649+
colorScheme: 'light'
650+
}}
651+
frameborder="0"
652+
loading="lazy"
653+
webkitAllowFullScreen
654+
mozAllowFullScreen
655+
allowFullScreen
656+
allow="clipboard-write">
657+
</iframe>
658+
</div>
593659
<p></p>

firebase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@
12351235
},
12361236
{
12371237
"source": "/actions/actions/share/send-sms",
1238-
"destination": "/",
1238+
"destination": "/resources/functions/utility-actions/#send-sms",
12391239
"type": 301
12401240
},
12411241
{

0 commit comments

Comments
 (0)