Skip to content

Commit f226fc6

Browse files
committed
Merge branch 'feature/client-app-launch-failed-serverside' into 'feature/native-payments'
Removing handling of legacy local clientAppLaunchFailed error See merge request swedbank-pay/swedbank-pay-example-app-ios!12
2 parents 333019e + 9b0b0c2 commit f226fc6

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

Example-app/Base.lproj/Localizable.strings

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"stand_alone_url_payment_credit_card_prefill %@" = "Credit Card: %@";
2424
"stand_alone_url_payment_new_credit_card" = "New Credit Card";
2525
"stand_alone_url_payment_abort" = "Abort";
26-
"stand_alone_client_app_launch_failed" = "Failed to launch external app";
2726
"stand_alone_url_payment_session_end_state_reached" = "Something went wrong with the payment";
2827
"stand_alone_internal_inconsistency_error" = "Something was called it the wrong order";
2928
"stand_alone_generic_error_title" = "Something went wrong";

Example-app/ViewModels/StandaloneUrlViewModel.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@ extension StandaloneUrlView {
171171

172172
func sdkProblemOccurred(problem: SwedbankPaySDK.PaymentSessionProblem) {
173173
switch problem {
174-
case .clientAppLaunchFailed:
175-
showAlert(errorTitle: nil,
176-
errorMessage: "stand_alone_client_app_launch_failed".localize)
177174
case .paymentSessionAPIRequestFailed(let error, let retry):
178175
showAlert(error: error, retry: retry)
179176
case .paymentControllerPaymentFailed(error: let error, retry: let retry):

Example-app/en.lproj/Localizable.strings

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"stand_alone_url_payment_credit_card_prefill %@" = "Credit Card: %@";
2424
"stand_alone_url_payment_new_credit_card" = "New Credit Card";
2525
"stand_alone_url_payment_abort" = "Abort";
26-
"stand_alone_client_app_launch_failed" = "Failed to launch external app";
2726
"stand_alone_url_payment_session_end_state_reached" = "Something went wrong with the payment";
2827
"stand_alone_internal_inconsistency_error" = "Something was called it the wrong order";
2928
"stand_alone_generic_error_title" = "Something went wrong";

0 commit comments

Comments
 (0)