amperfy icon indicating copy to clipboard operation
amperfy copied to clipboard

Amperfy crashes when in airplane mode / disconnected

Open bietiekay opened this issue 10 months ago • 8 comments

I was let down by Amperfy when I preloaded lots of my music library and went on a 15 hour flight. Only to find Amperfy to crash when my phone was in Airplane mode / not connected "correctly".

Please please make it work and not just crash - it opened and closed whenever launched. Can be replicated when certain network conditions are met (airplane mode / no correct network but maybe iOS says there is network....)

bietiekay avatar Apr 12 '24 11:04 bietiekay

Have you tried "Offline Mode" in Settings. Is it then still crashing?

BLeeEZ avatar Apr 16 '24 18:04 BLeeEZ

Yes. Switched to offline when I was back at home - still crashed when network was bad/disconnected.

Also: While travelling I had the app crash immediately after starting it - no time to switch to the offline mode because there was no way to get to the settings in the app. The Settings page of the System Settings does not offer the offline mode.

bietiekay avatar Apr 16 '24 22:04 bietiekay

What Amperfy version and what server are you using?

BLeeEZ avatar Apr 17 '24 05:04 BLeeEZ

Amperfy 1.1.5 and Subsonic 11.0

Since there was no internet available (in a plane) there was no connection to subsonic possible.

bietiekay avatar Apr 17 '24 06:04 bietiekay

I have the same issue here. My server crashed so I had no connection to it and I can't listen more that 30 sec before Amperfy crash. Even in offline mode.

Samaze123 avatar Apr 17 '24 10:04 Samaze123

Amperfy has two backend APIs (Subsonic and Ampache). I asked to know which API could. be responsible for the crash.

I tested a lot of different network conditions and I am currently not able to reproduce this issue. Could you please install the Beta via TestFlight (https://github.com/BLeeEZ/amperfy/issues/25). TestFlight allows the testers to send crash reports when one occurs. This would help to find the root cause. I did some API changes in v1.2.0 (3) too, maybe this already fixed the crash.

Can you tell me how much background song sync percentage ("Settings"->"Library"->"Background Song Sync") did you have when it crashed?

BLeeEZ avatar Apr 17 '24 12:04 BLeeEZ

I will install the beta version to send report and i had 100% Song Sync. The API I'm using is Subsonic and my server works with Navidrome.

Samaze123 avatar Apr 17 '24 12:04 Samaze123

For me the beta version fixes the issue and don't crash anymore. Thanks !

Samaze123 avatar Apr 17 '24 14:04 Samaze123