Skip to content

visit notification on iOS + very preliminary common trips UI + trip list fixes

Pre-release
Pre-release
Compare
Choose a tag to compare
@shankari shankari released this 14 Mar 07:51
· 4787 commits to master since this release

The four big changes in this release are:

  • We finally move to visit notification on iOS. This has been working reliably for me since Tue night, and the logs that I got indicated that we were receiving visit notifications even for the people who don't get remote pushes so I am optimistic that it will work for others as well. This should result in a general improvement in battery life across the board for iOS, since we turn off tracking as soon as the trip ends, and don't wait for the end of the hour. It should result in even more dramatic improvements for those of you who weren't receiving silent push notifications correctly last week. Please try it out and let me know if it works any better.
  • After mucho work from @joshzarrabi and some last minute massaging by me, we finally have the common trips pipeline all hooked up. The graph is generated on the server, pushed to the client and viewable via a very preliminary new tab. I am a little underwhelmed with my results - I see a fair number of spurious points - but I'd be interested in seeing what others think. We will enable some more exploration/data visualization on that screen as well once @epai has had a chance to think about the design.
  • The alert that popped up every time we launched the app is now gone because I made significant progress towards fixing the javascript White Screen of Death issues on iOS. Now, if the javascript starts loading, it completes. There is still an intermittent issue caused by a bug in the cordova platform, which will be fixed in the next cordova-ios platform release. Thanks to this, I have now removed the alert while launching the app.
  • Thanks to some hard work by @krisma, we have a better, more functional trip list screen. He tried very hard to get the trip detail screen to work as well, but has been having some issues with angular. We'll try to get that done sometime next week.

Full list of changes:

Cross-platform

  • Finally fix WSOD
  • Very preliminary common trips screen
  • Removed auto-refresh of the diary screens when we have a remote sync since iOS doesn't load all plugins on a non-UI init
  • Add ability to email userCache as well

iOS

  • Use visit notifications for detecting trip start and end

Android

  • Restore ability to email logs on android (done)
  • Fixed newly discovered issue with android sync. Basically, the app was crashing every time we tried to read data from the usercache to push to the server. Problem was a combination of long -> double change for timestamps + correct parantheses for query. Required some crazy debugging to fix.