Skip to content

Commit f5e7440

Browse files
[MOBILE-1818] Release React Native 8.1.0 (#294)
1 parent 21e91b8 commit f5e7440

File tree

20 files changed

+70
-60
lines changed

20 files changed

+70
-60
lines changed

CHANGELOG.md

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

3+
## Version 8.1.0 - August 17, 2020
4+
Minor release adding a `removeAllListeners` method, fixing a bug preventing the the location module from loading on android, and bundling the following SDK updates:
5+
6+
### iOS (Updated iOS SDK from 13.5.1 to 13.5.4)
7+
- Addresses [Dynamic Type](https://developer.apple.com/documentation/uikit/uifont/scaling_fonts_automatically) build warnings and Message Center Inbox UI issues.
8+
- Fixes a crash with Accengage data migration.
9+
- Improves iOS 14 support and fixes In-App Automation issues.
10+
For more details, see the [iOS CHANGELOG](https://github.com/urbanairship/ios-library/blob/13.5.4/CHANGELOG.md).
11+
12+
### Android (Updated Android SDK from 13.3.0 to 13.3.2)
13+
- Fixes In-App Automation version triggers to only fire on app updates instead of new installs.
14+
- Fixes ADM registration exceptions that occur on first run and text alignment issues with In-App Automation.
15+
For more details, see the [Android CHANGELOG](https://github.com/urbanairship/android-library/blob/13.3.2/CHANGELOG.md).
16+
317
## Version 8.0.1 - July 16, 2020
418
Patch release to fix package generation, common gradle file references and the example app.
519

@@ -11,7 +25,7 @@ Patch release to fix package generation, common gradle file references and the e
1125
Major release rewritten in TypeScript and adding separate modules for location,
1226
HMS and Accengage features
1327

14-
- Added urbanairship-location-react-native module
28+
- Added urbanairship-location-react-native module (iOS integration no longer needs AirshipLocationKit for location services.)
1529
- Added urbanairship-hms-react-native module
1630
- Added urbanairship-accengage-react-native module
1731
- Added full TypeScript coverage

example/README.md

+18-6
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,23 @@ A basic sample application that integrates the Airship React Native module.
66

77
1) Install modules: Run `npm install` in repository root
88

9-
2) Create airship config files:
10-
- iOS: example/ios/AirshipConfig.plist
11-
- Android: example/android/app/src/main/assets/airshipconfig.properties
9+
### iOS
1210

13-
3) Install pods on iOS
14-
- Cocoapods: Run `pod install` in `example/ios`
11+
1) Run `pod install` in `example/ios`
12+
13+
2) Create the `AirshipConfig.plist` file in `example/ios`
14+
15+
3) Start the webserver in the top-level directory by running `yarn start`
16+
17+
4) Build and run the sample in the `example` directory: `yarn run:ios`
18+
19+
### Android
20+
21+
1) Create the `airshipconfig.properties` file in `example/android/app/src/main/assets`
22+
23+
2) If using FCM, add your `google-services.json` file in `example/android/app`
24+
25+
3) Start the webserver in the top-level directory by running `yarn start`
26+
27+
4) Build and run the sample in the `example` directory: `yarn run:android`
1528

16-

