Skip to content

iOS background sync fixes + load screen

Pre-release
Pre-release
Compare
Choose a tag to compare
@shankari shankari released this 22 Feb 20:08
· 4826 commits to master since this release

Changelog:

  • Convert NSLog statements from the communication code to NotificationHelper so that we can see them in our logs
  • Fix iOS background sync by using the Bolts framework to launch all the sync operations in parallel
  • Change all calls to backgroundSync to use new BFTask instead. This allows us to correctly mark tasks as done.
  • Change some stat values on ios to reflect real values
  • Change the javascript calls to get and set personal data to also go through native code. This fixes the token refresh issue on iOS, and also
  • Initialize android usercache on startup so that we can avoid the javascript usercache table not found error
  • Move the server sync init code to pluginInitialize
  • Move the startupInit code on android to the plugin initialize instead
  • Attempt to improve WSOD issues by delaying bootstrap until the device is ready and removing all resolve dependencies on the root
  • Fix android issue with re-initializing the finite state machine on launch
  • Handle re-initializing the FSM on upgrades
  • Minor logging fix to show the length of the point arrays instead of the points since they are not human readable
  • Use the correct directory for the log on iOS so that we can now get emailed bug reports on iOS as well
  • Turn on loading messages for various stages of the diary