docs(skills): add native v6 migration guidance#9
Draft
kherembourg wants to merge 4 commits into
Draft
Conversation
- purchasely/skills/migrate/SKILL.md — workflow for Android v5.x -> v6.0.0 migration. - purchasely/references/android/migration-v6.md — detailed API mapping, AGP 9 / kotlin.android conflict, Observer-mode suspend bridge, Billing v8 upgrade. - purchasely/commands/migrate.md — /purchasely:migrate entrypoint. Captures the Shaker PR #9 migration: Kotlin DSL Purchasely { ... } init, mavenLocal opt-in, kotlin.android removal under AGP 9, kotlinOptions removal, and the suspendCancellableCoroutine bridge to keep Observer mode working under v6's suspend interceptors. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Extend the migrate skill beyond Android: add the iOS Swift v5.x -> 6.0.0 reference, an iOS workflow section in SKILL.md, and remove the "do not work on iOS migration yet" gate. Derived from the Shaker iOS v6 migration (fluent init, typed interceptors, PLYPresentationBuilder, PLYPresentationOutcome, embedded UIViewControllerRepresentable). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <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.
Contexte
Le skill
migratene couvrait que la migration Android v5.x → 6.0.0 et bloquait explicitement iOS (« Do not work on iOS migration yet »). Ce travail ajoute le volet iOS (Swift), dérivé de la migration v6 réelle effectuée sur l'app de démo Shaker.Changements
purchasely/references/ios/migration-v6.md— checklist iOS v5→v6 :6.0.0+ workaround package Swift local pour le snapshotdevelop(pas dePackage.swiftracine)@preconcurrency import, tests enminimal)Purchasely.apiKey(...).…start { error in }(completionError?).paywallObserver→.observer,readyToOpenDeeplink→allowDeeplink,isDeeplinkHandled→handleDeeplinkinterceptAction(.login/.navigate/.purchase/.restore)async→PLYInterceptResultasync→ pas desuspendCancellableCoroutine, contrairement à Android)fetchPresentation→PLYPresentationBuilder.from(...).build().preload { }, résultat →PLYPresentationOutcomepresentation.controllerwrappé enUIViewControllerRepresentablexcodebuildpurchasely/skills/migrate/SKILL.md— description Android + iOS, suppression du gate iOS, argumentsandroid|ios, section « Mandatory Workflow — iOS » (11 étapes).purchasely/commands/migrate.md—argument-hint→android|ios.🤖 Generated with Claude Code
Android v6 Presentation guidance added
PLYPresentationbuilder/preload/display.screenId,PLYPresentationState,PLYPresentationOutcome, typed action interceptors, Observer-mode bridge, and optionalpresentation-compose.6.0.0insdk-versions.md.rtk npx --yes skills add . --list.