Added APIs for hybrid SDKs to set presentedOfferingContext#5491
Merged
Conversation
JayShortway
approved these changes
Aug 21, 2025
JayShortway
left a comment
Member
There was a problem hiding this comment.
Good stuff! 💪 Thanks for taking care of this!
Just some minor comments only.
tonidero
approved these changes
Aug 21, 2025
tonidero
left a comment
Contributor
There was a problem hiding this comment.
Nothing to add to @JayShortway's comment. Looks great!! Thanks for doing this 🙌
This was referenced Aug 21, 2025
rickvdl
added a commit
to RevenueCat/purchases-hybrid-common
that referenced
this pull request
Sep 3, 2025
…nting paywalls (#1246) Adds the `presentedOfferingContext` parameter implemented in the native SDKs (for context, [iOS](RevenueCat/purchases-ios#5491) and [Android](RevenueCat/purchases-android#2610) PRs) Also deprecated the old APIs and added the new APIs to the API test.
vegaro
pushed a commit
to RevenueCat/purchases-hybrid-common
that referenced
this pull request
Oct 16, 2025
…nting paywalls (#1246) Adds the `presentedOfferingContext` parameter implemented in the native SDKs (for context, [iOS](RevenueCat/purchases-ios#5491) and [Android](RevenueCat/purchases-android#2610) PRs) Also deprecated the old APIs and added the new APIs to the API test. # Conflicts: # ios/PurchasesHybridCommon/PurchasesHybridCommonUI/Paywalls/PaywallProxy.swift
vegaro
pushed a commit
to RevenueCat/purchases-hybrid-common
that referenced
this pull request
Oct 17, 2025
…nting paywalls (#1246) Adds the `presentedOfferingContext` parameter implemented in the native SDKs (for context, [iOS](RevenueCat/purchases-ios#5491) and [Android](RevenueCat/purchases-android#2610) PRs) Also deprecated the old APIs and added the new APIs to the API test.
vegaro
pushed a commit
to RevenueCat/purchases-hybrid-common
that referenced
this pull request
Oct 17, 2025
…nting paywalls (#1246) Adds the `presentedOfferingContext` parameter implemented in the native SDKs (for context, [iOS](RevenueCat/purchases-ios#5491) and [Android](RevenueCat/purchases-android#2610) PRs) Also deprecated the old APIs and added the new APIs to the API test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
purchases-androidand hybridsMotivation
Based on PR #2610 for Android, adds similar internal APIs for the hybrid SDKs for iOS. Allows the hybrid SDKs to pass
PresentedOfferingContextwhen launching paywalls by passing a specific offeringDescription
This PR implements the internal APIs, and uses the given
PresentedOfferingContextwhen passing anofferingIdentifierfrom the hybrid SDKs to enrich the freshly fetchedOfferingwith the given presentation context.