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

Fatal app crash when tap on Longyearbyen #31

Closed
serrq opened this issue Apr 18, 2024 · 6 comments
Closed

Fatal app crash when tap on Longyearbyen #31

serrq opened this issue Apr 18, 2024 · 6 comments

Comments

@serrq
Copy link

serrq commented Apr 18, 2024

Bura 1.0.5
Android 14
OnePlus CPH2399

I tapped on Utsjoki, then on Longyearbyen, then permanent crashes.
No longer able to launch the app at this moment.

@serrq serrq changed the title App crashes when tap on Longyearbyen Fatal app crashes when tap on Longyearbyen Apr 18, 2024
@serrq serrq changed the title Fatal app crashes when tap on Longyearbyen Fatal app crash when tap on Longyearbyen Apr 18, 2024
@davidtakac
Copy link
Owner

I recreated the issue and will take a look, thanks. As a workaround, clear your app data and choose another location.

@serrq
Copy link
Author

serrq commented Apr 18, 2024

Sorry 1.1.0 (also the last one is affected).

@serrq
Copy link
Author

serrq commented Apr 19, 2024

Hey dev. What was it the problem? String limit max characters?

@davidtakac
Copy link
Owner

davidtakac commented Apr 19, 2024

Hey, no, Longyearbyen is in the Arctic circle and it's midnight sun currently. Because of this, there are no sunrises or sunsets in the next 6 days.

When this happens, Open-Meteo just returns epoch second 0 as the sunrise and sunset timestamp for every day as a placeholder. But Bura expects omitted timestamps in that case, which is why it was crashing.

I fixed it by dropping those placeholder values, as you can see in commit 24dad8d

@serrq
Copy link
Author

serrq commented Apr 19, 2024

I am not a developer, but a philosopher. Thanks for explanation.

@davidtakac
Copy link
Owner

No problem, thanks for asking :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants