# Audio and App minimizing causes App Freeze

**URL:** https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602
**Category:** Report a Bug
**Created:** [August 24, 2020, 9:40pm UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602 "2020-08-24T21:40:46Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![John\_Cabrera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_cabrera/32/2066_2.png) [@John\_Cabrera](https://community.glideapps.com/u/John_Cabrera)
#### Post date: [August 24, 2020, 9:40pm UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602/1 "2020-08-24T21:40:46Z")

</div>

Seems when you’re listening to audio through the app (with the audio component) and you minimize the app, switch to another app (like say a text message or call comes in), or just turn off the screen, the audio fades out. Bummer, but seems to be a Safari limitation. However, what also happens is that when you return to Glide, the app is frozen. At least mine is. I have to restart it. I can’t imagine that’s what happens to any website playing audio when you switch away.

Can anyone else confirm this bug? The freeze didn’t happen every time, but I’d say about 9 times out of 10. And seems the only time it didn’t was when I returned to the app fairly quickly (within seconds).

---

<div class="post-metadata">

### Author: ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)
#### Post date: [August 24, 2020, 9:56pm UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602/2 "2020-08-24T21:56:10Z")

</div>

There are a few other threads going about apps freezing in the last days and weeks. I reported my app both freezing and pages sticking. Just tagging @Jason here because he was looking into it. I don’t have audio files to check, but in any event there are multiple reports of freezing.

---

<div class="post-metadata">

### Author: ![John\_Cabrera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_cabrera/32/2066_2.png) [@John\_Cabrera](https://community.glideapps.com/u/John_Cabrera)
#### Post date: [August 24, 2020, 11:19pm UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602/3 "2020-08-24T23:19:46Z")

</div>

Actually, I’m testing audio in various iOS app browsers (brave, chrome, edge, safari itself) and it seems they all play audio just fine when the app is minimized/switched or the screen is locked. In fact, if I log into my Glide app through the mobile Safari browser (bypassing the “Add to Home Screen” step), I can play audio from the app just fine with the screen locked. Same attempt from the “installed” version of the app causes audio to fade out and app to freeze upon return.

Devs, can you give us any insight on this?

---

<div class="post-metadata">

### Author: ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)
#### Post date: [August 24, 2020, 11:22pm UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602/4 "2020-08-24T23:22:19Z")

</div>

It’s definitely the installed app that freezes in all instances of my experience as well.

---

<div class="post-metadata">

### Author: ![John\_Cabrera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_cabrera/32/2066_2.png) [@John\_Cabrera](https://community.glideapps.com/u/John_Cabrera)
#### Post date: [August 24, 2020, 11:27pm UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602/5 "2020-08-24T23:27:34Z")

</div>

Additionally, I tried going to a website with audio and Added it to Home Screen as a bookmark (which is what we’re doing when we add our Glide apps to the home screen… although I know there’s other stuff going on too). Then I opened that bookmark and tried playing the audio with screen locked, and it played just fine. Didn’t cut out or freeze.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [August 24, 2020, 11:58pm UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602/6 "2020-08-24T23:58:46Z")

</div>

Found this interesting:

> **[What we learned about PWAs and audio playback - Prototyped](https://blog.prototyp.digital/what-we-learned-about-pwas-and-audio-playback/)**
>
> A word of advice for any future projects involving PWA — if it has anything to do with media playback, don’t bet on iOS. Think of PWAs as ProblemsWithApple.

In my opinion, it’s probably more of Apple being Apple and only providing mediocre support to PWA’s, but who knows.

---

<div class="post-metadata">

### Author: ![John\_Cabrera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_cabrera/32/2066_2.png) [@John\_Cabrera](https://community.glideapps.com/u/John_Cabrera)
#### Post date: [August 25, 2020, 12:18am UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602/7 "2020-08-25T00:18:57Z")

</div>

Wow, what a buzz kill. Well, it would be nice if media played when the screen was locked, but it’s not a deal-breaker for me. However, if someone is listening to audio and they get a text message and switch over to it, or their phone auto-locks after a few seconds, coming back to a frozen app is a big problem.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [August 25, 2020, 12:55am UTC](https://community.glideapps.com/t/audio-and-app-minimizing-causes-app-freeze/14602/8 "2020-08-25T00:55:45Z")

</div>

I wouldn’t give up hope yet. Maybe Glide has some tricks up their sleeves to solve the audio and freezing issues. I just happen to see a trend in the forum with a lot of issues related to IOS only. With all of the anit-trust stuff going on with Apple right now, maybe they will back down a bit and be a little more open minded and less of a closed ecosystem.
