# \[Solved\] Display an alert when there is no internet connection

**URL:** https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837
**Category:** Questions about Thunkable X
**Tags:** solved, alert
**Created:** [May 5, 2020, 1:14pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837 "2020-05-05T13:14:46Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![KOUAME](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kouame/32/31942_2.png) [@KOUAME](https://community.thunkable.com/u/KOUAME)
#### Post date: [May 5, 2020, 1:14pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/1 "2020-05-05T13:14:46Z")

</div>

How to display an alert when there is no internet connection?  
please help me!😓

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [May 5, 2020, 1:30pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/2 "2020-05-05T13:30:31Z")

</div>

[https://x.thunkable.com/copy/f1cb2a60e1522f6f0ae178e7dbd14f97](https://x.thunkable.com/copy/f1cb2a60e1522f6f0ae178e7dbd14f97)

I think this might work. try it out!

 ![Screen Shot 2020-05-05 at 9.30.05 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/1/f1e7d81f5d17782a1b0051873e82ad595abaa5a0.png)

---

<div class="post-metadata">

### Author: ![KOUAME](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kouame/32/31942_2.png) [@KOUAME](https://community.thunkable.com/u/KOUAME)
#### Post date: [May 5, 2020, 2:18pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/3 "2020-05-05T14:18:37Z")

</div>

👌🏼  
Very good thank you

---

<div class="post-metadata">

### Author: ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)
#### Post date: [May 5, 2020, 2:18pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/4 "2020-05-05T14:18:48Z")

</div>

The **device is online?** block doesn’t check for a connection though, just if it is connected to WiFi, which in 99.99% of cases has internet.

---

<div class="post-metadata">

### Author: ![KOUAME](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kouame/32/31942_2.png) [@KOUAME](https://community.thunkable.com/u/KOUAME)
#### Post date: [May 5, 2020, 2:20pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/5 "2020-05-05T14:20:27Z")

</div>

problem rusolved

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [May 5, 2020, 2:21pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/6 "2020-05-05T14:21:05Z")

</div>

THen the solution is to check any website with api. probably google. if you get an error, then fire the alert?

---

<div class="post-metadata">

### Author: ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)
#### Post date: [May 5, 2020, 2:22pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/7 "2020-05-05T14:22:22Z")

</div>

I believe this is the only option, but if your app uses Firebase etc you could have a button set to display after 10 seconds of loading, with the message “check server status” then link to Firebase/Airtable/etc’s server status page.

---

<div class="post-metadata">

### Author: ![KOUAME](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kouame/32/31942_2.png) [@KOUAME](https://community.thunkable.com/u/KOUAME)
#### Post date: [May 5, 2020, 2:23pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/8 "2020-05-05T14:23:44Z")

</div>

Website With Api?  
how to do ?

---

<div class="post-metadata">

### Author: ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)
#### Post date: [May 5, 2020, 2:32pm UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/9 "2020-05-05T14:32:52Z")

</div>

You could just call a get in Firebase with the tag set to “/”, and if error then no connection. You would call this function every 5 or 7 seconds., or just on startup

---

<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:29am UTC](https://community.thunkable.com/t/solved-display-an-alert-when-there-is-no-internet-connection/564837/10 "2024-11-08T11:29:26Z")

</div>


