Skip to content

Commit abe1513

Browse files
authored
feat: support RN 0.76 + add example with RNTA (#538)
* feat: init an example with react-native-test-app * feat: copy over sources * chore: delete old example * chore: rename rnta-example to example * chore: remove macos example * chore: remove patch * chore: update packages * chore: update CI
1 parent 725976d commit abe1513

File tree

70 files changed

+4889
-6538
lines changed

Some content is hidden

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

70 files changed

+4889
-6538
lines changed

.github/workflows/ios.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
run: yarn install
3535
working-directory: example
3636
- name: Install pods
37-
run: bundle exec pod install
37+
run: RCT_NEW_ARCH_ENABLED=0 npx pod-install
3838
working-directory: example/ios
3939
- name: Build ios example app
40-
run: xcodebuild -scheme RNSACExample -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
40+
run: xcodebuild -scheme ReactTestApp -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
4141
working-directory: example/ios
4242
ios-build-fabric:
4343
runs-on: macos-latest
@@ -58,8 +58,8 @@ jobs:
5858
run: yarn install
5959
working-directory: example
6060
- name: Install pods for new arch
61-
run: RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
61+
run: RCT_NEW_ARCH_ENABLED=1 npx pod-install
6262
working-directory: example/ios
6363
- name: Build ios example app
64-
run: xcodebuild -scheme RNSACExample -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
64+
run: xcodebuild -scheme ReactTestApp -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
6565
working-directory: example/ios

example/.bundle/config

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

example/.gitignore

Lines changed: 12 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,16 @@
1-
# OSX
2-
#
1+
*.binlog
2+
*.hprof
3+
*.xcworkspace/
4+
*.zip
35
.DS_Store
4-
5-
# Xcode
6-
#
7-
build/
8-
*.pbxuser
9-
!default.pbxuser
10-
*.mode1v3
11-
!default.mode1v3
12-
*.mode2v3
13-
!default.mode2v3
14-
*.perspectivev3
15-
!default.perspectivev3
16-
xcuserdata
17-
*.xccheckout
18-
*.moved-aside
19-
DerivedData
20-
*.hmap
21-
*.ipa
22-
*.xcuserstate
23-
**/.xcode.env.local
24-
25-
# Android/IntelliJ
26-
#
6+
.gradle/
7+
.idea/
8+
.vs/
9+
.xcode.env
10+
Pods/
2711
build/
28-
.idea
29-
.gradle
12+
dist/*
13+
!dist/.gitignore
3014
local.properties
31-
*.iml
32-
*.hprof
33-
.cxx/
34-
*.keystore
35-
!debug.keystore
36-
37-
# node.js
38-
#
15+
msbuild.binlog
3916
node_modules/
40-
npm-debug.log
41-
yarn-error.log
42-
43-
# fastlane
44-
#
45-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
46-
# screenshots whenever they are needed.
47-
# For more information about the recommended setup visit:
48-
# https://docs.fastlane.tools/best-practices/source-control/
49-
50-
**/fastlane/report.xml
51-
**/fastlane/Preview.html
52-
**/fastlane/screenshots
53-
**/fastlane/test_output
54-
55-
# Bundle artifact
56-
*.jsbundle
57-
58-
# Ruby / CocoaPods
59-
**/Pods/
60-
/vendor/bundle/
61-
62-
# Temporary files created by Metro to check the health of the file watcher
63-
.metro-health-check*
64-
65-
# testing
66-
/coverage
67-
68-
# Yarn
69-
.yarn/*
70-
!.yarn/patches
71-
!.yarn/plugins
72-
!.yarn/releases
73-
!.yarn/sdks
74-
!.yarn/versions

example/.watchmanconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

example/Gemfile

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

example/Gemfile.lock

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

example/android/app/build.gradle

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

example/android/app/debug.keystore

-2.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)