Skip to content
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

Expo 51 #349

Merged
merged 26 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a1e2e62
update to expo 51, update expo51 related deps, temporary use legacy i…
KKA11010 May 27, 2024
fb3e4b5
lint and add an interface for process.env
KKA11010 May 27, 2024
c8498d4
prebuild user-input-workaround for updated deps with the yes command
KKA11010 May 27, 2024
5d6904e
Update npm install step in GitHub Actions android workflow
KKA11010 May 27, 2024
91e9d64
temporary workflow change: create new lockfile with npm i
KKA11010 May 27, 2024
67b7736
update android workflow
KKA11010 May 27, 2024
c8f13a4
update android workflow
KKA11010 May 27, 2024
44a83f5
temporary change workflow
KKA11010 May 27, 2024
96738f1
Update Android workflow to use non-interactive mode for prebuild command
KKA11010 May 27, 2024
ff8a552
update android workflow with env CI=1
KKA11010 May 27, 2024
d270843
ci: try --npm flag to skip user input in expo prebuild command
KKA11010 May 27, 2024
d9774b2
install deps
May 28, 2024
0d6c00d
bump to 0.4.1
KKA11010 Jul 2, 2024
abdae18
Update expo51 related dependencies.
KKA11010 Jul 2, 2024
43a3e57
Update package.json
KKA11010 Jul 2, 2024
3ad1d83
lint
KKA11010 Jul 2, 2024
c9e4142
Force install deps in Android workflow
KKA11010 Jul 2, 2024
89296bb
Update npm install commands in Android and Node.js workflows
KKA11010 Jul 2, 2024
11ce3d7
Migrate from expo-camera/legacy to expo-camera. Remove expo-barcode-s…
KKA11010 Jul 2, 2024
42ef928
Hide navigation bar in QR scan screen
KKA11010 Jul 2, 2024
bf7e8bd
Update npm install commands in Android and Node.js workflows
KKA11010 Jul 2, 2024
9bf94fe
Remove expo-barcode-scanner from app config plugins
KKA11010 Jul 2, 2024
c7c4e9b
Perform disk cleanup & print disk space for build-debug job in Androi…
KKA11010 Jul 2, 2024
8fb380d
Update Android emulator architecture to x86 and use smaller system image
KKA11010 Jul 2, 2024
1b21190
Update Android emulator architecture to x86_64
KKA11010 Jul 3, 2024
835dbd4
android workflow: Force cache to clear by modifying cache key
KKA11010 Jul 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
EXPO_NO_TELEMETRY: 1
SENTRY_DISABLE_AUTO_UPLOAD: true
CI: 1
jobs:
build:
name: build-android-production
Expand Down Expand Up @@ -52,10 +53,10 @@ jobs:
packages: platform-tools platforms;android-34 build-tools;33.0.1 build-tools;34.0.0 ndk;25.1.8937393 cmake;3.22.1

- name: Install deps
run: npm ci
run: npm i --force

- name: PreBuild Android
run: npx expo prebuild -p android --clean
run: npx expo prebuild -p android --clean --npm

- name: make gradlew executable
run: chmod +x ./android/gradlew
Expand Down Expand Up @@ -108,10 +109,10 @@ jobs:
./node_modules
**/android
./android
key: ${{ runner.os }}-android-build-debug
key: ${{ runner.os }}-android-build-debug-new
restore-keys: |
${{ runner.os }}-android-build-debug
ci-${{ runner.os }}-android-build-debug
${{ runner.os }}-android-build-debug-new
ci-${{ runner.os }}-android-build-debug-new

- uses: actions/setup-node@v4
with:
Expand All @@ -130,7 +131,7 @@ jobs:
packages: platform-tools platforms;android-34 build-tools;33.0.1 build-tools;34.0.0 ndk;25.1.8937393 cmake;3.22.1

- name: Install deps
run: npm ci
run: npm ci --force

- name: PreBuild Android
run: npx expo prebuild -p android --clean
Expand Down Expand Up @@ -167,4 +168,4 @@ jobs:
./node_modules
**/android
./android
key: ${{ runner.os }}-android-build-debug
key: ${{ runner.os }}-android-build-debug-new
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm i --force
- run: npm run lint

- name: Upload coverage reports to Codecov
Expand Down
1 change: 0 additions & 1 deletion config/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const config: ExpoConfig = {
assetBundlePatterns: ['**/*'],
plugins: [
'expo-localization',
['expo-barcode-scanner', { cameraPermission }],
['expo-camera', { cameraPermission }],
'expo-secure-store',
[
Expand Down
Loading
Loading