example/ios/Podfile.lock

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
PODS:
2-
- Airship (13.5.1):
3-
- Airship/Automation (= 13.5.1)
4-
- Airship/Core (= 13.5.1)
5-
- Airship/ExtendedActions (= 13.5.1)
6-
- Airship/MessageCenter (= 13.5.1)
7-
- Airship/Accengage (13.5.1):
2+
- Airship (13.5.4):
3+
- Airship/Automation (= 13.5.4)
4+
- Airship/Core (= 13.5.4)
5+
- Airship/ExtendedActions (= 13.5.4)
6+
- Airship/MessageCenter (= 13.5.4)
7+
- Airship/Accengage (13.5.4):
88
- Airship/Core
9-
- Airship/Automation (13.5.1):
9+
- Airship/Automation (13.5.4):
1010
- Airship/Core
11-
- Airship/Core (13.5.1)
12-
- Airship/ExtendedActions (13.5.1):
11+
- Airship/Core (13.5.4)
12+
- Airship/ExtendedActions (13.5.4):
1313
- Airship/Core
14-
- Airship/Location (13.5.1):
14+
- Airship/Location (13.5.4):
1515
- Airship/Core
16-
- Airship/MessageCenter (13.5.1):
16+
- Airship/MessageCenter (13.5.4):
1717
- Airship/Core
1818
- AirshipExtensions/NotificationService (13.5.1)
1919
- boost-for-react-native (1.63.0)
@@ -244,14 +244,14 @@ PODS:
244244
- React
245245
- RNScreens (2.8.0):
246246
- React
247-
- urbanairship-accengage-react-native (8.0.1):
248-
- Airship/Accengage (= 13.5.1)
247+
- urbanairship-accengage-react-native (8.1.0):
248+
- Airship/Accengage (= 13.5.4)
249249
- React
250-
- urbanairship-location-react-native (8.0.1):
251-
- Airship/Location (= 13.5.1)
250+
- urbanairship-location-react-native (8.1.0):
251+
- Airship/Location (= 13.5.4)
252252
- React
253-
- urbanairship-react-native (8.0.1):
254-
- Airship (= 13.5.1)
253+
- urbanairship-react-native (8.1.0):
254+
- Airship (= 13.5.4)
255255
- React
256256
- Yoga (1.14.0)
257257

@@ -368,7 +368,7 @@ EXTERNAL SOURCES:
368368
:path: "../../node_modules/react-native/ReactCommon/yoga"
369369

370370
SPEC CHECKSUMS:
371-
Airship: 644bb975feaf98f439462350fcbc2c6b68a86bf0
371+
Airship: cbbd372a4ffc8dcfeacec01fd623155ec41f33ed
372372
AirshipExtensions: c55fa7b9d471a678d1704e6f9fe29f6e7d9fe1a7
373373
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
374374
DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
@@ -400,9 +400,9 @@ SPEC CHECKSUMS:
400400
RNGestureHandler: 8f09cd560f8d533eb36da5a6c5a843af9f056b38
401401
RNReanimated: b5ccb50650ba06f6e749c7c329a1bc3ae0c88b43
402402
RNScreens: 62211832af51e0aebcf6e8c36bcf7dd65592f244
403-
urbanairship-accengage-react-native: ad5fb9a8b6946673621c7e903782103717afed26
404-
urbanairship-location-react-native: fe50c8a3fedd9d8c9b31e92b732b2554dd21602f
405-
urbanairship-react-native: c34e32972016008653970b9fcca0de852cfb9bfa
403+
urbanairship-accengage-react-native: b1c8561d1dd089fa0437946f0c5ae939b591e57b
404+
urbanairship-location-react-native: 46e27ae6355411267a3d7fd0cf3873ea1c037b70
405+
urbanairship-react-native: 87a82abfbc182a854f66eb7fd25198ce62e95a54
406406
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b
407407

408408
PODFILE CHECKSUM: 3b1e496b3d7771c6b9bf243d65fe1c555613c117

urbanairship-accengage-react-native/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
33
import groovy.json.JsonSlurper
44

55
ext {
6-
airshipVersion = "13.3.0"
6+
airshipVersion = "13.3.2"
77
}
88

