Skip to content

Conversation

@JunielKatarn
Copy link
Contributor

@JunielKatarn JunielKatarn commented Jul 22, 2023

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

Under certain conditions (i.e. setting UseWebDebugger to false, Blob method addNetworkingHandler would be call prematurely.

Resolves #11439

What

If the Blob module HTTP resource dependency is not initialized when addNetworkingHandler is called, expose the underlying Blob resource using the property bag and re-invoke that Blob method once the HTTP resource is ready.

Testing

Applied changes to sample MSRN apps (i.e. react-native-gallery).

Microsoft Reviewers: codeflow:open?pullrequest=#11926

@JunielKatarn JunielKatarn merged commit 791786e into microsoft:main Jul 24, 2023
@JunielKatarn JunielKatarn deleted the GH/11439/blobhand branch July 24, 2023 19:34
JunielKatarn added a commit to jurocha-ms/react-native-windows that referenced this pull request Jul 24, 2023
…11926)

* Update packages.lock

* Remove HttpModule.h from OInstance.cpp

* Remove runtime option Blob.EnableModule

* Call SetupHttpResource only once

* Attempt AddNetworkingHandler if HTTP module was not ready

* Change files
JunielKatarn added a commit to jurocha-ms/react-native-windows that referenced this pull request Jul 24, 2023
…11926)

* Update packages.lock

* Remove HttpModule.h from OInstance.cpp

* Remove runtime option Blob.EnableModule

* Call SetupHttpResource only once

* Attempt AddNetworkingHandler if HTTP module was not ready

* Change files
JunielKatarn added a commit that referenced this pull request Jul 24, 2023
) (#11931)

* Attempt AddNetworkingHandler if HTTP module was not ready (#11926)

* Update packages.lock

* Remove HttpModule.h from OInstance.cpp

* Remove runtime option Blob.EnableModule

* Call SetupHttpResource only once

* Attempt AddNetworkingHandler if HTTP module was not ready

* Change files

* Remove change files

* Change files
JunielKatarn added a commit that referenced this pull request Jul 24, 2023
) (#11932)

* Attempt AddNetworkingHandler if HTTP module was not ready (#11926)

* Update packages.lock

* Remove HttpModule.h from OInstance.cpp

* Remove runtime option Blob.EnableModule

* Call SetupHttpResource only once

* Attempt AddNetworkingHandler if HTTP module was not ready

* Change files

* Change files
JunielKatarn added a commit to jurocha-ms/react-native-windows that referenced this pull request Aug 29, 2023
…11926)

* Update packages.lock

* Remove HttpModule.h from OInstance.cpp

* Remove runtime option Blob.EnableModule

* Call SetupHttpResource only once

* Attempt AddNetworkingHandler if HTTP module was not ready

* Change files
JunielKatarn added a commit to jurocha-ms/react-native-windows that referenced this pull request Aug 29, 2023
…11926)

* Update packages.lock

* Remove HttpModule.h from OInstance.cpp

* Remove runtime option Blob.EnableModule

* Call SetupHttpResource only once

* Attempt AddNetworkingHandler if HTTP module was not ready

* Change files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting Invalid response for BLOB at application startup

3 participants