Skip to content

Commit 218bfe9

Browse files
crowcrow
andauthored
Release 17.2.0 (#549)
* CHANGELOG * Run version update script * Update Android and iOS to latest airship framework proxy * Add tip to example README * Migrate from react-native 0.71.1 to 0.73.4 * Get examples running * Update CHANGELOG date * Update ci.yml Update Xcode and print cocoapods version * Update gemfile * Try avoiding pod-install npm package * Update node version * Try pod install in ci script * Try explicitly installing cocoapods 1.15.2 and ruby 3.0.1 * Update ci.yml to run ios first * Update java version in ci.yml --------- Co-authored-by: crow <[email protected]>
1 parent 8e42c11 commit 218bfe9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+18475
-30199
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,22 @@ jobs:
77
runs-on: macos-13-xlarge
88
steps:
99
- uses: actions/checkout@v4
10-
- name: Set up JDK 11
10+
- name: Set up JDK 17
1111
uses: actions/setup-java@v3
1212
with:
1313
distribution: 'temurin'
14-
java-version: '11'
15-
16-
- name: Select Xcode version
17-
run: sudo xcode-select -s '/Applications/Xcode_15.0.1.app/Contents/Developer'
14+
java-version: '17'
1815

16+
- name: Set up Ruby
17+
uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: '3.0.1'
20+
21+
- name: Install CocoaPods
22+
run: gem install cocoapods -v '1.15.2'
23+
24+
- name: Select Xcode version
25+
run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer'
1926

2027
- name: Setup Node.js
2128
uses: actions/setup-node@v4
@@ -24,5 +31,5 @@ jobs:
2431
cache: 'npm'
2532

2633
- run: npm run bootstrap
27-
- run: bash ./scripts/run_ci_tasks.sh -a
2834
- run: bash ./scripts/run_ci_tasks.sh -i
35+
- run: bash ./scripts/run_ci_tasks.sh -a

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.18.1
1+
21.6.1

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# React Native Module Changelog
22

3+
## Version 17.2.0 - February 15, 2024
4+
Minor release that updates the iOS SDK to 17.7.3 and Android SDK to 17.7.2, modernizes the podspec and updates NPM dependencies flagged during security audit.
5+
6+
### Changes
7+
- Updated iOS SDK to 17.7.3
8+
- Updated Android SDK to 17.7.2
9+
- Adds `install_modules_dependencies` to podspec to support for the latest react-native 0.73.3
10+
- Updates NPM dependencies to address security audit
11+
312
## Version 17.1.1 - December 6, 2023
413
Patch release that fixes missing annotations on feature flag methods, makes the `airshipHmsEnabled` flag available and updates examples.
514

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Airship_targetSdkVersion=31
44
Airship_compileSdkVersion=31
55
Airship_ndkversion=21.4.7075529
66

7-
Airship_airshipProxyVersion=5.1.0
7+
Airship_airshipProxyVersion=5.1.1
88

99
# workaround for now, used for HMS
1010
Airship_airshipVersion=17.6.0

example/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
22
root: true,
3-
extends: '@react-native-community',
3+
extends: '@react-native',
44
};

example/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ buck-out/
5757

5858
# CocoaPods
5959
/ios/Pods/
60+
61+
# testing
62+
/coverage

example/.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/.ruby-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/Gemfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
source 'https://rubygems.org'
22

33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby File.read(File.join(__dir__, '.ruby-version')).strip
5-
6-
gem 'cocoapods', '~> 1.11', '>= 1.11.3'
4+
ruby ">= 3.0.1"
5+
6+
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
7+
# bound in the template on Cocoapods with next React Native release.
8+
gem 'cocoapods', '>= 1.15.2', '< 1.16'
9+
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Airship.takeOff({
3333

3434
### iOS
3535

36-
1) Run `pod install --repo-update` in `example/ios`
36+
1) Run `pod install --repo-update` in `example/ios`. If you receive an error, try deleting the Podfile.lock and re-installing.
3737

3838
2) Start the webserver in the top-level directory by running `npx react-native start`
3939

0 commit comments

Comments
 (0)