network connectivity check
Closed this issue · 1 comments
ryanmhoffman commented
need to check the type of network access before trying to connect to the database. if there is no connection or local only, no internet then it should not even try to query the database. right now it does the query no matter what, then checks if the value returned is null and informs the user from there but that uses unnecessary time and resources.
ryanmhoffman commented
This is now fixed. It checks for wifi first, if not available then it checks mobile connection, and if not available it skips the attempt to connect to the db. eventually you will be able to choose in settings if you want to use mobile connection or wifi only.