Netmera Developer Guide
Ask or search…
⌃K
Comment on page

iOS SDK Versions

v.3.21.0

30.11.2023
​
🛠
BUGFIX
  • Fixed an issue where errors were encountered when returning information about screens added to the autotracking whitelist.
⭐ IMPROVEMENTS
  • Introduced user callback for enhanced functionality.
  • Added dSYM to XCFramework for improved development and debugging.

v.3.20.0

14.11.2023
Note: This is a beta version. Do not update without contacting Netmera.
⭐ IMPROVEMENTS
  • Integration of the new auto-tracking structure.

v.3.19.0

13.11.2023

⭐ FEATURE

  • Users can now send push notifications with different icons for various scenarios. Visit iOS Push Icon page for further details.

v.3.18.0

31.10.2023
  • In iOS SDK version 3.18.0, an enhancement has been made to the fetchCoupon feature.
If you want to retrieve assigned coupons for a user, you can use the fetchCoupon() method. Here's a Swift code example:
swiftCopy codelet filter = NetmeraCouponFilter()
filter.page = 0
filter.max = 12
​
Netmera.fetchCoupon(using: filter) { coupons, error in
self.coupons = coupons ?? []
self.tableView.reloadData()
}
This code allows you to fetch assigned coupons for a user and update the table view with the retrieved data.

v.3.16.0

⭐ IMPROVEMENTS
  • User Method Simplified
  • Email Preferences Added

v.3.15.1

​
🛠
BUGFIX
  • Scenario: When an event is triggered offline, the events are written to the queue. When the user is back online, the accumulated events in the queue are logged in sdk.log.
    It was noticed that the events in offline event delivery were not coming after the A/B feature (3.14.13). This issue has been resolved in this version.

v.3.15.2

⭐ IMPROVEMENTS
  • SwiftUI Support
Details
Problem: None of the original application lifecycle methods in SwiftUI are being triggered.
SwiftUI is a framework introduced by Apple in 2019, which allows developers to create applications with a single design that can be used across devices such as iPhone, iPad, and Mac.
The issue has been investigated and development has been carried out to address the problem in both SwiftUI and traditional application frameworks, ensuring compatibility for all types of applications.
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void)
{
[//Netmera.recentPushObject](<https://netmera.recentpushobject/>)()?.alert.body //Push Text
[//Netmera.recentPushObject](<https://netmera.recentpushobject/>)()?.alert.title //Push Title
[//Netmera.recentPushObject](<https://netmera.recentpushobject/>)()?.action.deeplinkURL //Push Deeplink
[//Netmera.recentPushObject](<https://netmera.recentpushobject/>)()?.customDictionary //Custom JSON
}