Skip to content

Commit

Permalink
fix ios build error
Browse files Browse the repository at this point in the history
  • Loading branch information
charliecruzan-stripe committed Apr 12, 2022
1 parent d401328 commit e47e6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/StripeSdk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class StripeSdk: RCTEventEmitter, STPApplePayContextDelegate, STPBankSelectionVi
var shippingMethodUpdateHandler: ((PKPaymentRequestShippingMethodUpdate) -> Void)? = nil
var shippingContactUpdateHandler: ((PKPaymentRequestShippingContactUpdate) -> Void)? = nil

static let MISSING_INIT_ERROR = Errors.createError(ErrorType.Failed.rawValue, "Stripe publishableKey has not been set. Make sure you have initialized Stripe in your app with the StripeProvider component or the initStripe method.")
static let MISSING_INIT_ERROR = Errors.createError(ErrorType.Failed, "Stripe publishableKey has not been set. Make sure you have initialized Stripe in your app with the StripeProvider component or the initStripe method.")

override func supportedEvents() -> [String]! {
return ["onDidSetShippingMethod", "onDidSetShippingContact"]
Expand Down

0 comments on commit e47e6e4

Please sign in to comment.