Signal-iOS/SignalMessaging/Subscriptions
Evan Hahn 513ba3863d Crash, don't throw, if donation receipt generation fails
_I recommend reviewing this with whitespace changes disabled._

We need to generate a "receipt request" before doing a donation. This is
is entirely on-device and is unlikely to fail, but it technically could.

Previously, `generateReceiptRequest` would throw if this failed. We did
a bad job handling these failures (in some cases, we just ignored the
failures completely!).

Because this represents such a catastrophic failure, we'd _like_ this to
crash the app so we can investigate it more urgently.
2022-11-09 11:49:30 -06:00
..
CachedBadge.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
DonationUtilities.swift Consolidate one-time & monthly donation screens 2022-11-08 16:27:50 -06:00
Stripe.swift Consolidate one-time & monthly donation screens 2022-11-08 16:27:50 -06:00
SubscriptionManager.swift Crash, don't throw, if donation receipt generation fails 2022-11-09 11:49:30 -06:00
SubscriptionReceiptCredentialRedemptionJob.swift Consolidate one-time & monthly donation screens 2022-11-08 16:27:50 -06:00