99
android {

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 = @"8.0.1";
5+
NSString *const moduleVersionString = @"8.1.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": "8.0.1",
3+
"version": "8.1.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"
19-
s.dependency "Airship/Accengage", "13.5.1"
19+
s.dependency "Airship/Accengage", "13.5.4"
2020

2121
end
2222

urbanairship-hms-react-native/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
33
import groovy.json.JsonSlurper
44

55
ext {
6-
airshipVersion = "13.3.0"
6+
airshipVersion = "13.3.2"
77
}
88

99
android {

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": "8.0.1",
3+
"version": "8.1.0",
44
"description": "Airship HMS module for React Native apps.",
55
"author": "Airship",
66
"homepage": "https://github.com/urbanairship/react-native-module",

urbanairship-location-react-native/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
33
import groovy.json.JsonSlurper
44

55
ext {
6-
airshipVersion = "13.3.0"
6+
airshipVersion = "13.3.2"
77
}
88

99
android {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public AirshipLocationReactModule(ReactApplicationContext reactContext) {
2525

2626
@Override
2727
public String getName() {
28-
return "AirshipLocation";
28+
return "AirshipLocationReactModule";
2929
}
3030

3131
/**

urbanairship-location-react-native/ios/AirshipLocationReactModuleVersion.m

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

33
#import "AirshipLocationReactModuleVersion.h"
44

5-
NSString *const airshipLocationModuleVersionString = @"8.0.1";
5+
NSString *const airshipLocationModuleVersionString = @"8.1.0";
66

77
@implementation AirshipLocationReactModuleVersion
88

urbanairship-location-react-native/js/AirshipLocation.ts

-16
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ export class AirshipLocation {
1616
/**
1717
* Enables or disables Urban Airship location services.
1818
*
19-
* Note: On iOS, location services require an additional dependency
20-
* on AirshipLocationKit. For more information see
21-
* https://docs.airship.com/platform/react-native/location/
22-
*
2319
* @param enabled true to enable location, false to disable.
2420
*/
2521
static setLocationEnabled(enabled: boolean) {
@@ -29,10 +25,6 @@ export class AirshipLocation {
2925
/**
3026
* Allows or disallows location services to continue in the background.
3127
*
32-
* Note: On iOS, location services require an additional dependency
33-
* on AirshipLocationKit. For more information see
34-
* https://docs.airship.com/platform/react-native/location/
35-
*
3628
* @param allowed true to allow background location, false to disallow.
3729
*/
3830
static setBackgroundLocationAllowed(allowed: boolean) {
@@ -42,10 +34,6 @@ export class AirshipLocation {
4234
/**
4335
* Checks if location is enabled or not.
4436
*
45-
* Note: On iOS, location services require an additional dependency
46-
* on AirshipLocationKit. For more information see
47-
* https://docs.airship.com/platform/react-native/location/
48-
*
4937
* @return A promise with the result.
5038
*/
5139
static isLocationEnabled(): Promise<boolean> {
@@ -55,10 +43,6 @@ export class AirshipLocation {
5543
/**
5644
* Checks if background location is allowed or not.
5745
*
58-
* Note: On iOS, location services require an additional dependency
59-
* on AirshipLocationKit. For more information see
60-
* https://docs.airship.com/platform/react-native/location/
61-
*
6246
* @return A promise with the result.
6347
*/
6448
static isBackgroundLocationAllowed(): Promise<boolean> {

urbanairship-location-react-native/package.json

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

urbanairship-location-react-native/urbanairship-location-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"
19-
s.dependency "Airship/Location", "13.5.1"
19+
s.dependency "Airship/Location", "13.5.4"
2020

2121
end
2222

urbanairship-react-native/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
33
import groovy.json.JsonSlurper
44

55
ext {
6-
airshipVersion = "13.3.0"
6+
airshipVersion = "13.3.2"
77
}
88

99
android {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#import "UARCTModuleVersion.h"
88

99
NSString *const UARCTPresentationOptionsStorageKey = @"com.urbanairship.presentation_options";
10-
NSString *const UARCTAirshipRecommendedVersion = @"13.5.0";
10+
NSString *const UARCTAirshipRecommendedVersion = @"13.5.4";
1111

1212
@implementation UARCTAutopilot
1313

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 = @"8.0.1";
7+
NSString *const airshipModuleVersionString = @"8.1.0";
88

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

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": "8.0.1",
3+
"version": "8.1.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
@@ -14,6 +14,6 @@ require "json"
1414
s.source = { :git => "https://github.com/urbanairship/react-native-module.git", :tag => "{s.version}" }
1515
s.source_files = "ios/**/*.{h,m}"
1616
s.dependency "React"
17-
s.dependency "Airship", "13.5.1"
17+
s.dependency "Airship", "13.5.4"
1818

1919
end

0 commit comments

Comments
 (0)