You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a non-user facing bug that only affects the developer workflow on physical devices.
When opening the block editor from within WPiOS, it often happens that the editor freezes for one minute before loading. I think this issue has been around for over a year and has something to do with React Native waiting to find a running packager. In this scenario, there is no running packager so the app should load the pre-loaded bundle immediately.
To Reproduce
Compile and run WPiOS develop branch (which uses the default Debug build config) on a physical device
Ensure the device's WiFi connection is Off
Open the block editor
Notice that the entire app freezes for about 1 minute before the editor loads
Expected behavior
The editor should load normally in a couple of seconds.
Smartphone (please complete the following information):
Device: iPhone 11
OS: 14.2
Version WPiOS develop
Additional info
Turning on Airplane mode sometimes "fixes" this.
The text was updated successfully, but these errors were encountered:
👋 Paul, not sure, which build would that be though? I understand is off the develop branch but it's not clear if that's a release build or a debug build.
Debug builds should prioritize using the packager since that's the expected developer flow. Perhaps what we can explore is to reduce the timeout so the app looks for the embedded bundle sooner?
It's on the Debug build (I edited the issue above to specify this now).
Debug builds should prioritize using the packager since that's the expected developer flow. Perhaps what we can explore is to reduce the timeout so the app looks for the embedded bundle sooner?
IIRC, the app hangs until this network request that checks for a running packager times out (taken from Pods/React-Core/Default/RCTBundleURLProvider.m:
Describe the bug
This is a non-user facing bug that only affects the developer workflow on physical devices.
When opening the block editor from within WPiOS, it often happens that the editor freezes for one minute before loading. I think this issue has been around for over a year and has something to do with React Native waiting to find a running packager. In this scenario, there is no running packager so the app should load the pre-loaded bundle immediately.
To Reproduce
develop
branch (which uses the default Debug build config) on a physical deviceExpected behavior
The editor should load normally in a couple of seconds.
Smartphone (please complete the following information):
develop
Additional info
Turning on Airplane mode sometimes "fixes" this.
The text was updated successfully, but these errors were encountered: