History log of /expo/fastlane/Fastfile (Results 1 – 25 of 65)
Revision Date Author Comments
# fc13bfef 04-Jul-2023 Brent Vatne <[email protected]>

[fastlane] Add sync_screenshots lane


# e66e0f7d 01-Jul-2023 Kudo Chien <[email protected]>

[ci] trying to fix flaky ios unit test ci (#23245)

# Why

flaky ios unit test ci from timeout: https://github.com/expo/expo/actions/runs/5427238787/jobs/9870870707

# How

- use macos 13
- us

[ci] trying to fix flaky ios unit test ci (#23245)

# Why

flaky ios unit test ci from timeout: https://github.com/expo/expo/actions/runs/5427238787/jobs/9870870707

# How

- use macos 13
- use xcode 14.3
- use iphone 14 pro simulator for unit tests

though it still having timeout, be seems better without exceeding the 24s timeout

show more ...


# d4613734 12-Apr-2023 Kudo Chien <[email protected]>

[go] integrate firebase crashlytics on android (#22036)

# Why

to have more information about the crashes than just from google play store. this pr tries to integrate firebase crashlytics with mor

[go] integrate firebase crashlytics on android (#22036)

# Why

to have more information about the crashes than just from google play store. this pr tries to integrate firebase crashlytics with more powerful features like ndk integration and custom logging.
close ENG-1380

# How

- integrate crashlytics with ndk support
- log the loading experience manifest url
- [tools] we need a further step `./gradlew :app:uploadCrashlyticsSymbolFileUnversionedRelease` for uploading ndk native symbols to crashlytics. we also integrate this into fastlane and expotools. this step may take longer time to process. from my environment, it takes about 30mins.

# Test Plan

manually triggering crash and see the crashlytics dashboard

show more ...


# 84f418d7 17-Jan-2023 Kudo Chien <[email protected]>

[1/3] upgrade react-native 0.71 (#20799)

# Why

upgrade react-native 0.71 for sdk 48
close ENG-7192

# How

- update package versions
- `react: 18.1.0 -> 18.2.0`
- `react-native 0.70.5

[1/3] upgrade react-native 0.71 (#20799)

# Why

upgrade react-native 0.71 for sdk 48
close ENG-7192

# How

- update package versions
- `react: 18.1.0 -> 18.2.0`
- `react-native 0.70.5 -> 0.71.0`
- `react-dom: 18.1.0 -> 18.2.0`
- `react-test-renderer: 18.1.0 -> 18.2.0`
- `react-native-web: 0.18.9 -> 0.18.10`
- `babel-plugin-react-native-web: 0.18.9 -> 0.18.10`
- `metro-react-native-babel-preset: 0.72.3 -> 0.73.5`
- upgrade three project templates based on [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.70.6&to=0.71.0)
- bare-expo
- expo-template-bare-minimum
- fabric-tester (this is based on `npx expo prebuild --clean --no-install --template /path/to/expo-template-bare-minimum.tgz`) so it includes some inconsistent changes
- [@expo/config-plugins]: support 0.71 template transform. the `namespace` in build.gradle and the files in `release` build variants
- [fbjni] upgrade 0.3.0 to align 0.71 (also ndk version)
- [expo-updates] move the `EX_UPDATES_NATIVE_DEBUG` `bundleInDebug` setup to templates. unfortunately, because RNGP setups the task dependencies pretty early. the original setup in expo-updates build.gradle is too late. note that the change doesn't reference any files from templates to expo-updates package. somehow it's not tightly coupled.
- [native-tests / expo-modules-test-core / expo-modules-autolinking] fix ios unit test build error because jsc now in a dedicated podspec. in theory, the ios native unit test could now run on hermes as well.
- for other details, please check commit histories one by one.

# Test Plan

- bare-expo ios / android
- fabric ios / android
- ci passed (except ios)
- test-suite ios is broken for unknown reasons. it breaks only on github actions and hermes. for nightlies testing, i also [changed it to jsc](https://github.com/expo/expo/blob/1e029c89c4247802cc4880e27e116a6b4c71c502/tools/src/commands/SetupReactNativeNightly.ts#L287-L293) to make ci green. i'll try to follow up and investigate the root cause.

show more ...


# 5bd7a65d 04-Nov-2022 Brent Vatne <[email protected]>

[fastlane] Skip staging verification for Android


# da3b7d3d 05-May-2022 Brent Vatne <[email protected]>

[fastlane] Fix supply params


# aa3bb5e3 21-Jun-2022 Bartłomiej Klocek <[email protected]>

[ios][tools][ci] Redesign iOS unit tests (#17634)

# Why

iOS Unit Test CI job had several issues:
- Fastlane is being run for each package separately, so it's restarting the simulator each time.

[ios][tools][ci] Redesign iOS unit tests (#17634)

# Why

iOS Unit Test CI job had several issues:
- Fastlane is being run for each package separately, so it's restarting the simulator each time. This makes the job slower and moreover, test results are scattered across all fastlane logs.
- Some tests are being run on bare-expo, others on the client project.
- Packages to be tested need to be defined manually in podfile
- Some dev-client tests aren't being run at all (bug in expotools)

# How

Basically, running tests once from a single xcscheme is faster and clearer than doing it separately for each package.

- Applied some autolinking + fastlane changes from #16993 and https://github.com/expo/expo/commit/0e0c1e3db71535002e56453ff6004b06e2836c8e - now we have `use_expo_modules_tests!` for autolinking only test packages.
- Created (`expo init -t bare`) a new `apps/native-tests` app which has no JS code, but only native iOS project with a single test-only scheme (`NativeTests.xcscheme`)
> It might be possible to integrate it as a separate test target in bare-expo instead of creating a new app
- Created a custom fastlane action `generate_test_scheme`, which takes that NativeTests scheme as a template and automatically finds test targets (named `PodspecName-Unit-Tests`, generated by CocoaPods during `pod install`) and generates a `NativeTests_generated` scheme aggregating all these targets. Package filtering is also supported.
- Created a new ios lane `:unit_tests` which uses that action to generate the scheme and then run tests, adopted the `et ios-native-unit-tests` command to use this lane.
- Fixed expotools not recognizing the `expo-dev-launcher` podspec, because it was in the package root instead of the `ios/` subdir.
- Got rid of `React-hermes` test spec dependencies. They're not needed anymore. JS engine for `apps/native-tests` is set to JSC.
- Added `FASTLANE_SKIP_UPDATE_CHECK=1` to the CI env to prevent fastlane from spamming.

One drawback of this approach is that we now have to maintain another app, another podfile etc ��

show more ...


# 741c199d 27-Jan-2022 Brent Vatne <[email protected]>

[fastlane] Use aab for Expo Go for Android (#15602)


# 9818fceb 06-Jan-2022 Eric Samelson <[email protected]>

[expotools][gh] run dev client iOS unit tests in CI (#15795)


# 5290f1e1 18-Nov-2021 Brent Vatne <[email protected]>

Cherrypick missing commits from sdk-43 branch (#15235)

* [fastfile] Update APK path

* [fastfile] Properly fix path to Android APK

* [expo] Bump react-native-maps to 0.28.1 to fix peer dependen

Cherrypick missing commits from sdk-43 branch (#15235)

* [fastfile] Update APK path

* [fastfile] Properly fix path to Android APK

* [expo] Bump react-native-maps to 0.28.1 to fix peer dependency npm 7 issues

* [expo] Add expo-navigation-bar and expo-system-ui to bundledNativeModules.json

* [jest-expo] Fix createCacheKeyFunction import

* [fastlane] Add versionCode 160 notes

show more ...


# 75f652f0 21-Sep-2021 Will Schurman <[email protected]>

[devicefarm] Remove device farm (#14485)


# 97920fea 22-Jun-2021 Brent Vatne <[email protected]>

[fastlane] Fix missing options blocks


# a2ffa225 22-Jun-2021 Bartłomiej Klocek <[email protected]>

[android] Split Expo Go to unversioned and versioned flavors (#12917)

* Add versioning flavors

Extract `flavors.gradle` and fix versioned

* Update manifest based on flavors

* Update fastlan

[android] Split Expo Go to unversioned and versioned flavors (#12917)

* Add versioning flavors

Extract `flavors.gradle` and fix versioned

* Update manifest based on flavors

* Update fastlane build

* Unflavor versioned code

* Update CI to use flavors

* Set default flavor

* Update guides

* Update expotools versioning code

[skip ci]

* [wip] remove flavors from shellapps

* Shell app fallback to `versioned`

* Fix et paths

* Bump `@expo/xdl` in `expotools`

[skip ci]

* Missing uncommitted changes

[skip ci] -expotools yarn.lock, shell app fixes

* Rebase fixes

* Update "Developing Expo Go" guide

[skip ci]

show more ...


# fc29d914 15-Jun-2021 Charlie Cruzan <[email protected]>

[notifications] feat: respond to notifications while app is backgrounded (#13130)

* JS interface

* fix up ios

* install unimodules-task-manager-interface

* rename some iOS things

* andro

[notifications] feat: respond to notifications while app is backgrounded (#13130)

* JS interface

* fix up ios

* install unimodules-task-manager-interface

* rename some iOS things

* android implementation

* [android] only trigger on remote notifications, and only serialize remote payload

* no need to serialize on iOS

* TS interface rename

* add 'remote-notification' background mode to Expo Go

* CHANGELOG.md

* Update packages/expo-notifications/CHANGELOG.md

Co-authored-by: Expo CI <[email protected]>

* add test to NCL

* docs and readme

* fix lint

* Apply suggestions from code review

Co-authored-by: Tomasz Sapeta <[email protected]>

* [fastlane] Automatically remove background remote-notification for App Store

* update docs

Co-authored-by: Expo CI <[email protected]>
Co-authored-by: Tomasz Sapeta <[email protected]>

show more ...


# cf276e6e 28-Apr-2021 Tomasz Sapeta <[email protected]>

[ios] Split Expo Go to unversioned and versioned flavors (#11999)


# 63b23267 01-Apr-2021 Eric Samelson <[email protected]>

[ios][et][r-n-u][fastlane][gh] add support for iOS unit tests (#11972)


# 2a72deb4 29-Mar-2021 Brent Vatne <[email protected]>

[fastlane] Sync ExpoNotificationServiceExtension versions with Exponent versions (#12321)


# 4ddd428d 16-Dec-2020 Tomasz Sapeta <[email protected]>

[fastlane] Make xcodebuild command quiet to reduce the size of logs (#11369)


# 319bc0ae 27-Oct-2020 Brent Vatne <[email protected]>

[android] Fix mistake where staging_version is not available outside of begin/rescue block


# 7809e388 27-Oct-2020 Brent Vatne <[email protected]>

[android] Make verify_upload_to_staging validate against androidClientVersion for latest SDK instead of the now unused androidVersion


# e2917f45 28-Jun-2020 Tomasz Sapeta <[email protected]>

[fastlane] Build iOS simulator only for x86_64 arch (#8991)

# Why

When I was debugging occasional fails in `client-ios` workflow, I noticed that we build iOS simulator for both i386 and x86_64 ar

[fastlane] Build iOS simulator only for x86_64 arch (#8991)

# Why

When I was debugging occasional fails in `client-ios` workflow, I noticed that we build iOS simulator for both i386 and x86_64 architectures, while only the latter one is being released. This also makes the workflow faster as it no longer needs to compile things twice.

# How

Removed i386 from xcbuild parameters.

# Test Plan

CI job passes and is 15 minutes faster ��

show more ...


# 72ce2e97 23-Jun-2020 Tomasz Sapeta <[email protected]>

[fastlane] Automatically remove background audio in App Store builds (#8841)

# Why

Fixes #8097

# How

Added `remove_background_audio` function that removes `audio` from `UIBackgroundModes` a

[fastlane] Automatically remove background audio in App Store builds (#8841)

# Why

Fixes #8097

# How

Added `remove_background_audio` function that removes `audio` from `UIBackgroundModes` array in `Info.plist` (App Store builds only).

# Test Plan

I'm going to test this as part of building new Expo Client build for SDK38.

show more ...


# 6aa6f0b9 28-May-2020 Nick Novitski <[email protected]>

[android][ci] Build client on external PRs


# d54dfa9b 08-Apr-2020 Stanisław Chmiela <[email protected]>

[nix] Upgrade Fastlane so it doesn't try to use unavailable Play Store API (#7736)

# Why

Google has removed the API that current version of Fastlane uses. See the job fail — https://circleci.com/

[nix] Upgrade Fastlane so it doesn't try to use unavailable Play Store API (#7736)

# Why

Google has removed the API that current version of Fastlane uses. See the job fail — https://circleci.com/gh/expo/expo/140185.

# How

- went through the Fastlane's changelog and verified that between current (2.13.1) and latest version (2.145.0) `supply` has been migrated to use API v3 — https://github.com/fastlane/fastlane/releases/tag/2.135.0
- bumped version requirement in `Gemfile`
- commented out everything but the `bundle install` part of the `update-dependencies`
- ran `update-dependencies`

# Test Plan

I intend to release Expo Client 2.15.1 with this change.

show more ...


# d95230e1 08-Apr-2020 Stanisław Chmiela <[email protected]>

[fastlane] Update API server URL


123