Skip to content

Commit 3cd707a

Browse files
committed
Merge branch 'ADP-5877-NEW' into develop
2 parents 52eadf2 + c1358b6 commit 3cd707a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/content/docs/ios/migration-to-ios-sdk-v4.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ metadataTitle: "Migrating to Adapty iOS SDK v4.0 (beta) | Adapty Docs"
66

77
Adapty iOS SDK 4.0 (beta) introduces flows and renames the paywall APIs accordingly. The new APIs work with both the Paywall Builder and the new Flow Builder — no setup changes are required on the Adapty Dashboard side.
88

9-
There are three things to know about the type changes:
10-
11-
- **`AdaptyFlow` is a new type.** It is a placement that wraps one or more paywalls — the value returned by the new `Adapty.getFlow(placementId:)` method. Code that previously held an `AdaptyPaywall` now holds an `AdaptyFlow`.
12-
- **`AdaptyPaywall` has been renamed to `AdaptyFlowPaywall`.** It exists as an item inside `AdaptyFlow.paywalls`. Typical v3 migration paths don't interact with it directly — you'll encounter it only if you build flow-aware UI by walking `flow.paywalls`.
13-
- **`AdaptyPaywallProduct` is unchanged.** Methods that returned `[AdaptyPaywallProduct]` still do — there is no `AdaptyFlowProduct`.
14-
159
## Quick reference
1610

1711
| v3 | v4 |

0 commit comments

Comments
 (0)