session-ios/Signal
Michael Kirk 1dd06a5e6c Fix registration flow / Keep push tokens in sync
* Separate registering an account from registering for push notifications
  * Allows us to complete registration without prompting user for
    notification settings.

UX Changes
----------
* Automatically keep push tokens in sync on startup.
  Push tokens *can* change, though they rarely do. It happens more often
  for people switching between appstore/beta builds.

  fixes #1174

* Show alert with registration failure
  * add secret 8-tap debug log gesture to registration flow

* Move registration to separate flow
  * don't see flash of inbox when first launching

* show useful error messages when given wrong code / no code

* remove background fetch
  We werent using it, but only relying on a side effect of it which is
  no longer necessary.

Code Changes
------------

* More registration logging.

* Install PromiseKit with carthage

  Our dependencies are not yet framework compatible, so we can't use
  cocoapods.

* Merge preferences util "category" into superclass.

  The immediate reason for this is Swift interop was assuming optional
  types were not optional, and exploding when a value was nil.

  This is clearer anyway, since we were treating it like a subclass, and
  it was the only thing using the class anyway.

* auto-genstrings now searches *.swift (and *.h, which was previously
  broken) for translateable strings.

// FREEBIE
2016-11-03 16:13:49 -04:00
..
AudioFiles Fixes #244 2015-03-21 17:53:38 +01:00
Certificates TextSecureKit Refactoring 2015-12-22 23:41:10 +01:00
Images Multiple visual enhancements and repo cleanup. 2015-02-18 18:20:02 +01:00
Images.xcassets Disappearing Messages 2016-10-12 09:30:25 -04:00
src Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
test Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
translations Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
Signal-Info.plist Fix registration flow / Keep push tokens in sync 2016-11-03 16:13:49 -04:00
Signal-Prefix.pch More logging, scrub phone numbers from file logs (#1357) 2016-09-27 21:20:58 -04:00
Signal.entitlements Apple now requires camera permission explanation 2016-09-17 13:51:34 -04:00
iTunesArtwork@3x.png Updated iTunes artwork 2015-01-30 17:25:24 -10:00
main.m Removing unused imported classes. 2015-07-27 16:19:08 +02:00