Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use newer Alert API for showing customer restored alert (#4078)
This was causing issues for some developers, because the old, deprecated Alert API would fail silently if there was a view higher up in the view hierarchy which already had an Alert modifier This in turn caused the `onRestoreCompleted` callback not to be called. https://community.revenuecat.com/sdks-51/restore-completion-handlers-not-firing-in-presentpaywallifneeded-4674 The newer Alert API seems to not suffer from the same issue. ### Checklist - [ ] If applicable, unit tests - [ ] If applicable, create follow-up issues for `purchases-android` and hybrids ### Motivation <!-- Why is this change required? What problem does it solve? --> <!-- Please link to issues following this format: Resolves #999999 --> ### Description <!-- Describe your changes in detail --> <!-- Please describe in detail how you tested your changes -->
- Loading branch information