added basic offline support
added Auth0 login/logout/prompt service
updated acOfflineReports to use new service and added additional logs
removed sync button from form
injected offlinereports service into appCtrl to allow it to sync when app starts up
Wrapped network calls with platform ready check
enabled offline MIN route, added validation, and improved geolocation for offline case
disabled forced offline storage for debugging
clean up
small style changes to improve responsiveness
added a reference to image locations so they can be read and sent if report stored offline, added a prepare files step to load the data into the form prior to sending
fixes obs layer changing time filter when toggled
Revised offline submission approach to include a max attempts on failed submissions, now uses device defaults for image settings (size etc.), fixes bug where only last attached gallery image is submitted
- acquiring position progress is now shown inline on form and is done fully async allowing editing of other form fields while acquiring position
clean up of camera settings
added google analytics tracking
added a 10 minute wait period before sync of offline reports is attempted again (following next trigger event).
Refactor rest of app to make use of acUser service to handle login/logout/prompt
fixes Android view MIN not displaying image thumbs
fixes auth0 refreshToken new token causing 500 error on submission