Skip to content

New Package.presentedOfferingContext#3712

Merged
joshdholtz merged 1 commit into
mainfrom
new-presented-offering-context
Feb 28, 2024
Merged

New Package.presentedOfferingContext#3712
joshdholtz merged 1 commit into
mainfrom
new-presented-offering-context

Conversation

@joshdholtz

@joshdholtz joshdholtz commented Feb 23, 2024

Copy link
Copy Markdown
Member

This was already approved and merged into 5.0-dev but bringing this into 4.x (see #3690)

Motivation

Allow for storing of other presented offering context on a Package

Description

  • Replaced offeringIdentifier: String on Package with new
    presentedOfferingContext: PresentedOfferingContext
    • Currently it only has a offeringIdentifier: String
  • Eventually this will add new optional properties for targeting and
    placements

### Motivation

Allow for storing of other presented offering context on a `Package`

### Description

- Replaced `offeringIdentifier: String` on `Package` with new
`presentedOfferingContext: PresentedOfferingContext`
  - Currently it only has a `offeringIdentifier: String`
- Eventually this will add new optional properties for targeting and
placements
@joshdholtz joshdholtz added the pr:feat A new feature label Feb 23, 2024
@joshdholtz joshdholtz requested review from a team February 23, 2024 16:56
@joshdholtz joshdholtz merged commit 67d57a1 into main Feb 28, 2024
@joshdholtz joshdholtz deleted the new-presented-offering-context branch February 28, 2024 19:53
joshdholtz added a commit that referenced this pull request Mar 5, 2024
**This is an automatic release.**

### New Features
* Paywalls: add `updateWithDisplayCloseButton` to
`PaywallViewController` (#3708) via Cesar de la Vega (@vegaro)
* New `syncAttributesAndOfferingsIfNeeded` method (#3709) via Burdock
(@lburdock)
* Add targeting to `PresentedOfferingContext` (#3730) via Josh Holtz
(@joshdholtz)
* Add `currentOffering(forPlacement: String)` to `Offerings` (#3707) via
Guido Torres (@guido732)
* New `Package.presentedOfferingContext` (#3712) via Josh Holtz
(@joshdholtz)
### Bugfixes
* Mark methods with StaticString for appUserID as deprecated (#3739) via
Mark Villacampa (@MarkVillacampa)
### Other Changes
* [EXTERNAL] Spelling typo fix to comment (#3713) via @vdeaugustine
(#3740) via Mark Villacampa (@MarkVillacampa)

---------

Co-authored-by: Josh Holtz <me@joshholtz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants