React Native Changelog

The latest updates to the Airship React Native module

14.6.0 December 5, 2022

Minor release that updates the iOS SDK to 16.10.6 and add support for isChannelCaptureEnabled and suppressAllowListError in the config for takeOff.

Changes

  • Updated iOS SDK to 16.10.6
  • Add support for isChannelCaptureEnabled and suppressAllowListError in the config for takeOff.

14.5.1 November 18, 2022

Patch release that updates the iOS SDK to 16.10.3.

Changes

  • Updated iOS SDK to 16.10.3

14.5.0 November 4, 2022

Minor release that adds support for custom Airship URLs and fixes conflicts with common key chain plugins.

Changes

  • Updated iOS SDK to 16.10.1
  • Updated Android SDK to 16.8.0
  • Added support for custom domains
  • Deprecated requireInitialRemoteConfigEnabled. This config is now enabled by default
  • Fixed OOTB Message Center deep linking issue on first launch

14.4.4 October 7, 2022

Patch release that adds support for setting the IAA message display interval.

  • Add UrbanAirship.setInAppAutomationDisplayInterval() method
  • Updated Airship Android SDK to 16.7.5
  • Updated Airship iOS SDK to 16.9.4

14.4.3 September 9, 2022

Patch release that fixes an IAA banner issue and potential crashes on Android due to Message Center database migrations.

Changes

  • Fixed channel ID in channel registration event.
  • Updated Airship Android SDK to 16.7.2
  • Updated Airship iOS SDK to 16.9.3

14.4.2 September 2, 2022

Patch release that fixes iOS notification actions on a cold launch. Applications running 14.1.0 or newer should update.

Changes

  • Add launch method to set up Airship before application:didFinishLaunching: finishes
  • Fixed type on authorizedStatus to be a string instead of an array
  • Updated Airship Android SDK to 16.7.1
  • Updated Airship iOS SDK to 16.9.2

14.4.1 July 21, 2022

Patch release that fixes a crash on message center with poor connection.

14.4.0 July 14, 2022

Minor release that updates the Airship SDKs.

Changes

  • Updated iOS SDK to 16.8.0
  • Updated Android SDK to 16.6.1

14.3.1 June 21, 2022

Patch release that fixes a crash on preferences. Also exposes unread inbox messages count.

14.3.0 May 4, 2022

Minor release that updates Airship Android SDK to 16.4.0, and iOS SDK to 16.6.0. These SDK releases fix several issues with Scenes and Surveys. Apps using Scenes & Surveys should update.

  • Added support for randomizing Survey responses.
  • Added subscription list action.
  • Updated localizations. All strings within the SDK are now localized in 48 different languages.
  • Improved accessibility with OOTB Message Center UI.
  • In-App rules will now attempt to refresh before displaying. This change should reduce the chances of showing out of data or cancelled in-app automations, scenes, or surveys when background refresh is disabled.
  • Fixed reporting issue with a single page Scene.
  • Fixed rendering issues for Scenes & Surveys.
  • Fixed deep links that contain invalid characters by encoding those deep links.
  • Fixed crash on Android 8 with Scenes & Surveys.
  • Fixed Survey attribute storage on Android.

14.2.1 April 26, 2022

Patch release that fixes a bug with notification response callback.

14.2.0 April 15, 2022

Minor release that updates the iOS SDK to 16.5.1 and fixes issues with getSubscriptionList method on Android.

Changes

  • Updated iOS SDK to 16.5.1
  • Fixed setting multiple listeners on iOS if the plugin is created multiple times.
  • Fixed getSubscriptionList method on Android.

14.1.0 March 16, 2022

Minor release that makes it possible to call takeOff from ReactNative.

Changes

  • Added takeOff and isFlying methods
  • Takeoff is now optional
  • Added appcompat and lifecycle dependencies to the module

14.0.0 March 7, 2022

Major release that adds support for multi-channel Preference Center.

Changes

  • Updated iOS SDK to 16.4.0
  • Updated Android SDK to 16.3.3
  • Deprecated named user tag and attribute methods in favor of contact based ones
  • Added scoped subscription lists to modify a subscription list on a contact
  • Breaking Change: Updated AirshipPreferenceCenter.getConfiguration(identifier) to return the full config from Airship

13.2.1 February 10, 2022

Patch release that fixes a crash on Android due to the React Native use of androidx.appcompat:appcompat library.

Changes

  • Fixes a crash due to the React Native use of androidx.appcompat:appcompat library

13.2.0 February 9, 2022

Minor release that updates the Airship SDKs, adds some new methods and fixes some issues.

Changes

  • Updated iOS SDK to 16.2.0
  • Updated Android SDK to 16.2.0
  • Added a method getSubscriptionLists to get the subscription lists
  • Added a method setNotificationOptions to set the notification options for iOS
  • Added a method getNotificationStatus to get more context on the current state of notifications
  • Fixed iOS message center display when autoLaunchMessageCenter is set to false
  • Fixed the preference center config to return the items under the key items

13.1.1 January 6, 2022

Minor release that updates to latest Airship SDKs and fixes several issues.

Changes

  • Updated iOS SDK to 16.1.2
  • Updated Android SDK to 16.1.1
  • Add missing subscriptionId to the preference center configuration
  • Prevents a crash if takeOff fails

13.1.0 December 3, 2021

Minor release that updates to latest Airship SDKs and fixes several issues with the iOS module.

Changes

  • Updated iOS SDK to 16.1.1
  • Fixed Message Center navigation style on iOS 15
  • Fixed running actions from a notification action button
  • Fixed channel registration causing extra attribute operations in the RTDS stream

13.0.2 November 16, 2021

Minor release that updates to latest Airship SDKs and fixes several issues with the iOS module. Apps running 13.0.0-13.0.1 should update.

Changes

  • Updated iOS and Android SDK to 16.1.0
  • Fixed null deep link on iOS
  • Fixed iOS crash when sending a notification without a title or subtitle
  • Fixed Message Center message isDeleted flag on iOS

13.0.1 November 4, 2021

Patch release that fixes preferences resetting when upgrading to SDK 15/16. This update will restore old preferences that have not been modified in the new SDK version.

Apps that have migrated to 13.0.0 from an older version should update. Apps currently on version 12.1.0 and below should only migrate to 13.0.1 to avoid a bug in version 13.0.0.

Changes

  • Updated iOS SDK to 16.0.2

13.0.0 October 20, 2021

Major release to provide new features and include the latest iOS and Android SDKs. This version requires Xcode 13 for iOS and compileSdkVersion 31 and java 8 source compatibility for Android.

  • Added urbanairship-preference-center-react-native module.
  • Remove urbanairship-location-react-native module.
  • Added a sample preference center to the example app.
  • Support overriding locale.
  • Setup android:exported explicitly on all activities.
  • Updated iOS SDK to 16.0.1
  • Updated Android SDK to 16.0.0

12.1.0 October 18, 2021

Minor release adding opt-in changes.

  • Update the iOS method isUserNotificationsOptedIn to use the UAPush method.
  • Add the new method isSystemNotificationsEnabledForApp to check if the app notifications are enabled at a system level or not.
  • Add the new Android method getNotificationChannelStatus to get the status of the specified Notification Channel. The status can be: enabled, disabled, or unknown(if the channel id not created yet).

12.0.0 August 24, 2021

Major release that adds support for new privacy manager flags and the live chat module.

  • Updated iOS SDK to 14.6.1
  • Updated Android SDK to 14.6.0
  • Added missing messageId prop in the MessageView

11.0.2 June 23, 2021

Patch release updating the iOS and Android SDKs to 14.4.2 and 14.4.4 respectively.

  • Updated iOS SDK to 14.4.2
  • Updated Android SDK to 14.4.4

11.0.1 May 3, 2021

Patch release to fix NPE on Android when opening notifications. Any app using 11.0.0 should update.

  • Fixed NPE on Android.

11.0.0 March 26, 2021

Major release updating the iOS and Android SDKs to 14.3.0. This release contains small breaking changes to the event handling API, and also adds an extender to Android making it easier to modify the Airship instance during takeOff.

  • Updated iOS SDK to 14.3.0
  • Updated Android SDK to 14.3.0
  • PushReceived and background NotificationResponse events are now triggered in the background on Android. To maintain UI thread safety, apps should now clean up any listeners that might modify the UI during componentWillUnmount.
  • UrbanAirship.addListener now returns Subscription instead of EmitterSubscription
  • Added AirshipExtender to Android to make it easier to modify the Airship instance during takeOff

10.0.2 February 2, 2021

Patch release to fix some issues with setting attributes on a named user if the named user ID contains invalid URL characters. Applications using attributes with named users that possibly contain invalid URL characters should update.

  • Updated iOS SDK to 14.2.2
  • Fixed attributes updates when the named user has invalid URL characters.

10.0.1 December 30, 2020

Patch release to fix an issue where the Airship SDK is not initialized before calls are made to the module if calls are made before application:didFinishLaunching. Applications that use plugins such as react-native-splash-screen and make calls to Airship before the splash screen is dismissed should update.

  • Updated Android SDK to 14.1.1
  • Updated iOS SDK to 14.2.1
  • Ensure takeOff is called on iOS when the module is created

10.0.0 December 18, 2020

Major release that updates the iOS Airship SDK to 14.2.0 and the Android SDK to 14.1.0. Xcode 12 is required for this version.

Changes

  • Added better logging for default presentation options
  • Changed InboxMessage.extras type from Map<string, string> to Record<string, string>
  • Updated Android SDK to 14.1.0
  • Updated iOS SDK to 14.2.0
  • Fixed Xcode 12 compatibility
  • firebaseMessagingVersion requires version 21.0.0+

9.0.1 October 22, 2020

Patch release that updates the iOS and Android SDKs to 14.0.1, and fixes a bug impacting foreground noitification options on iOS.

  • Updated Android SDK to 14.0.1
  • Updated iOS SDK to 14.0.1
  • Fixed issue causing misinterpretation of iOS foreground notification options

9.0.0 September 21, 2020

Major release that updates Airship Android and iOS SDK to 14.0. Starting with SDK 14, all landing page and external urls are tested against a URL allow list. The easiest way to go back to 13.x behavior is to add the wildcard symbol * to the array under the URLAllowListScopeOpenURL key in your AirshipConfig.plist for iOS, and urlAllowListScopeOpenUrl = * to the airshipconfig.properties on Android. Config for whitelist has been removed and replaced with:

  • iOS: URLAllowList, Android: urlAllowList
  • iOS: URLAllowListScopeOpenURL, Android: urlAllowListScopeOpenUrl
  • iOS: URLAllowListScopeJavaScriptInterface, Android: urlAllowListScopeJavaScriptInterface

8.1.0 August 17, 2020

Minor release adding a removeAllListeners method, fixing a bug preventing the the location module from loading on android, and bundling the following SDK updates:

iOS (Updated iOS SDK from 13.5.1 to 13.5.4)

  • Addresses Dynamic Type build warnings and Message Center Inbox UI issues.
  • Fixes a crash with Accengage data migration.
  • Improves iOS 14 support and fixes In-App Automation issues. For more details, see the iOS CHANGELOG.

Android (Updated Android SDK from 13.3.0 to 13.3.2)

  • Fixes In-App Automation version triggers to only fire on app updates instead of new installs.
  • Fixes ADM registration exceptions that occur on first run and text alignment issues with In-App Automation. For more details, see the Android CHANGELOG.

8.0.1 July 17, 2020

Patch release to fix package generation, common gradle file references and the example app.

  • Fixed package generation
  • Fixed common gradle file references
  • Fixed example app

8.0.0 July 9, 2020

Major release rewritten in TypeScript and adding separate modules for location, HMS and Accengage features

  • Added urbanairship-location-react-native module
  • Added urbanairship-hms-react-native module
  • Added urbanairship-accengage-react-native module
  • Added full TypeScript coverage
  • Removed Flow
  • Updated iOS SDK to 13.5.0
  • Updated Android SDK to 13.2.1

7.0.0 May 28, 2020

Major release to provide new features and include the latest iOS and Android SDKs.

  • Added support for JSON properties on custom events.
  • Added support for date attributes.
  • Added support for named user attributes.
  • Added a sample message center screen to the example app.
  • Added missing Typescript definitions for new APIs.
  • Updated iOS SDK to 13.3.2
  • Updated Android SDK to 13.1.2

6.1.3 March 23, 2020

Patch addressing a regression in iOS SDK 13.1.0 causing channel tag loss when upgrading from iOS SDK versions prior to 13.0.1. Apps upgrading from react-native module version 5.0.1 or below should avoid plugin versions 6.1.0 through 6.1.2 in favor of version 6.1.3.

  • Updated iOS SDK to 13.1.1

6.1.2 March 12, 2020

Patch release to fix IAA Youtube video display on Android.

Changes

  • Updated Android SDK to 12.2.2

6.1.1 February 26, 2020

Patch release enabling monorepo project structure. Example app dependencies have been moved from the module’s package.json to the example app. These include:

  • react-native-gesture-handler
  • react-native-reanimated
  • react-native-screens
  • react-navigation
  • react-navigation-tabs

iOS and Android SDKs remain at 13.1.0 and 12.2.0, respectively.

6.1.0 February 22, 2020

  • Updated iOS SDK to 13.1.0
  • Updated Android SDK to 12.2.0
  • Added number attributes support for iOS and Android
  • Added data collection controls for iOS and Android
  • Added screen tracking for iOS and Android

Changes

  • Fixed npm configuration to include a required script.

6.0.1 January 3, 2020

Patch release to fix an issue causing a necessary script to be excluded from the npm package. Applications using 6.0.0 should update.

Changes

  • Fixed npm configuration to include a required script.

6.0.0 December 31, 2019

Major release to update iOS to modularized SDK 13.0.4, update Android SDK to 12.1.0, add cross-platform attribute support and modernize the Message Center Javascript and Typescript interfaces.

Changes

  • Updated iOS SDK to 13.0.4
  • Updated Android SDK to 12.1.0
  • Added attributes support
  • Updated Message Center interfaces to reflect the removal of overlay Message Center views

5.0.1 December 9, 2019

Patch release to fix a bug affecting loss of tags on iOS during app migration to plugin 5.0.0. This patch release fixes the bug by combining previous tags with tags that have been set since the update to 5.0.0. Applications using 5.0.0 should update.

Changes

  • Updated iOS SDK to 12.1.2

5.0.0 October 17, 2019

  • Updated iOS SDK to 12.0.0
  • Updated iOS minimum deployment target to 11.0

4.0.2 September 4, 2019

  • Updated Android SDK to 11.0.4.
  • Updated iOS SDK to 11.1.2.
  • Fixed display issues with UAMessageView.

3.2.2 September 4, 2019

  • Updated Android SDK to 10.1.2.
  • Fixed display issues with UAMessageView.

4.0.1 August 10, 2019

  • Updated Android SDK to 11.0.3.

3.2.1 August 10, 2019

  • Updated Android SDK to 10.1.1

4.0.0 August 2, 2019

  • Updated Android SDK to 11.0.2.
  • Requires ReactNative version to 0.6

