Skip to content

[Upgrade] Bump expo to latest SDK #20

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

Merged
merged 10 commits into from
Feb 18, 2025
Merged

Conversation

franpb14
Copy link
Collaborator

@franpb14 franpb14 commented Dec 31, 2024

Introduction

For each bump and since the app is very small I'll do the following checks

  • remember checkbox is checked by default
  • the expo token is saved in DDBB
  • back button is working
  • I can receive notifications
  • external links handled as they should

To upgrade I've used these 2 commands:

npx expo install expo@^47.0.0
npx expo install --fix
npx expo-doctor

46 => 47

✔️ Checks working

Breaking changes

None of them affect us

Notes

  • minimum iOS version: 13.
  • minimum node version: 14
  • expo build:android y expo build:ios not supported anymore but we are using EAS so no problem
  • Useful links: Changelog & Blog

47 => 48

✔️ Checks working

Breaking changes

None of them affect us

Notes

  • There is this breaking change: "KeepAwake.activateKeepAwake has been deprecated in favor of KeepAwake.activateKeepAwakeAsync". We are not using it although it is in the package-lock
  • 2 new eas commands that can be useful eas build:resign & eas build:run
  • Useful links: Changelog & Blog

48 => 49

✔️ Checks working

Breaking changes

None of them affect us

Notes

  • eas insight available to scratch some data
  • Useful links: Changelog & Blog

49 => 50

✔️ Checks working

Breaking changes

None of them affect us

Notes

  • minimum android version Android 6 (API 23)
  • React Native now require Node 18+
  • iOS 13.4
  • Expo Orbit v1 released: Orbit for macOS makes it faster and easier to install and run builds from EAS. Learn more
  • Useful links: Changelog & blog

50 => 51

✔️ Checks working

Breaking changes

None of them affect us

Notes

  • isDevice from expo-constants deprecated. However, we are using it from expo-device which is the correct approach for this version
  • EAS rollouts introduced: this allows us to gradually roll out updates to a percentage of our users
  • Useful links: Changelog & Blog

51 => 52

✔️ Checks working

Breaking changes

None of them affect us

Notes

  • minimum iOS version 15.1
  • minimum android version 7.0
  • they are talking about a new architecture but we may don't need to do anything, they said to check with expo-doctor for incompabilities but we are good with this check, if we want to test the new arch refer to expo blog
  • Useful links: Changelog & Blog

Extra

  • Build with profile staging seems to work fine!
  • I've tried the new architecture and seems to work fine, perhaps we should start using it.
  • using Platform from react-native since in the file Platform was undefined.
  • I've also uploaded a new credential from firebase to expo following this guide & push notifications were working (using this fix too [FIX] Push notifications are not being sent timeoverflow#772)

@markets markets merged commit 2e7a1de into coopdevs:master Feb 18, 2025
@markets
Copy link
Collaborator

markets commented Feb 18, 2025

@franpb14 merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants