# My project emergency alert system did not work as intended even when program is exactly how it should go

**URL:** <https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500>\
**Category:** Questions about Thunkable X\
**Created:** [May 20, 2020, 5:56am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500 "2020-05-20T05:56:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbk0612eip8w](https://avatars.discourse-cdn.com/v4/letter/z/7ab992/32.png) [@zbk0612eip8w](https://community.thunkable.com/u/zbk0612eip8w)\
**Post date:** [May 20, 2020, 5:56am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/1 "2020-05-20T05:56:18Z")

</div>

My project emergency alert system is supposed to alert when i send the alert but when in the app i turned off text to speech and it did not work even i programmed it to do what it should do. Do you know how to fix this?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 30, 2020, 9:49am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/2 "2020-06-30T09:49:29Z")

</div>

Hey @zbk0612eip8w

Was the issue here with Text to Speech? If you turn it off, then I would expect it _not_ to work, right?

---

<div class="post-metadata">

**Author:** ![zbk0612eip8w](https://avatars.discourse-cdn.com/v4/letter/z/7ab992/32.png) [@zbk0612eip8w](https://community.thunkable.com/u/zbk0612eip8w)\
**Post date:** [June 30, 2020, 10:05am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/3 "2020-06-30T10:05:17Z")

</div>

No, it is not with that at all. When I try to turn the switch off, it still does that like it’s turned on.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 30, 2020, 10:09am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/4 "2020-06-30T10:09:06Z")

</div>

What blocks are you using to turn of the TTS?

---

<div class="post-metadata">

**Author:** ![zbk0612eip8w](https://avatars.discourse-cdn.com/v4/letter/z/7ab992/32.png) [@zbk0612eip8w](https://community.thunkable.com/u/zbk0612eip8w)\
**Post date:** [June 30, 2020, 10:10am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/5 "2020-06-30T10:10:47Z")

</div>

Switch component, if the switch is on it returns true and if it’s off it returns false and if the value is true it will play the tts but if the value is false it will not but no matter what it always play the tts

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 30, 2020, 10:12am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/6 "2020-06-30T10:12:12Z")

</div>

I get the logic, but what block are you using to deactivate your TTS component?

Can you send a screenshot please?

Thanks

---

<div class="post-metadata">

**Author:** ![zbk0612eip8w](https://avatars.discourse-cdn.com/v4/letter/z/7ab992/32.png) [@zbk0612eip8w](https://community.thunkable.com/u/zbk0612eip8w)\
**Post date:** [June 30, 2020, 10:15am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/8 "2020-06-30T10:15:39Z")

</div>

I will send that

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/4/b44f22cf75df604ff60ee7f9ad91a6e6181f061a.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/8/984226590d378303b581a21a8295d3f2a16d5ea7.jpeg)

---

<div class="post-metadata">

**Author:** ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)\
**Post date:** [June 30, 2020, 1:16pm UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/9 "2020-06-30T13:16:23Z")

</div>

Out of curiosity, are you experiencing the issue on iOS, Android or both?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 30, 2020, 9:21pm UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/10 "2020-06-30T21:21:44Z")

</div>

@zbk0612eip8w you don’t have any switch changed event listener in your screenshots…

---

<div class="post-metadata">

**Author:** ![zbk0612eip8w](https://avatars.discourse-cdn.com/v4/letter/z/7ab992/32.png) [@zbk0612eip8w](https://community.thunkable.com/u/zbk0612eip8w)\
**Post date:** [July 3, 2020, 8:11am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/11 "2020-07-03T08:11:43Z")

</div>

iOS

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:25am UTC](https://community.thunkable.com/t/my-project-emergency-alert-system-did-not-work-as-intended-even-when-program-is-exactly-how-it-should-go/579500/12 "2024-11-08T11:25:10Z")

</div>


