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

Map not showing. #23

Closed
Systm21 opened this issue Aug 26, 2023 · 10 comments
Closed

Map not showing. #23

Systm21 opened this issue Aug 26, 2023 · 10 comments

Comments

@Systm21
Copy link

Systm21 commented Aug 26, 2023

Is there somebody else, that have problems with the map, when opening web or android Application?

IMG_20230826_231418

I always have to zoom out a bit and then it works nicely. Sometimes the map didn't come back, when zooming in to much, so you have to restart the browser/app.

Tried this several times with the "original" openhaystack app, there are no mistakes like that.

@dchristl
Copy link
Owner

Yes, unfortunately, I have the same issue with the web app. The Android app works without any problems. There seems to be an issue with the Flutter implementation of the map, but I haven't had a chance to look into it further. By the way, is this also an "original" OpenHaystack implementation? My modifications only relate to the called API.

@Systm21
Copy link
Author

Systm21 commented Aug 27, 2023

Yes it's also haystack, my description belongs to the seperation of the projects.

It feels like the map problem in the web app is much more frequent and the crashes that need a reload of the page are much more frequent, but the Android app also has one or the other problem with the map. The map does not appear every time you start it, it only loads when you zoom out a bit. when the map is working and i zoom in to much, it disappaers and never comes back, even if i zoom out several times.

@dchristl
Copy link
Owner

dchristl commented Sep 4, 2023

I've found a work-a-round at the issue tracker of flutter_map , that is implemented in the latest version. It works well for me now on web and Android.

Please try it out and give feedback. Thank you.

@Systm21
Copy link
Author

Systm21 commented Sep 5, 2023

Works fine now, will have an eye on that in the next days.

Another question to the map:
Why is the app /web only using 20 reports per tracking device?
The history makes no sense with 20 reports, because its only 1-2 days in rural area. In the inner-city certainly a lot less.

@dchristl
Copy link
Owner

dchristl commented Sep 8, 2023

Great, that it works now.

Why is the app /web only using 20 reports per tracking device?
The history makes no sense with 20 reports, because its only 1-2 days in rural area. In the inner-city certainly a lot less.

I really can't answer this ;) I have adopted the openHaystack project almost 1:1 and only made a few changes regarding the API implementation. Everything else, including the numerous errors, remains as it is. Unfortunately, I lack the time to fix everything, but in my view, it is sufficient for basic functionality. The goal of the project is also to utilize OpenHaystack functionality completely (or with minimal Mac-specific components). You are welcome to contribute to the project (e.g., through pull requests).

@Systm21
Copy link
Author

Systm21 commented Sep 9, 2023

...but the App from the Openhaystack Project works as expected. Their app also not showing how much reports are used, so there were some changes.
The other app shows a complete history of the last 7 days.

@dchristl
Copy link
Owner

dchristl commented Sep 9, 2023

The have two apps. A native one (written in swift), that they have released and a second one (written with flutter), that is the base of this project. The native one runs only on Mac, the other theoretically one on any device, that they don't release.

@Systm21
Copy link
Author

Systm21 commented Sep 9, 2023

I not really want to compare cherrys with eggs so everytime i write about the app, its the android/web app written in flutter..
The native app is a complete different thing, i know.

@dchristl
Copy link
Owner

Ok, now I see what you mean, but the changes are slightly there. I've added the number of history reports and the decryption is async now, because of the long waiting time. The rest is like before. I will have a look at it when I have time.

@dchristl
Copy link
Owner

dchristl commented Oct 9, 2023

The problem with the history here is that the app doesn't store the history entries. The will be evaluated every time, when all reports were fetched. The other problem here is, you get max 20 reports (latest ones). So if all 20 locations are at the same point, you don't get a history.
I've completely revamped the history inside the app (s. Changelog ). This will solve some of the limitations, the history will be saved and only refreshed when new data arrives.

...but the App from the Openhaystack Project works as expected. Their app also not showing how much reports are used, so there were some changes.
The other app shows a complete history of the last 7 days.

I really don't know how this should work, only if your history of the last 7 days is inside the 20 reports. I will close this now, if you have other issues, please open a new one.

Enjoy.

@dchristl dchristl closed this as completed Oct 9, 2023
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