forked from Fintan-contents/mobile-app-crib-notes
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⬆️: Upgrade Expo SDK to 48 #1118
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
build
chore
Other changes that don't modify src or test files.
app
test
doc
Improvements or additions to documentation
labels
Apr 17, 2023
/azp run deploy-all |
Azure Pipelines successfully started running 1 pipeline(s). |
tksugimoto
requested changes
Apr 24, 2023
creature-water-valley
force-pushed
the
feature/upgrade-expo-48
branch
from
April 25, 2023 00:10
bfe39ef
to
23f2c88
Compare
github-actions
bot
added
the
ci
Changes to CI configuration files and scripts (GitHub Actions etc.)
label
Apr 25, 2023
Error: Hooks cannot be defined inside tests. Hook of type "beforeEach" is nested within
….activateKeepAwakeAsync Add web support to expo-keep-awake(expo/expo@b41269b)
creature-water-valley
force-pushed
the
feature/upgrade-expo-48
branch
from
April 25, 2023 00:15
23f2c88
to
727c7d6
Compare
github-actions
bot
removed
the
ci
Changes to CI configuration files and scripts (GitHub Actions etc.)
label
Apr 25, 2023
tksugimoto
reviewed
Apr 25, 2023
node_modules配下の構成例がわかりづらかったので、@expo/config-pluginsのバージョンを例として明示
4 tasks
in-a-paddy
reviewed
Apr 27, 2023
example-app/SantokuApp/prebuild/local/ios/LocalSantokuApp/AppDelegate.mm
Show resolved
Hide resolved
tksugimoto
reviewed
May 8, 2023
website/docs/react-native/santoku/maintenance/enhance/expo-48-upgrade.mdx
Outdated
Show resolved
Hide resolved
# Conflicts: # example-app/SantokuApp/jest/__mocks__/@react-native-firebase/messaging.ts
tksugimoto
reviewed
May 8, 2023
website/docs/react-native/santoku/maintenance/enhance/expo-48-upgrade.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Takashi Sugimoto <tksugimoto@users.noreply.github.com>
tksugimoto
approved these changes
May 8, 2023
25 tasks
in-a-paddy
reviewed
May 9, 2023
website/docs/react-native/santoku/maintenance/enhance/expo-48-upgrade.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: In-a-Paddy <44867563+in-a-paddy@users.noreply.github.com>
in-a-paddy
approved these changes
May 9, 2023
10 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✅ What's done
npm install expo@^48.0.0
を実行してExpo SDKをアップグレードnpx expo install --fix
を実行してExpo管理のライブラリをアップグレード@expo/config-plugins
をdevDependencies
に追加expo
や@react-native-firebase/app
が依存ライブラリとして追加している@expo/config-plugins
のバージョンが違い、@expo/config-plugins
に適用するパッチのパスが変わってしまうdevDependencies
に@expo/cli
で使用する@expo/config-plugins
と同じバージョンを追加することで、パッチを適用するパスが固定されるようにするnpx expo instlall --fix
で更新されないライブラリの更新node_modules
、package-lock.json
を削除して、npm i
を実行@expo/config-plugins
のパッチファイルを更新expo-splash-screen
のファイルをアップデートしたバージョンにリネームapp.config.js
のjsEngine
をhermes
に変更npm run prebuild
buckconfig
の削除.gitignore
の更新expo-random
->expo-crypto
への移行expo-keep-awake
のactivateKeepAwake
が非推奨になったため、activateKeepAwakeAsync
を使用するように変更@types/react-native
の削除react-native
からOmit
をimportしていた箇所の修正(OverlayBackdrop.tsx)managed-license.js
の更新BSD-3-Clause
ライセンスのエイリアスにBSD 3-Clause
を追加renovate5.json
の更新@types/react-native
jest-expo
expo-random
FlatList
でデータが0件の場合にscrollToEnd
を呼び出すとエラーになる問題の対処としてパッチを追加react-native-datetimepicker/datetimepicker
で一部Propsがdeprecatedになった問題の対応npm run prebuild:[local/stg/prod]
Tests
以下のコマンドをこのプルリクエストのコメントとして投稿すると、
Azure Pipeline上でSantokuAppをビルドしてDeployGateへアップロードできます。
Devices
Other (messages to reviewers, concerns, etc.)
何かあれば記載してください。
なければ「なし」と記載してください。