Skip to content

Releases: blueshift-labs/Blueshift-iOS-SDK

2.0.0

17 Oct 09:39
Compare
Choose a tag to compare

In-app messaging is here! 🎉

1.0.2

14 Oct 09:06
1596bfb
Compare
Choose a tag to compare
  • Fixed the crashing issue while calling a user events track.
  • Code Cleanup.

1.0.1

17 Sep 02:25
Compare
Choose a tag to compare
  • iOS 13 specific changes : Change the method of fetching the device token.
  • Code Cleanup

1.0.0

21 Jun 09:26
Compare
Choose a tag to compare
  • Change the payload key bsft_transactional_uuid instead of bsft_transaction_uuid
  • Namespace Reachability to avoid duplicate symbol errors
  • Advertising identifier(IDFA) fetching removed

0.4.2

22 May 08:52
Compare
Choose a tag to compare
  • Change the acceptance reference of BlueShiftPushDelegate configuration during the initialization if the notification callback.
  • BlueShiftPushDelegate is a separate class other than AppDelegate

0.4.1

22 Nov 09:39
Compare
Choose a tag to compare

Bug fixes

0.4.0

16 Nov 10:36
Compare
Choose a tag to compare

Xcode 10 issue fixed.

0.3.9

17 Oct 10:17
Compare
Choose a tag to compare

Memory leak issue fixed.

0.3.8

17 Aug 12:37
Compare
Choose a tag to compare
  • Carousel notification UI now supports title and subtitle.

  • To know users preference for the push notification, new NSNotification is created. Usage is given below:

To add observer to the notification after requesting the user for push notification:

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveNotification:) name:[[[BlueShift sharedInstance] config] blueShiftNotificationName] object:nil];

Note: This should be executed only after initialising the Blueshift config in the app delegate.

To implement the notification, and then remove the observer:

  • (void) receiveNotification:(NSNotification *) notification {

    NSDictionary *userInfo = notification.userInfo;

    NSNumber *numObj = [userInfo objectForKey:[[[BlueShift sharedInstance] config] isEnabledPushNotificationKey]];

    if ([numObj boolValue]){

      printf("Permission given");
    

    }else {

      printf("Permission denied");
    

    }

    [[NSNotificationCenter defaultCenter] removeObserver:self name:[[[BlueShift sharedInstance] config] blueShiftNotificationName] object:nil];

}

Note: This notification is also triggered every app launch after the user is asked for permission and can be used to know the status of push notification permission status every app launch.

0.3.7

10 Apr 11:47
Compare
Choose a tag to compare

SDK Introducing UNUserNotificationCenter for handling iOS 10+ push notifications.