Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit 334e1f6

Browse files
committed
replace old example project with new one
1 parent 9075700 commit 334e1f6

156 files changed

Lines changed: 2697 additions & 42312 deletions

File tree

Some content is hidden

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

.github/workflows/e2e-android.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
node-version: 16
2626
cache: 'yarn' # cache packages, but not node_modules
27-
cache-dependency-path: 'exmpl/yarn.lock'
27+
cache-dependency-path: 'example/yarn.lock'
2828

2929
- name: Cache lib node modules
3030
uses: actions/cache@v3
@@ -58,7 +58,7 @@ jobs:
5858
# key: node-modules-${{ hashFiles('**/yarn.lock') }}
5959

6060
- name: Install node_modules
61-
working-directory: exmpl
61+
working-directory: example
6262
run: yarn install && yarn rn-setup
6363

6464
- name: Use specific Java version for sdkmanager to work
@@ -68,7 +68,7 @@ jobs:
6868
java-version: '11'
6969

7070
- name: Build
71-
working-directory: exmpl
71+
working-directory: example
7272
run: yarn e2e:build:android-release
7373

7474
- name: run tests
@@ -79,11 +79,11 @@ jobs:
7979
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
8080
arch: x86_64
8181
disable-animations: true
82-
working-directory: exmpl
82+
working-directory: example
8383
script: yarn e2e:test:android-release || yarn e2e:test:android-release || yarn e2e:test:android-release
8484

8585
- uses: actions/upload-artifact@v3
8686
if: failure()
8787
with:
8888
name: e2e-test-videos
89-
path: ./exmpl/artifacts/
89+
path: ./example/artifacts/

.github/workflows/e2e-ios-old.yml

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

.github/workflows/e2e-ios.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
node-version: 16
2626
cache: 'yarn' # cache packages, but not node_modules
27-
cache-dependency-path: 'exmpl/yarn.lock'
27+
cache-dependency-path: 'example/yarn.lock'
2828

2929
- name: Cache lib node modules
3030
uses: actions/cache@v3
@@ -46,17 +46,17 @@ jobs:
4646
uses: actions/cache@v3
4747
id: cache-nm
4848
with:
49-
path: exmpl/node_modules
49+
path: example/node_modules
5050
key: node-modules-${{ hashFiles('**/yarn.lock') }}
5151

5252
- name: Rebuild detox
5353
if: steps.cache-nm.outputs.cache-hit == 'true'
54-
working-directory: exmpl
54+
working-directory: example
5555
run: yarn detox clean-framework-cache && yarn detox build-framework-cache
5656

5757
- name: Install Dependencies
5858
if: steps.cache-nm.outputs.cache-hit != 'true'
59-
working-directory: exmpl
59+
working-directory: example
6060
run: yarn install && yarn rn-setup
6161

6262
# - name: Activate react-native-skia-stup
@@ -68,11 +68,11 @@ jobs:
6868
uses: actions/cache@v3
6969
id: podcache
7070
with:
71-
path: exmpl/ios/Pods
71+
path: example/ios/Pods
7272
key: pods-${{ hashFiles('**/Podfile.lock') }}
7373

7474
- name: Install pods
75-
working-directory: exmpl
75+
working-directory: example
7676
run: |
7777
gem update cocoapods xcodeproj
7878
cd ios && pod install && cd ..
@@ -83,15 +83,15 @@ jobs:
8383
brew install applesimutils
8484
8585
- name: Build
86-
working-directory: exmpl
86+
working-directory: example
8787
run: yarn e2e:build:ios-release
8888

8989
- name: Test iOS app
90-
working-directory: exmpl
90+
working-directory: example
9191
run: yarn e2e:test:ios-release || yarn e2e:test:ios-release || yarn e2e:test:ios-release
9292

9393
- uses: actions/upload-artifact@v3
9494
if: failure()
9595
with:
9696
name: e2e-test-videos
97-
path: ./exmpl/artifacts/
97+
path: ./example/artifacts/
File renamed without changes.

example/.flowconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ nonstrict-import=warn
5252
deprecated-type=warn
5353
unsafe-getters-setters=warn
5454
unnecessary-invariant=warn
55-
signature-verification-failure=warn
5655

5756
[strict]
5857
deprecated-type
@@ -64,4 +63,4 @@ untyped-import
6463
untyped-type-import
6564

6665
[version]
67-
^0.170.0
66+
^0.182.0

example/.gitignore

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ DerivedData
2020
*.hmap
2121
*.ipa
2222
*.xcuserstate
23+
ios/.xcode.env.local
2324

2425
# Android/IntelliJ
2526
#
@@ -29,6 +30,7 @@ build/
2930
local.properties
3031
*.iml
3132
*.hprof
33+
.cxx/
3234

3335
# node.js
3436
#
@@ -49,9 +51,10 @@ buck-out/
4951
# For more information about the recommended setup visit:
5052
# https://docs.fastlane.tools/best-practices/source-control/
5153

52-
*/fastlane/report.xml
53-
*/fastlane/Preview.html
54-
*/fastlane/screenshots
54+
**/fastlane/report.xml
55+
**/fastlane/Preview.html
56+
**/fastlane/screenshots
57+
**/fastlane/test_output
5558

5659
# Bundle artifact
5760
*.jsbundle
@@ -60,4 +63,4 @@ buck-out/
6063
/ios/Pods/
6164
/vendor/bundle/
6265

63-
.watchman*
66+
/artifacts/

example/.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.4
1+
2.7.5

example/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ const App = (): ReactElement => {
145145
<View style={styles.container}>
146146
<Button
147147
title={'E2E test'}
148+
testID="E2ETest"
148149
onPress={async (): Promise<void> => {
149150
//TODO add more functionality to test
150151
const ldkVersion = await ldk.version();

example/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'https://rubygems.org'
22

33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby '2.7.4'
4+
ruby '2.7.5'
55

66
gem 'cocoapods', '~> 1.11', '>= 1.11.2'

0 commit comments

Comments
 (0)