3.2.0 August 1, 2019

  • Fixed isDeleted erroneously being set to true for iOS inbox messages.
  • Displaying an inbox message will now refresh the message listing if the inbox is out of date.
  • Added UAMessageView to display an inbox message within the React Native view.
  • Updated Android SDK to 10.1.0
  • Updated iOS SDK to 11.1.1

3.1.2 July 24, 2019

  • Fixed crash on iOS when calling displayMessage without the second optional parameter.
  • Fixed not marking a message as read on iOS when calling displayMessage in an overlay.

3.1.1 July 15, 2019

  • Fixed package including a .git directory in the release.

3.1.0 July 12, 2019

  • Added the ability to do delayed channel registration.
  • Added podspec for iOS cocoapod integration.

3.0.0 June 15, 2019

  • Updated iOS SDK to 11.0.0.
  • Updated Android SDK to 10.0.1.
  • iOS integration now requires AirshipLocationKit for location services.
  • Added ability to configure android notification options.

2.2.1 March 14, 2019

Fixed a security issue within Android Urban Airship SDK, that could allow trusted URL redirects in certain edge cases. All applications that are using urbanairship-react-native version 1.4.0 - 2.2.0 on Android should update as soon as possible. For more details, please email security@urbanairship.com.

2.2.0 December 7, 2018

  • Updated Android SDK to 9.6.0.
  • Android now requires compiling against API 28 (compileSdkVersion 28)
  • Firebase core and messaging dependency versions can be overridden with firebaseMessagingVersion and firebaseCoreVersion gradle properties.
  • Updated the sample to use latest React Native.

2.1.3 November 20, 2018

  • Updated Android SDK to 9.5.6.

2.1.2 November 14, 2018

  • Updated Android SDK to 9.5.5.
  • Updated iOS SDK to 10.0.3.

2.0.3 October 2, 2018

  • Fixed iOS pending event (backported from 2.1.0).
  • Updated Android SDK to 9.5.2.

2.1.1 October 2, 2018

  • Reverted Android firebase-core dependency back to 16.0.1 to avoid bug in 16.0.3.

2.1.0 September 21, 2018

  • Added support for enabling notifications with a resulting promise.
  • Fixed iOS event addition bug.
  • Updated Android SDK to 9.5.2.
  • Updated iOS SDK to 10.0.0.

2.0.2 September 5, 2018

  • Fixed Android pending events.
  • Updated Android SDK to 9.5.0.
  • Updated recommmended iOS SDK to 9.4.0.
  • Updated header search paths for ExpoKit.

2.0.1 July 30, 2018

  • Fixed firebase-core dependency (now 16.0.1)

2.0.0 July 27, 2018

  • Added support for authorized notification settings on iOS
  • Android SDK now defaults to FCM, and depends on firebase-core
  • Updated iOS SDK to 9.3.3
  • Update Android SDK to 9.4.1

1.6.2 April 20, 2018

  • Remove use of AsyncTaskCompat to be compatible with Android Support Library 27

1.6.1 April 11, 2018

  • Fixed search paths for Carthage build
  • Updated Urban Airship Android SDK to 9.0.6
  • Updated Urban Airship iOS SDK to 9.0.5
  • Removed android:theme from CustomMessageCenterActivity and CustomMessageActivity, so developers can customize the Message Center.

1.6.0 April 3, 2018

  • Updated Urban Airship Android SDK to 9.0.3
  • Added method to disable the iOS plugin integration at runtime

1.5.0 March 6, 2018

  • Updated Urban Airship iOS SDK to 9.0.3
  • Updated Urban Airship Android SDK to 9.0.2
  • Added method to get the current registration token
  • Added show inbox event when disabling the default message center
  • Allow clearing named user with an empty string

1.4.0 February 8, 2018

  • Updated Urban Airship iOS SDK to 9.0.1
  • Updated Urban Airship Android SDK to 9.0.0

1.3.2 January 29, 2018

  • Fixed a bug in Android that caused delayed event emission.