paypal / paypal-ios

One merchant integration point for all of PayPal's services
Apache License 2.0
59 stars 27 forks source link

Missing PayPal logo in generic PayPal button #267

Closed nerocristallo closed 5 months ago

nerocristallo commented 5 months ago

PayPal SDK Version

1.2.0

Environment

Both

Xcode Version

15.3

OS Version & Device

17.4.1

Integration type

CocoaPods

Development Processor

Apple Silicon (M-series chips)

Describe the bug

The PayPal logo is not present in PayPalButton.

It disappeared after the SDK update (from 1.1.0 to 1.2.0)

Using SDK 1.1.0 IMG_0058

Using SDK 1.2.0

IMG_0059

To reproduce

Add Button

class MyViewController: UIViewController {

  lazy var payPalButton: PayPalButton = {

    let payPalButton = PayPalButton()

    payPalButton.addTarget(self, action: #selector(payPalButtonTapped), for: .touchUpInside)

    return payPalButton

  }()

  @objc func payPalButtonTapped() {

    // Insert your code here

  }

  override func viewDidLoad() {

    super.viewDidLoad()

    view.addSubview(payPalButton)

  }

}

and update sdk to 1.2.0

Expected behavior

The logo should be visible

Screenshots

No response