You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATING.md
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,64 @@ This change only affects users who:
93
93
94
94
The `MPListenerController` class has been removed. The SDK no longer invokes any listener callbacks.
95
95
96
+
---
97
+
98
+
### Source-Based Distribution Changes
99
+
100
+
As part of the transition from binary (XCFramework) to source-based distribution, several public Swift classes have been converted to Objective-C. This improves compatibility with Swift Package Manager and reduces integration complexity, but may require code changes for Swift users who were referencing Swift-specific type hierarchies.
101
+
102
+
#### MPRoktEvent Classes Moved to Top-Level
103
+
104
+
The `MPRoktEvent` subclasses have been converted from Swift nested classes to Objective-C top-level classes. This changes how Swift users reference these types.
105
+
106
+
**Before (Swift):**
107
+
108
+
```swift
109
+
let initEvent = MPRoktEvent.MPRoktInitComplete(success: true)
110
+
let readyEvent = MPRoktEvent.MPRoktPlacementReady(placementId: "abc")
111
+
let purchaseEvent = MPRoktEvent.MPRoktCartItemInstantPurchase(...)
112
+
```
113
+
114
+
**After (Swift):**
115
+
116
+
```swift
117
+
let initEvent =MPRoktInitComplete(success: true)
118
+
let readyEvent =MPRoktPlacementReady(placementId: "abc")
119
+
let purchaseEvent =MPRoktCartItemInstantPurchase(...)
0 commit comments