Netmera Developer Guide
Netmera Docs
  • Netmera Developer Guide
  • Platforms
    • iOS
      • New iOS (Swift)
        • SDK Integration
        • Push Notifications
          • Delegate Methods
          • Widget and In-App Messages
          • Media Push
          • Carousel, Slider and Thumbnail Push
        • Deep Linking
          • Custom Deep Links
        • Sound & Vibration
        • Push Inbox
        • Events
        • Geofence & Location
        • User Attributes & Preferences
        • Advertising ID
        • Changelog
      • Former iOS (Objective-C)
        • SDK Integration
        • Push Notifications
          • Delegate Methods
          • Push Payload Receivers
          • Widget and In-App Messages
          • Customizing In-App Messages
          • Media Push
          • Carousel, Slider and Thumbnail Push
          • Custom Web View Presentation
          • Push Icon
        • Live Activities
        • Deep Linking
          • Custom Deep Links
        • Sound & Vibration
        • Push Inbox
        • Events
        • Geofence & Location
        • User Attributes & Preferences
        • Data Transfer
        • Advertising ID
        • SSL Pinning
        • Changelog
    • Android
      • SDK Integration
        • Huawei Integration
        • Huawei Message Receipt
        • Android Integration FAQs
      • Push Notifications
        • Widget and In-App Messages
        • Push Callbacks
        • Custom Web View Presentation
        • Push Icon
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
        • Background Location Permission
      • User & Attributes
      • Data Transfer
      • Advertising ID
      • App Tracking
      • SSL Pinning
      • Changelog
    • Web
      • SDK Setup
        • Self-Hosted SDK Setup
      • Mobile Web Push for iOS
      • Deep Linking
        • Custom Deep Links
      • Events
      • User & Attributes
    • React Native
      • SDK Integration
      • Push Notifications
        • Widget and In-App Messages
        • Push Callbacks
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
      • User & Attributes
      • Changelog
    • Flutter
      • SDK Integration
      • Push Notifications
        • Push Notification Permissions
        • Widget and In-App Messages
        • Flutter iOS Media Push
      • Deep Linking
        • Custom Deep Links
      • Sound & Vibration
      • Push Inbox
      • Events
      • Geofence & Location
      • User & Attributes
      • SSL Pinning
      • Changelog
    • Cordova
      • SDK Integration
      • Push Notifications
      • Sound & Vibration
      • Push Inbox
      • Events
      • User & Attributes
    • Unity
      • SDK Integration
      • Sound & Vibration
      • Events
      • User & Attributes
      • Changelog
  • Integrated Modules
    • Optimove
    • Adjust
    • Mixpanel
    • IYS Integration
    • VIA Integration
      • Short URL Consent Requests
      • OTP Consent Requests
        • OTP Confirmation Completion
      • VIA Email Rejection Link Generation
      • ETK Rejection via SMS
  • API Documentation
    • REST API
      • Setup
      • Notifications
      • Events
      • User & Device Management
      • Inbox Feature
      • GDPR
      • Error Responses
  • FAQs
    • Push Notifications FAQs
Powered by GitBook
On this page
  • 4.0.25
  • 4.0.24
  • 4.0.22
  • 4.0.21
  • 4.0.20
  • 4.0.19
  • 4.0.18
  • 4.0.17
  • 4.0.16
  • 4.0.15
  • 4.0.14
  • 4.0.13
  • 4.0.12
  • 4.0.11
  • 4.0.10
  • 4.0.8
  • 4.0.7
  • 4.0.6
  • 4.0.5
  • 4.0.4
  • 4.0.2

Was this helpful?

  1. Platforms
  2. iOS
  3. New iOS (Swift)

Changelog

PreviousAdvertising IDNextFormer iOS (Objective-C)

Last updated 22 days ago

Was this helpful?

4.0.25

April 17, 2025

⭐ IMPROVEMENT

  • Added the piid (push instance ID) value to the event data sent by the SDK for push notifications.

BUGFIX

  • Fixed a crash issue that occurred when users tapped on multiple push notifications in quick succession while the app was open.

4.0.24

April 10, 2025

FEATURE

Email Preferences API Integration

  • The Netmera SDK now supports managing email subscription preferences within your app using the new Email Preferences API.

    • Netmera.setEmailSubscriptionAllowed(true) – Allows users to subscribe to email notifications.

    • Netmera.setEmailSubscriptionAllowed(false) – Allows users to unsubscribe from email notifications.

    • Netmera.isEmailSubscriptionAllowed() – Allows to check if the user has allowed email subscriptions.

Push Click Action: Open Widget

  • Added an Open Widget option to the Push Click Action section in campaign creation. This enables users to be directed to a relevant widget within the app directly from the push notification.

⭐ IMPROVEMENT

Deep Link Management for Widget Button Actions

  • Improved support for deep linking within widgets. Developers can now handle deep links more effectively when a deeplink is added as a click action in a widget. This enhancement ensures that deep links can be processed properly by the app.

4.0.22

April 2, 2025

⭐ IMPROVEMENT

  • The header x-netmera-framework: swift has been added.

4.0.21

March 20, 2025

⭐ IMPROVEMENT

Timezone ID Collection:

  • The SDK now collects and includes the tzid (timezone ID) in the ids block for all requests.

New Event for Background Location Permission:

  • Introduced the n:blp event, which is triggered when the user grants in-app location permission.

Track Action Fix:

  • Resolved an issue where long taps were incorrectly recognized as regular taps, preventing certain actions from being triggered. The SDK now correctly verifies tap gestures before executing actions.

4.0.20

January 30, 2025

  • Autotracking mechanism, which automatically tracks user activities and simplifies page transition tracking and event data collection in mobile applications, has been improved.

  • The SDK now collects region information from device settings, allowing for more targeted engagement based on user regions.

Region Information Use Cases
  1. Storing Region Information on First App Launch

When the user opens the app for the first time, the device’s region information (rgn parameter) is sent to the Netmera backend. This information is added to the user profile and can be used for segmentation.

  1. Updating User's Region Information

If the user changes the region settings on their device, the SDK detects this change and sends the updated information to the backend.

Example: If the device region is Region = "US", the SDK sends "rgn": "US" to the backend.

  1. Sending Region-Specific Push Notifications

You can send push notifications targeted to users in specific regions.

Examples:

  • To users with "rgn": "TR": "New campaign for our users in Turkey!"

  • To users with "rgn": "FR": "Special shipping offers for our customers in France!"

  1. Sending Emergency Alerts and Notifications by Region

In case of emergencies (weather alerts, natural disasters, etc.), users in specific regions will receive alerts.

Examples:

  • To users with "rgn": "JP": "Earthquake warning in Japan!"

  • To users with "rgn": "US": "Delays expected due to storm in the USA."

  1. Segmenting Users Based on Region

Clients can create automatic segments based on users' region.

  • Users with "rgn": "GB" will be included in the "UK" segment.

  • Users with "rgn": "IN" will be included in the "India" segment.

  1. Displaying In-App Messages Based on Region

When a user opens the app, they may receive an In-App message personalized for their region.

  1. Displaying Region-Specific Personalized Content

Upon opening the app, users are shown content tailored to their current region.

  • A user with "rgn": "JP" will see popular products in Japan.

  • A user with "rgn": "FR" will see recommendations for French restaurants and hotels.

  1. Region-Specific Loyalty Programs or Reward Systems

Different loyalty programs can be applied based on the user's region.

  • Users with "rgn": "UK" can receive: "Exclusive 15% bonus points for UK users!"

  • Users with "rgn": "IN" can receive: "Cashback offers available for users in India!"

  1. Displaying Payment Options Based on Region

Users are presented with payment methods relevant to their region.

Example: A popular local bank is offered to users in Turkey, while a different regional bank is suggested for users in Europe.

4.0.19

January 23, 2025

  • The Instant Show button parameter from the Netmera Panel, which allows users to display specific widgets on the desired page and at the desired time, is now fully implemented in the SDKs and ready for use.

4.0.18

January 13, 2025

  • Fixed an issue where push notifications sent while the app was in the foreground did not appear in the notification center if not interacted with upon arrival. Notifications will now properly display in the notification center as expected.

4.0.17

December 30, 2024

⭐ IMPROVEMENT

  • Updated kSecAttrAccessible value in Swift SDK from kSecAttrAccessibleAfterFirstUnlock to kSecAttrAccessibleAlways. This update ensures continuous access to Keychain data.

4.0.16

December 12, 2024

  • Improved the network queue mechanism to ensure accurate and reliable processing of all requests.

4.0.15

December 2, 2024

  • Widgets exceeding their end time are now correctly excluded during automation deliveries.

4.0.14

November 28, 2024

⭐ IMPROVEMENT

  • Test Device Added Success Alert:

Added a success alert when a test device is added.

  • Deep Link Handling Crash Fixed:

A crash that occurred when using schema-based deep links has been fixed. This issue, specifically affecting scheme-type deep links (e.g., scheme://...), caused the application to crash before triggering AppDelegate methods. In the new version, necessary checks have been added, and the redirection flow has been improved.

4.0.13

November 13, 2024

⭐ IMPROVEMENT

  • Media content included in push notifications with Inbox features is now accessible. Users can directly view media files (images, videos, etc.) embedded in notifications. Please see the sample code below.

if let mediaURL = data?.push?.mediaAttachmentURL,
let url = URL(string: mediaURL) {
// Load image with url
}
  • Ensured compatibility with Xcode 16 by updating the Swinject framework build process.

  • Widget background updated from gray to a transparent background for enhanced visual appeal.

  • Resolved a crash issue that occurred when adding a test device via email.

4.0.12

November 8, 2024

  • Resolved an issue with widget button actions to ensure proper functionality.

4.0.11

September 26, 2024

  • Resolved an issue causing crashes related to silent push notifications.

4.0.10

September 18, 2024

  • The Purchase Event can now be used as a base event, providing greater flexibility in event tracking and enabling more advanced analytics and marketing scenarios.

4.0.8

Sep 12, 2024

  • Additional logs have been implemented to help address issues and improve troubleshooting. These logs provide better insights for identifying and resolving errors efficiently.

4.0.7

Sep 3, 2024

  • The did (device ID) value has been improved to maintain its consistency even after the app is uninstalled and reinstalled.

4.0.6

Aug 27, 2024

  • Resolved an issue that was causing a crash related to the widget.

4.0.5

Aug 1, 2024

  • We have added support for SwiftUI.

4.0.4

July 19, 2024

  • Fixed the error encountered in AppDelegate.

4.0.2

May 6, 2024

  • Added dsym file for better debugging capabilities.

  • Added 'appV' and 'buildV' to the header for improved version tracking and identification.

BUGFIX

FEATURE

FEATURE

BUGFIX

BUGFIX

BUGFIX

BUGFIX

BUGFIX

BUGFIX

BUGFIX

FEATURE

IMPROVEMENT

BUGFIX

BUGFIX

FEATURE

BUGFIX

IMPROVEMENT

🛠️
🚀
🚀
🛠️
🛠️
🛠️
🛠️
🛠️
🛠️
🛠️
🚀
⭐
🛠️
🛠️
🚀
🛠️
⭐
See in User Guide
🛠️
🚀
Email Subscription Preferences