Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DTPPMOBILE-143] Deprecate Delegation Methods in Paypal SDK #304

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

GMALKHA
Copy link
Contributor

@GMALKHA GMALKHA commented Nov 25, 2024

Reason for changes

The PayPal SDK is transitioned from the delegation pattern to the completion handler approach for handling asynchronous operation. We want to mark the existing delegation methods as deprecated in the 1.X to notify merchants about upcoming change.

Summary of changes

#301
I used the migration-merged PR to deprecate all the methods and protocols that have been removed or renamed.

Checklist

  • [ Deprecating Delegation]
  • [ Deprecating Renamed methods]

Authors

@GMALKHA GMALKHA requested a review from a team as a code owner November 25, 2024 20:25
@KunJeongPark
Copy link
Collaborator

KunJeongPark commented Nov 26, 2024

Thank you for addressing this deprecation issue. It looks like you have some lint failures with line lengths.
The Cocoapods failures on these deprecation warnings, let's look into if we can selectively silence these warnings.

@@ -34,4 +34,5 @@ jobs:
run: cd SampleApps/SPMTest && swift package resolve
- name: Build & archive SPMTest
run: xcodebuild -project 'SampleApps/SPMTest/SPMTest.xcodeproj' -scheme 'SPMTest' clean build archive CODE_SIGNING_ALLOWED=NO
run: pod lib lint --allow-warnings="deprecated"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@KunJeongPark
Copy link
Collaborator

🎉

@GMALKHA GMALKHA merged commit 1d8cb0c into 1.x Nov 26, 2024
2 checks passed
@GMALKHA GMALKHA deleted the deprecate-delegate-methods branch November 26, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants