chore: migrate example to `react-native-test-app`
Summary
In this Pull Request I've migrated Example project to react-native-test-app.
| Old arch | New arch (Bridgeless) | |
|---|---|---|
| Android | ||
| iOS |
Test Plan
App should properly run and build on all platforms that react-native-pager-view supports.
Compatibility
| OS | Implemented |
|---|---|
| iOS | ✅ |
| Android | ✅ |
| visionOS | ✅ |
Checklist
- [x] I have tested this on a device and a simulator
- [ ] I added the documentation in
README.md - [ ] I updated the typed files (TS and Flow)
@szymonrybczak could you rebase your PR? 🙏
CI is failing for iOS E2E tests because app built inside Release mode cannot grab .jsbundle, I tried also in a fresh project and it looks like something is broken:
npx --package react-native-test-app@latest init
yarn build:ios
yarn ios --mode "Release"
cc: @tido64 any ideas? Is there maybe anything that I'm missing in the config for app to run properly?
cc: @tido64 any ideas? Is there maybe anything that I'm missing in the config for app to run properly?
When is pod install run? It needs to be run after bundling so that CocoaPods can create an entry for it in the generated Xcode project files. You can check if it's present if you open .xcworkspace in Xcode.
@tido64 I did give it a try, and it seems like the results is still the same :(
@szymonrybczak Do you have repro steps? Seems to work for me. This is what I ran:
yarn
cd example
yarn
yarn build:ios
pod install --project-directory=ios
yarn ios --no-packager --simulator 'iPhone 15 Pro'