-
Notifications
You must be signed in to change notification settings - Fork 6
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
Assigned locations get cleared when closing/reopening the app #58
Comments
Same on Android |
I tested on 4 different devices, and I can't say that I understand that problem. Same than the issue with the MAC addresses, it seems to be working fine (but I can imagine how that feature can produce issues). The editable location feature is years old, and I've never heard about any issue with it. |
Yes, for me whenever I set a location there, then completely close the App - not just hide it - and open the App again all the locations are cleared. As the same closing will happen when an update is installed the location will get cleared as well - happened for me with installing a new TestFlight build. Not sure why you are not seeing this. How best to verify? Shall I make a video of it? |
Yes, if I add a location, close the app and reopen it later I lose the location |
Very latest macOS build, the same happening for me on iOS Screen.Recording.2023-02-07.at.20.13.37.mov |
You could try opening the actual database (with that kind of software https://sqlitebrowser.org/) and see if the texts have been registered. The names (and incidentally, manual MACs) are saved in the devices table and should look like this: (Obviously don't open or edit the db file while the app is in use, or it will lock until the one app has set a lock free's it) You can also try to move that file somewhere else in order to fake a new app install, and see if the problem still occurs. |
Also just to be sure, you should really validate inputs with enter key (or associated action on the mobile keyboards) and not with the back action button. |
Of course I tried all that before logging the issue, unfortunately not for the video ;) Any app should save active text field entries on leaving a view though, unless there is a specific Save button implemented in the view.
I also thought it could be related to the MAC issue, as they are also not being saved across restarts
Not sure if this should affect the Android version though as Florian experienced. Strangely enough the locations AND the MAC addresses are saved in the database, but neither of them do get populated when opening the App again - read permissions or re-population issue? Even more perplexing now. |
So both the MACs and Locations are in the database, they also do get updated when making changes in the open App, so writing to the database is, and likely always has been, fine. Just when opening the App again they do not get read and populated into the devices. |
Alright thanks a lot for researching this issue. Turns out the problem was that the loading of these data is made per device type, and wasn't triggered for most "theengs" specific devices. |
Closing as verified with the latest build as fixed. Opening the app immediately populates the locations, and also the previously saved MAC addresses are there for all devices. 👍 |
Assigned locations get cleared when closing/reopening the app, or when the app is being updated with a new version.
Verified on macOS and iOS
The text was updated successfully, but these errors were encountered: