chore: deprecate public Offerings API - #461
Merged
Merged
Conversation
Offerings are a legacy Qonversion feature superseded by Remote Configs. Annotate the public `offerings()` method on both the `Qonversion` interface and its `QonversionInternal` implementation with `@Deprecated` (Dart does not inherit the annotation) and repoint the dartdoc link to the migration guide. Behavior is unchanged; this only surfaces analyzer deprecation warnings and points integrators to the Remote Configs migration guide. DTOs (QOfferings, QOffering), version, CHANGELOG and pubspec are untouched. Migration guide: https://documentation.qonversion.io/docs/migrate-offerings-to-remote-configs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Review follow-up: the interface dartdoc link label still read "Offerings" while the URL already points to the migration guide. Renamed the label to "Migrate Offerings to Remote Configs" for label/target consistency. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
Marks the public Offerings API as deprecated. Offerings are a legacy Qonversion feature that is being sunset in favor of Remote Configs, which is the recommended way to manage paywall products remotely.
Changes
@Deprecated(...)toQonversion.offerings()(the public interface) and toQonversionInternal.offerings()(the implementation). Dart does not inherit the annotation, so both declarations are annotated.offerings()dartdoc@seelink fromqonversion.io/docs/offeringsto the Remote Configs migration guide.Not changed
QOfferings,QOffering) are intentionally left untouched to avoid a cascade of internal deprecation warnings.CHANGELOGandpubspecare untouched.Migration guide
https://documentation.qonversion.io/docs/migrate-offerings-to-remote-configs
Related
Please do not merge yet — this is part of a coordinated Offerings sunset across docs, dashboard and SDKs.
🤖 Generated with Claude Code