Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amperfy crashes when in airplane mode / disconnected #244

Closed
bietiekay opened this issue Apr 12, 2024 · 8 comments
Closed

Amperfy crashes when in airplane mode / disconnected #244

bietiekay opened this issue Apr 12, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@bietiekay
Copy link

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....)

@BLeeEZ
Copy link
Owner

BLeeEZ commented Apr 16, 2024

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

@bietiekay
Copy link
Author

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.

@BLeeEZ
Copy link
Owner

BLeeEZ commented Apr 17, 2024

What Amperfy version and what server are you using?

@bietiekay
Copy link
Author

Amperfy 1.1.5 and Subsonic 11.0

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

@Samaze123
Copy link

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.

@BLeeEZ BLeeEZ added the bug Something isn't working label Apr 17, 2024
@BLeeEZ
Copy link
Owner

BLeeEZ commented Apr 17, 2024

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 (#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?

@Samaze123
Copy link

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
Copy link

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

@BLeeEZ BLeeEZ closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants