Skip to content

Commit 7990182

Browse files
authored
Merge pull request #472 from urbanairship/release-14.5.2
Release 14.6.0
2 parents a5efdee + 9b3165d commit 7990182

File tree

16 files changed

+74
-35
lines changed

16 files changed

+74
-35
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# React Native Module Changelog
22

3+
## Version 14.6.0 - December 5, 2022
4+
Minor release that updates the iOS SDK to 16.10.6 and add support
5+
for isChannelCaptureEnabled and suppressAllowListError in the config for takeOff.
6+
7+
### Changes
8+
- Updated iOS SDK to 16.10.6
9+
- Add support for **isChannelCaptureEnabled** and **suppressAllowListError** in the config for takeOff.
10+
11+
312
## Version 14.5.1 - November 17, 2022
413
Patch release that updates the iOS SDK to 16.10.3.
514

example/ios/Podfile.lock

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
PODS:
2-
- Airship (16.10.3):
3-
- Airship/Automation (= 16.10.3)
4-
- Airship/Basement (= 16.10.3)
5-
- Airship/Core (= 16.10.3)
6-
- Airship/ExtendedActions (= 16.10.3)
7-
- Airship/MessageCenter (= 16.10.3)
8-
- Airship/Accengage (16.10.3):
2+
- Airship (16.10.6):
3+
- Airship/Automation (= 16.10.6)
4+
- Airship/Basement (= 16.10.6)
5+
- Airship/Core (= 16.10.6)
6+
- Airship/ExtendedActions (= 16.10.6)
7+
- Airship/MessageCenter (= 16.10.6)
8+
- Airship/Accengage (16.10.6):
99
- Airship/Core
10-
- Airship/Automation (16.10.3):
10+
- Airship/Automation (16.10.6):
1111
- Airship/Core
12-
- Airship/Basement (16.10.3)
13-
- Airship/Core (16.10.3):
12+
- Airship/Basement (16.10.6)
13+
- Airship/Core (16.10.6):
1414
- Airship/Basement
15-
- Airship/ExtendedActions (16.10.3):
15+
- Airship/ExtendedActions (16.10.6):
1616
- Airship/Core
17-
- Airship/MessageCenter (16.10.3):
17+
- Airship/MessageCenter (16.10.6):
1818
- Airship/Core
19-
- Airship/PreferenceCenter (16.10.3):
19+
- Airship/PreferenceCenter (16.10.6):
2020
- Airship/Core
2121
- AirshipServiceExtension (16.6.0)
2222
- boost-for-react-native (1.63.0)
@@ -297,15 +297,15 @@ PODS:
297297
- React-Core
298298
- RNScreens (2.18.1):
299299
- React-Core
300-
- urbanairship-accengage-react-native (14.5.1):
301-
- Airship/Accengage (= 16.10.3)
300+
- urbanairship-accengage-react-native (14.6.0):
301+
- Airship/Accengage (= 16.10.6)
302302
- React-Core
303-
- urbanairship-preference-center-react-native (14.5.1):
304-
- Airship/PreferenceCenter (= 16.10.3)
303+
- urbanairship-preference-center-react-native (14.6.0):
304+
- Airship/PreferenceCenter (= 16.10.6)
305305
- React-Core
306306
- urbanairship-react-native
307-
- urbanairship-react-native (14.5.1):
308-
- Airship (= 16.10.3)
307+
- urbanairship-react-native (14.6.0):
308+
- Airship (= 16.10.6)
309309
- React-Core
310310
- Yoga (1.14.0)
311311

@@ -431,12 +431,12 @@ EXTERNAL SOURCES:
431431
:path: "../../node_modules/react-native/ReactCommon/yoga"
432432

433433
SPEC CHECKSUMS:
434-
Airship: dfdb00e0447c3773f75c817e3c740716c79bdc50
434+
Airship: 6b7e5c339ac7aa2d37bbbc47e068e8c58231d91a
435435
AirshipServiceExtension: 36efe25642746cc030844116d59fb366b26da76f
436436
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
437437
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
438438
FBLazyVector: 49cbe4b43e445b06bf29199b6ad2057649e4c8f5
439-
FBReactNativeSpec: 58cfc0f9b7f9454a6308e786859e74cdec2d7965
439+
FBReactNativeSpec: ed16f4b06fec0c4cb807fd757b3f72d61aa7bbf7
440440
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
441441
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
442442
RCTRequired: 2f8cb5b7533219bf4218a045f92768129cf7050a
@@ -466,9 +466,9 @@ SPEC CHECKSUMS:
466466
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
467467
RNReanimated: c1b56d030d1616239861534d9adb531f8cffab68
468468
RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8d
469-
urbanairship-accengage-react-native: e451e798cefd103f35bc8aa0a954fc88f26ea682
470-
urbanairship-preference-center-react-native: 5feb8e0801bb466e3709f3fcf74f536a3f9ccd75
471-
urbanairship-react-native: 3e79dec940d55527df9e1d9cd06328a5f9fd6a2d
469+
urbanairship-accengage-react-native: c4ac212fdca0c87ab95eb96cf0e513c3026e5c1c
470+
urbanairship-preference-center-react-native: 2154fbdd029ec39e045de4bf1a9fef6b217791e7
471+
urbanairship-react-native: 3787691b674f7176e95d9afa08d25d6d2a3e9c52
472472
Yoga: 8c8436d4171c87504c648ae23b1d81242bdf3bbf
473473

474474
PODFILE CHECKSUM: 0ac33f74cca01098af99ab55a29cc63c7ef373f6

urbanairship-accengage-react-native/ios/AirshipAccengageReactModuleVersion.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#import "AirshipAccengageReactModuleVersion.h"
44

5-
NSString *const moduleVersionString = @"14.5.1";
5+
NSString *const moduleVersionString = @"14.6.0";
66

77
@implementation AirshipAccengageReactModuleVersion
88

urbanairship-accengage-react-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "urbanairship-accengage-react-native",
3-
"version": "14.5.1",
3+
"version": "14.6.0",
44
"description": "Airship accengage module for React Native apps.",
55
"author": "Airship",
66
"homepage": "https://github.com/urbanairship/react-native-module",

urbanairship-accengage-react-native/urbanairship-accengage-react-native.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.requires_arc = true
1717

1818
s.dependency "React-Core"
19-
s.dependency "Airship/Accengage", "16.10.3"
19+
s.dependency "Airship/Accengage", "16.10.6"
2020

2121
end
2222

urbanairship-chat-react-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "urbanairship-chat-react-native",
3-
"version": "14.5.1",
3+
"version": "14.6.0",
44
"description": "Airship chat module for React Native apps.",
55
"author": "Airship",
66
"homepage": "https://github.com/urbanairship/react-native-module",

urbanairship-chat-react-native/urbanairship-chat-react-native.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.requires_arc = true
1717

1818
s.dependency "React-Core"
19-
s.dependency "Airship/Chat", "16.10.3"
19+
s.dependency "Airship/Chat", "16.10.6"
2020
s.dependency "urbanairship-react-native"
2121
end
2222

urbanairship-hms-react-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "urbanairship-hms-react-native",
3-
"version": "14.5.1",
3+
"version": "14.6.0",
44
"description": "Airship HMS module for React Native apps.",
55
"author": "Airship",
66
"homepage": "https://github.com/urbanairship/react-native-module",

urbanairship-preference-center-react-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "urbanairship-preference-center-react-native",
3-
"version": "14.5.1",
3+
"version": "14.6.0",
44
"description": "Airship preference center module for React Native apps.",
55
"author": "Airship",
66
"homepage": "https://github.com/urbanairship/react-native-module",

