Skip to content

Conversation

@kgangineni
Copy link
Collaborator

Summary of changes

  • Introduces auth tab functionality
  • introduces new overloaded function
    kotlinfun start( activity: Activity, request: PayPalWebCheckoutRequest, activityResultLauncher: ActivityResultLauncher<Intent>, callback: PayPalWebStartCallback ) { }
    to pass activityResultLauncher parameter
  • Auth tab is allowed on devices with chrome version 137+ (may be hard to create in emulator but able to do in pixel devices)
  • API works including callback in ActivityLauncher on all chrome versions, it might not have additional security provided auth tab in lower versions of chrome

Checklist

  • Added a changelog entry

Authors

List GitHub usernames for everyone who contributed to this pull request.

sshropshire and others added 24 commits December 8, 2025 11:39
  - Add AuthTabClient to CorePayments for managing auth tab flows
  - Update PayPalWebCheckoutClient to support ActivityResultLauncher
  - Add useAuthTabLauncher toggle in demo app for testing
  - Update browser switch clients to handle auth tab integration
  - Add androidx.browser:auth dependency for auth tab support
- Add AuthTabClientUnitTest to test auth tab launch scenarios
- Extend BrowserSwitchClientUnitTest with activity launcher tests
- Add PayPalWebLauncherUnitTest cases for activity launcher variant
- Test auth tab launch with appLinkUrl and returnUrlScheme
- Test error handling for auth tab launch failures
- Verify correct token types and request codes
@kgangineni kgangineni marked this pull request as ready for review January 16, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants