Skip to content

Releases: OneSignal/OneSignal-iOS-SDK

2.15.0 Release

04 Aug 21:57
fcd9622
Compare
Choose a tag to compare

Added Swift Package Manager support and an XCFramework version of the OneSignal SDK

  • With Swift Package Manager support, the OneSignalSDK can be added to projects directly from Xcode #179. The SwiftPM setup guide can be found here

  • An XCFramework version of the SDK has been added to support Mac Catalyst for Swift Apps #636! Setup instructions can be found here

2.14.3 Release

30 Jun 19:41
09d6497
Compare
Choose a tag to compare

OSDevice class added, Fixed registerForRemoteNotifications, Fix IAM deadlock, Match Android OSInAppMessageAction

  • OSDevice class added for easy access to device attributes
    • i.e. userId, pushToken, emailUserId, email, etc.
  • registerForRemoteNotifications called from main thread
  • Fix IAM deadlock
    • Fix deadlock on launch for duration based IAM triggers
  • Match Android OSInAppMessageAction
    • OSInAppMessageAction now has a jsonRepresentation method and one source of truth, #1012

2.14.2 Release

11 Jun 03:08
Compare
Choose a tag to compare

Fixed IAM Direct Outcome Detection

  • Fixed issue where IAM could be counted as Direct when it should not. PR #688

2.14.1 Release

06 Jun 02:17
Compare
Choose a tag to compare

Fixed OSIndirectNotification error on SDK upgrade & switch to UIAlertController

  • Fixed app start crash related to OSIndirectNotification rename in 2.14.0. Fixes issue #680
  • Switched to AlertControllers from AlertViews for SwiftUI compatibility. PR #683

2.14.0 Release

30 May 00:56
b19c2f9
Compare
Choose a tag to compare

Permission Prompt Improvements, File Type Detection Improvements, External User Id Fix, IAM Outcome Tracking

  • Permission Prompt Improvements (Push and Location)
    • Detects when permission not added on preview IAMs
    • Add settings prompt when after the user has denied first prompt
  • File Type Detection Improvements
    • Improved source of truth for push notification attachment file type detection. PR #670
  • External User Id Fix
    • Setting external user id sometimes got stuck in a state where dashboard had old or no external user id set, but the SDK log informed it had already been set
  • IAM Outcome Tracking
    • SDK now tracks Push Notifications and In-App Messages in regard to outcomes

2.13.1 Release

02 Apr 22:53
ddf63b2
Compare
Choose a tag to compare

OneSignal Header Needed Updating, In-App Messaging Supports SwiftUI UIScene

  • iOS Native 2.13.0 Framework Needed Updated OneSignal.h
  • In-App Messaging Supports SwiftUI UIScene class

2.13.0 Release

24 Mar 05:04
fc2d635
Compare
Choose a tag to compare

In-App Messaging Improvements, Added External User Id Update Callback, API URL Changed, Minor Bug Fixes

  • In-App Messaging Improvements: Redisplaying with a limit and delay, Adding and removing tags, sending outcomes, and permission prompts
    • Redisplay params now expected (has defaults) in parser
    • Adding and removing tags w/ element click
    • Sending outcomes w/ element click
    • Showing permission prompts for location and push w/ element click
  • Set and remove external user id now have completion callback
    • Callback for completion added to verify the status of the set or remove of an external user id (push & email)
  • Changed internal API call from onesignal.com to api.onesignal.com
    • Fixes blocked in Egypt issues #855, #919

2.12.6 Release

31 Jan 23:20
baf0a85
Compare
Choose a tag to compare

Minor Bug Fixes

  • Moved some init code before initDone check so it runs these things every time init is called
    • Wrapper SDKs call init twice, so when initDone was added it harmed some wrapper SDKs

2.12.5 Release

17 Jan 00:23
145372a
Compare
Choose a tag to compare

Minor Bug Fixes

  • Cold Start Subscription Fix #596

    • Needed better differentiation between TO and FROM states of OneSignalCommonDefines keys when saving and getting
  • Wrapper(s) Second Init Not Pulling iOS Params Fix #593

    • iOS remote params couldn't be pulled and caused SDK to use the default values assigned
  • SetLocationShared Changes #533

    • Now setLocationShared:false clears last location in the SDK
    • Extra VERBOSE logging added to track the state location checks for better insight
  • Notification Action Buttons Not Displaying Fix #430

    • Forced a refresh on the internal list of list categories so that the action buttons will be added to the notification as well
  • IAM Pause Check Change

    • IAMs accumulate in the queue, but prevent the SDK from showing any IAMs from the queue until in app messaging is enabled again

2.12.4 Release

16 Jan 01:50
Compare
Choose a tag to compare

Crash From Null Param & Minor Bug Fixes

  • Crash From Null Param #590
    • NSMutableArray addObject method called with a null NSString param caused a crash
    • These notifications appearing with null/empty ids are most likely not OneSignal notifications, but handling was implemented to ignore these now and also clean any existing cached ones