Skip to content

Commit eae4dd6

Browse files
feat(example): convert to Expo app with Expo Router (#8)
* feat(example): convert to Expo app with Expo Router list→detail nav - Remove checked-in android/ and ios/ dirs (generated by expo prebuild) - Add expo-router with file-based routing in example/app/ - Home screen: SectionList grouping all 19 demos (Basic, Transform, Timing, Style, Loop, Advanced) - Detail screen: dynamic route app/[demo].tsx per demo - Extract each demo to individual files in example/src/demos/ - Demo registry in example/src/demos/index.ts for easy lookup - Remove Gemfile (native dirs managed by expo prebuild) - Update .gitignore to exclude generated android/ and ios/ * fix(ci): update build scripts and CI for expo prebuild - Add build:android and build:ios scripts that run expo prebuild first - Remove bundle install / pod install CI step (expo prebuild handles it) - Update turbo.json inputs for generated native dirs - Fix Gradle cache key (no longer references checked-in gradle-wrapper) * fix(example): hide index header, remove back button title * fix(example): use headerBackButtonDisplayMode minimal
1 parent f9084cc commit eae4dd6

73 files changed

Lines changed: 2067 additions & 5793 deletions

Some content is hidden

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

.github/workflows/ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
path: |
9494
~/.gradle/wrapper
9595
~/.gradle/caches
96-
key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
96+
key: ${{ runner.os }}-gradle-${{ hashFiles('yarn.lock') }}
9797
restore-keys: |
9898
${{ runner.os }}-gradle-
9999
@@ -141,13 +141,6 @@ jobs:
141141
with:
142142
xcode-version: ${{ env.XCODE_VERSION }}
143143

144-
- name: Install cocoapods
145-
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
146-
run: |
147-
cd example
148-
bundle install
149-
bundle exec pod repo update --verbose
150-
bundle exec pod install --project-directory=ios
151144

152145
- name: Build example for iOS
153146
run: |

example/.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
# Expo
33
.expo
44
dist/
5-
web-build/
5+
web-build/
6+
7+
# Expo prebuild generated dirs
8+
android/
9+
ios/

example/Gemfile

Lines changed: 0 additions & 16 deletions
This file was deleted.

example/Gemfile.lock

Lines changed: 0 additions & 121 deletions
This file was deleted.

example/android/app/build.gradle

Lines changed: 0 additions & 124 deletions
This file was deleted.

example/android/app/debug.keystore

-2.2 KB
Binary file not shown.

example/android/app/proguard-rules.pro

Lines changed: 0 additions & 10 deletions
This file was deleted.

example/android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.

example/android/app/src/main/java/ease/example/MainActivity.kt

Lines changed: 0 additions & 23 deletions
This file was deleted.

example/android/app/src/main/java/ease/example/MainApplication.kt

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)