Skip to content

docs(android): drop stale interceptAction/removeActionInterceptor import - #22

Merged
kherembourg merged 2 commits into
mainfrom
docs/intercept-action-no-import
Jul 6, 2026
Merged

docs(android): drop stale interceptAction/removeActionInterceptor import#22
kherembourg merged 2 commits into
mainfrom
docs/intercept-action-no-import

Conversation

@kherembourg

Copy link
Copy Markdown
Contributor

Summary

  • Companion doc fix for Purchasely-Android-Sources#1627: interceptAction<T>/removeActionInterceptor<T> moved from top-level extension functions to inline members of Purchasely in SDK 6.0.0-rc.2+.
  • Removes the now-stale import io.purchasely.ext.interceptAction / removeActionInterceptor from references/android/api-reference.md and references/android/migration-v6.md, and clarifies the JVM-11 notes in those files plus references/concepts/paywall-actions.md to say no separate import is needed.

Test plan

  • Grepped repo for any remaining import io.purchasely.ext.interceptAction/removeActionInterceptor — none left
  • CI green

🤖 Generated with Claude Code

Both are now inline member functions of Purchasely (Android SDK
6.0.0-rc.2+), not top-level extensions — no separate import is needed
beyond io.purchasely.ext.Purchasely.
@greptile-apps

greptile-apps Bot commented Jul 6, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates Android docs for the v6 action interceptor imports.

  • Removes stale interceptAction and removeActionInterceptor imports from Android examples.
  • Clarifies that the reified helpers are inline members of Purchasely.
  • Adds an Unreleased changelog entry for the documentation fix.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed documentation.
  • The changelog entry follows the repository guidance for user-visible documentation changes.

Important Files Changed

Filename Overview
CHANGELOG.md Adds a concise Unreleased entry for the Android documentation import cleanup.
purchasely/references/android/api-reference.md Removes stale top-level interceptor imports and updates the action interceptor note.
purchasely/references/android/migration-v6.md Updates v6 migration guidance and removes the stale Kotlin interceptor import.
purchasely/references/concepts/paywall-actions.md Clarifies that Android Kotlin action interceptors only need the Purchasely import.

Reviews (1): Last reviewed commit: "docs(android): drop stale interceptActio..." | Re-trigger Greptile

Document the Class-based interceptAction(T::class.java) { info, action, result -> }
variant (no coroutine, result returned via the `result` callback) — previously
absent from the repo — plus a Java onboarding block, across the Android API
reference, migration guide, paywall-actions concept, and the integrate skill.
@kherembourg
kherembourg merged commit f657da3 into main Jul 6, 2026
2 checks passed
@kherembourg
kherembourg deleted the docs/intercept-action-no-import branch July 6, 2026 14:13
kherembourg added a commit that referenced this pull request Jul 7, 2026
Cordova joins the v6 line. Bumps all marketplace/plugin manifests
and package.json to 2.0.0-rc.6 (CHANGELOG already updated in #18).

Includes PRs #18, #22, #23.
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.

2 participants