session-ios/SignalServiceKit
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
..
Example Regression test for provisioning cipher 2017-08-30 09:47:29 -04:00
Utilities Respond to CR. 2017-09-21 16:58:07 -04:00
fastlane Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
protobuf Add read receipts field/configuration protos 2017-10-02 16:03:17 -04:00
src Rework push registration 2017-10-12 12:02:22 -04:00
tests fix desktop linking for some users 2017-09-25 17:00:50 -04:00
.clang-format Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.gitignore Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.travis.yml Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
CONTRIBUTING.md Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
LICENSE Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
Makefile Avatar API integration / WIP crypto scheme 2017-08-14 12:45:37 -04:00
README.md Instructions, how to use SignalServiceKit 2017-07-21 16:21:49 -04:00

README.md

SignalServiceKit

SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X

To use SignalServiceKit via Cocoapods add the following to your Podfile

pod 'SignalServiceKit', git: 'https://github.com/WhisperSystems/Signal-iOS.git'