Signal-iOS/SignalShareExtension
Michael Kirk f8b411b15e Fix crash when canceling SAE
Seeing on iOS13 at least, an error while trying to bridge error types:

0   libswiftFoundation.dylib        0x00000001b6714580 $sSo10CFErrorRefas5Error10FoundationsACP7_domainSSvgTW + 44 (NSError.swift:343)
1   libswiftCore.dylib              0x000000018e43f77c $ss23_getErrorDomainNSStringyyXlSPyxGs0B0RzlF + 44 (ErrorType.swift:140)
2   libswiftCore.dylib              0x000000018e6bfab8 _swift_stdlib_bridgeErrorToNSError + 216 (ErrorObject.mm:434)
3   SignalShareExtension            0x0000000102f4f348 closure #1 in ShareViewController.shareViewWasCancelled() + 748 (ShareViewController.swift:512)
4   SignalShareExtension            0x0000000102f498ec thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0)
5   UIKitCore                       0x0000000184889f04 __99-[UIViewController _dismissViewControllerWithAnimationController:interactionController:comple... + 32 (UIViewController.m:8103)

Passing back a swift error avoids this. Presumably setting a domain on the NSError would also work.
2019-11-18 14:30:19 -07:00
..
Base.lproj Sketch out SAE load screen; make a number of infrastructure changes. 2017-12-01 09:37:52 -05:00
utils Improve logging around perf bottlenecks around application state changes. 2019-11-04 13:37:46 -03:00
Info.plist "Bump build to 3.0.0.13." 2019-11-18 12:32:07 -08:00
SAEFailedViewController.swift font updates 2019-09-26 12:20:42 -07:00
SAELoadViewController.swift font updates 2019-09-26 12:20:42 -07:00
SAEScreenLockViewController.h Add screen lock UI to SAE. 2018-04-20 16:39:35 -04:00
SAEScreenLockViewController.m UIAlertController -> ActionSheetController 2019-10-28 14:43:59 -07:00
ShareViewController.swift Fix crash when canceling SAE 2019-11-18 14:30:19 -07:00
SignalShareExtension-Bridging-Header.h convert colors to Swift 2019-09-24 15:12:50 -07:00
SignalShareExtension-Prefix.pch Sketch out the SDS code generation. 2019-04-11 09:15:28 -04:00
SignalShareExtension.entitlements Update share extension capabilities. 2017-11-30 14:09:10 -05:00