You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/Signal/src/environment
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
9 years ago
..
Migrations Async migrations framework 9 years ago
DebugLogger.h TextSecureKit Refactoring 9 years ago
DebugLogger.m More logging, scrub phone numbers from file logs (#1357) 9 years ago
Environment.h Explain send failures for text and media messages 9 years ago
Environment.m Explain send failures for text and media messages 9 years ago
LocalizableText.h Allow autogenstrings to find all strings 9 years ago
LocalizableText.m Allow autogenstrings to find all strings 9 years ago
NotificationsManager.h Adapting to renaming. 9 years ago
NotificationsManager.m Fix registration flow / Keep push tokens in sync 9 years ago
PropertyListPreferences.h Fix registration flow / Keep push tokens in sync 9 years ago
PropertyListPreferences.m Fix registration flow / Keep push tokens in sync 9 years ago
Release.h TextSecureKit Refactoring 9 years ago
Release.m Explain send failures for text and media messages 9 years ago
SignalKeyingStorage.h TextSecureKit Refactoring 9 years ago
SignalKeyingStorage.m Fixes #146 #147. 9 years ago
VersionMigrations.h Support for `supportsVOIP` attribute. 10 years ago
VersionMigrations.m Fix registration flow / Keep push tokens in sync 9 years ago
iOSVersions.h TextSecureKit Refactoring 9 years ago