Skip to content

Commit

Permalink
feat: support RN 0.76 + add example with RNTA (#538)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
vonovak authored Oct 31, 2024
1 parent 725976d commit abe1513
Show file tree
Hide file tree
Showing 70 changed files with 4,889 additions and 6,538 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
run: yarn install
working-directory: example
- name: Install pods
run: bundle exec pod install
run: RCT_NEW_ARCH_ENABLED=0 npx pod-install
working-directory: example/ios
- name: Build ios example app
run: xcodebuild -scheme RNSACExample -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
run: xcodebuild -scheme ReactTestApp -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
working-directory: example/ios
ios-build-fabric:
runs-on: macos-latest
Expand All @@ -58,8 +58,8 @@ jobs:
run: yarn install
working-directory: example
- name: Install pods for new arch
run: RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
run: RCT_NEW_ARCH_ENABLED=1 npx pod-install
working-directory: example/ios
- name: Build ios example app
run: xcodebuild -scheme RNSACExample -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
run: xcodebuild -scheme ReactTestApp -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
working-directory: example/ios
2 changes: 0 additions & 2 deletions example/.bundle/config

This file was deleted.

82 changes: 12 additions & 70 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,74 +1,16 @@
# OSX
#
*.binlog
*.hprof
*.xcworkspace/
*.zip
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
**/.xcode.env.local

# Android/IntelliJ
#
.gradle/
.idea/
.vs/
.xcode.env
Pods/
build/
.idea
.gradle
dist/*
!dist/.gitignore
local.properties
*.iml
*.hprof
.cxx/
*.keystore
!debug.keystore

# node.js
#
msbuild.binlog
node_modules/
npm-debug.log
yarn-error.log

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output

# Bundle artifact
*.jsbundle

# Ruby / CocoaPods
**/Pods/
/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

# testing
/coverage

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
2 changes: 1 addition & 1 deletion example/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
9 changes: 0 additions & 9 deletions example/Gemfile

This file was deleted.

105 changes: 0 additions & 105 deletions example/Gemfile.lock

This file was deleted.

164 changes: 0 additions & 164 deletions example/android/app/build.gradle

This file was deleted.

Binary file removed example/android/app/debug.keystore
Binary file not shown.
Loading

0 comments on commit abe1513

Please sign in to comment.