Manos Chorianopoulos

update documentation

...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 4
5 **Get started with SwiftWarplyFramework in just 5 minutes!** 5 **Get started with SwiftWarplyFramework in just 5 minutes!**
6 6
7 -**Version**: 2.3.0 | **Minimum iOS**: 17.0 | **Swift**: 5.0+ 7 +**Version**: 2.4.0 | **Minimum iOS**: 17.0 | **Swift**: 5.0+
8 8
9 --- 9 ---
10 10
...@@ -53,7 +53,7 @@ Choose your preferred installation method: ...@@ -53,7 +53,7 @@ Choose your preferred installation method:
53 ``` 53 ```
54 https://git.warp.ly/open-source/warply_sdk_framework.git 54 https://git.warp.ly/open-source/warply_sdk_framework.git
55 ``` 55 ```
56 -4. Select **Version**: `2.3.0` or **Up to Next Major** 56 +4. Select **Version**: `2.4.0` or **Up to Next Major**
57 5. Click **Add Package** 57 5. Click **Add Package**
58 6. Select **SwiftWarplyFramework** and click **Add Package** 58 6. Select **SwiftWarplyFramework** and click **Add Package**
59 59
...@@ -62,7 +62,7 @@ Add to your `Package.swift` dependencies: ...@@ -62,7 +62,7 @@ Add to your `Package.swift` dependencies:
62 62
63 ```swift 63 ```swift
64 dependencies: [ 64 dependencies: [
65 - .package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.3.0") 65 + .package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.4.0")
66 ] 66 ]
67 ``` 67 ```
68 68
...@@ -89,7 +89,7 @@ platform :ios, '17.0' ...@@ -89,7 +89,7 @@ platform :ios, '17.0'
89 target 'YourApp' do 89 target 'YourApp' do
90 use_frameworks! 90 use_frameworks!
91 91
92 - pod 'SwiftWarplyFramework', :git => 'https://git@git.warp.ly/open-source/warply_sdk_framework.git', :tag => '2.3.0' 92 + pod 'SwiftWarplyFramework', :git => 'https://git@git.warp.ly/open-source/warply_sdk_framework.git', :tag => '2.4.0'
93 end 93 end
94 ``` 94 ```
95 95
...@@ -1790,6 +1790,34 @@ Start with the Quick Start guide and gradually adopt the advanced features as ne ...@@ -1790,6 +1790,34 @@ Start with the Quick Start guide and gradually adopt the advanced features as ne
1790 1790
1791 ## 📋 **Changelog** 1791 ## 📋 **Changelog**
1792 1792
1793 +### **Version 2.4.0** - *March 3, 2026*
1794 +
1795 +#### **🆕 New Features**
1796 +- **CouponsetViewController Added**: New view controller for displaying detailed coupon set information. Accepts a `CouponSetItemModel` and integrates seamlessly into navigation stacks and coordinator patterns.
1797 +- **Push Notifications Implementation**: Full push notification support migrated from legacy ObjC `WLPushManager` to Swift, including:
1798 + - Device token management and server registration via `updateDeviceToken()`
1799 + - Warply notification detection using the `"_a"` key in push payloads
1800 + - Notification routing by app state (active/background/closed)
1801 + - Rich push presentation via `CampaignViewController` WebView (campaign URL built from `session_uuid`)
1802 + - Push analytics events (`NB_PushReceived` and `NB_PushAck`)
1803 + - Custom push handler protocol (`WarplyPushHandler`) for non-standard action codes
1804 + - Pending notification queue for cold-start handling (`handleLaunchOptions()`, `handlePendingNotification()`)
1805 + - Badge management via `resetBadge()`
1806 + - Comprehensive device info sending to server
1807 + - New `PushNotificationReceivedEvent` and `PushNotificationEngagedEvent` in EventDispatcher
1808 + - Convenience wrappers for `UNUserNotificationCenterDelegate` methods (host app forwards calls to SDK)
1809 +- **ProfileViewController Dynamic Coupons Data**: ProfileViewController now fetches and displays dynamic coupon data from the API, replacing static/placeholder content with real user coupons.
1810 +- **retrieveCoupon Functionality Added**: New `retrieveCoupon` method for redeeming/retrieving coupons from coupon sets programmatically.
1811 +
1812 +#### **🔧 Improvements**
1813 +- Updated Push Notifications documentation section with complete AppDelegate setup guide
1814 +- Added `CouponsetViewController` to View Controller Integration examples and navigation patterns
1815 +
1816 +#### **🚨 Breaking Changes**
1817 +- **None**: Full backward compatibility maintained
1818 +
1819 +---
1820 +
1793 ### **Version 2.3.0** - *June 30, 2025* 1821 ### **Version 2.3.0** - *June 30, 2025*
1794 1822
1795 #### **🆕 New Features** 1823 #### **🆕 New Features**
......