urbanairship-preference-center-react-native/urbanairship-preference-center-react-native.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Pod::Spec.new do |s|
1717
s.requires_arc = true
1818

1919
s.dependency "React-Core"
20-
s.dependency "Airship/PreferenceCenter", "16.10.3"
20+
s.dependency "Airship/PreferenceCenter", "16.10.6"
2121
s.dependency "urbanairship-react-native"
2222
end

urbanairship-react-native/android/src/main/java/com/urbanairship/reactnative/ReactAutopilot.java

+8
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,14 @@ private AirshipConfigOptions loadConfig(@NonNull Context context) {
294294
builder.setInProduction(config.opt("inProduction").getBoolean(false));
295295
}
296296

297+
if (config.containsKey("isChannelCaptureEnabled")) {
298+
builder.setChannelCaptureEnabled(config.opt("isChannelCaptureEnabled").getBoolean(true));
299+
}
300+
301+
if (config.containsKey("suppressAllowListError")) {
302+
builder.setSuppressAllowListError(config.opt("suppressAllowListError").getBoolean(false));
303+
}
304+
297305
if (config.containsKey("isChannelCreationDelayEnabled")) {
298306
builder.setChannelCreationDelayEnabled(config.opt("isChannelCreationDelayEnabled").getBoolean(false));
299307
}

urbanairship-react-native/ios/UARCTModule/UARCTAutopilot.m

+10
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,16 @@ + (UAConfig *)config {
135135
config.URLAllowListScopeJavaScriptInterface = allowListJS;
136136
}
137137

138+
// Channel capture
139+
if (storedConfig[@"isChannelCaptureEnabled"]) {
140+
config.isChannelCaptureEnabled = [storedConfig[@"isChannelCaptureEnabled"] boolValue];
141+
}
142+
143+
// Channel capture
144+
if (storedConfig[@"suppressAllowListError"]) {
145+
config.suppressAllowListError = [storedConfig[@"suppressAllowListError"] boolValue];
146+
}
147+
138148
// Channel creation delay
139149
if (storedConfig[@"isChannelCreationDelayEnabled"]) {
140150
config.isChannelCreationDelayEnabled = [storedConfig[@"isChannelCreationDelayEnabled"] boolValue];

urbanairship-react-native/ios/UARCTModule/UARCTModuleVersion.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@implementation UARCTModuleVersion
66

7-
NSString *const airshipModuleVersionString = @"14.5.1";
7+
NSString *const airshipModuleVersionString = @"14.6.0";
88

99
+ (nonnull NSString *)get {
1010
return airshipModuleVersionString;

urbanairship-react-native/js/UrbanAirship.ts

+12
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,18 @@ export interface AirshipConfig {
244244
*/
245245
urlAllowListScopeJavaScriptInterface?: string[],
246246

247+
/**
248+
* Enables channel capture feature.
249+
* This config is enabled by default.
250+
*/
251+
isChannelCaptureEnabled?: boolean
252+
253+
/**
254+
* Whether to suppress console error messages about missing allow list entries during takeOff.
255+
* This config is disabled by default.
256+
*/
257+
suppressAllowListError?: boolean
258+
247259
/**
248260
* Enables delayed channel creation.
249261
*/

urbanairship-react-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "urbanairship-react-native",
3-
"version": "14.5.1",
3+
"version": "14.6.0",
44
"description": "Airship plugin for React Native apps.",
55
"author": "Airship",
66
"homepage": "https://github.com/urbanairship/react-native-module",

urbanairship-react-native/urbanairship-react-native.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ require "json"
1313
s.source = { :git => "https://github.com/urbanairship/react-native-module.git", :tag => "{s.version}" }
1414
s.source_files = "ios/**/*.{h,m}"
1515
s.dependency "React-Core"
16-
s.dependency "Airship", "16.10.3"
16+
s.dependency "Airship", "16.10.6"
1717
end

0 commit comments

Comments
 (0)