session-ios/Signal/src/contact
Michael Kirk df15c904bc Rework push registration
== Account Registration ==

Not complete until push tokens are uploaded

== Remote Notifications Registration ==

Extracted from PushManager

- wait for notification-settings registration to complete before
  requesting push tokens, otherwise it's possible token requests will
  be ignored.

- Less state required for push notification callbacks, specifically, we
  no longer need to ensure we've created a promise before the
  registration delegate methods get called.

- no more TOCFuture in Signal-iOS (still in SSK for now). It's not in
  cases of inexplicable behavior - one a recently, push notification
  premature free, in redphone, and more popular use, and I've seen two
  futures inexplicably being nil.  Instead, let's consolidate around
  PromiseKit for popularly used, maintained, strongly-typed futures.

- separate logic for registering for vanilla push/voip notifications
  (few dependencies) from responding to UILocalNotifications (lots of
  dependencies). Ultimately I'd like to consolidate the remaining
  UILocalNotifications logic with the existing NotificationsManager

== Misc ==

more debug logging
more uniform logging
remove stale logic around newly registered user

// FREEBIE
2017-10-12 12:02:22 -04:00
..
OWSContactsManager.h Fix the "is contact" test. 2017-10-02 17:38:54 -04:00
OWSContactsManager.m Rework push registration 2017-10-12 12:02:22 -04:00
OWSContactsSearcher.h extract and test contact searcher 2016-06-28 14:13:39 -07:00
OWSContactsSearcher.m Let users share imported files to a thread or contact of their choice. 2017-04-26 13:29:56 -04:00
SystemContactsFetcher.swift Post notifications asynchronously. 2017-09-21 17:03:57 -04:00