Description
We noticed after upgrading to 0.79.3 the loadBundleAtURL function defined in AppDelegate.mm does not get called anymore, this function is similar to loadSourceForBridge only for new architecture, last version that we know this worked was on 0.77
Steps to reproduce
Add
- (void)loadBundleAtURL:(NSURL *)sourceURL
onProgress:(RCTSourceLoadProgressBlock)onProgress
onComplete:(RCTSourceLoadBlock)loadCallback
{
}
in AppDelegate.mm and run the project
React Native Version
0.79.3
Affected Platforms
Runtime - iOS
Output of npx @react-native-community/cli info
System:
OS: macOS 15.5
CPU: (8) arm64 Apple M1
Memory: 119.88 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.20.4
path: ~/.nvm/versions/node/v18.20.4/bin/node
Yarn: Not Found
npm:
version: 10.7.0
path: ~/.nvm/versions/node/v18.20.4/bin/npm
Watchman:
version: 2024.08.26.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.4
- iOS 18.4
- macOS 15.4
- tvOS 18.4
- visionOS 2.4
- watchOS 11.4
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 16.3/16E140
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 18.0.0
wanted: 18.0.0
react:
installed: 19.0.0
wanted: 19.0.0
react-native:
installed: 0.79.3
wanted: 0.79.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: false
newArchEnabled: true
Stacktrace or Logs
MANDATORY Reproducer
https://github.com/tux2nicolae/reaact-native-bug
Screenshots and Videos
No response
Description
We noticed after upgrading to 0.79.3 the
loadBundleAtURLfunction defined inAppDelegate.mmdoes not get called anymore, this function is similar toloadSourceForBridgeonly for new architecture, last version that we know this worked was on 0.77Steps to reproduce
Add
in
AppDelegate.mmand run the projectReact Native Version
0.79.3
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
https://github.com/tux2nicolae/reaact-native-bug
Screenshots and Videos
No response