appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.89k stars 466 forks source link

Error: Unable to resolve data for blob: (null) - React native #1785

Closed manuelabarca closed 2 years ago

manuelabarca commented 2 years ago

Affected Projects React native ("@appbaseio/reactivesearch-native")

Library Version: x.y.z ^0.12.0

Describe the bug I have this error "Error: Unable to resolve data for blob: (null)" in production, when i development i have this

if (typeof GLOBAL !== 'undefined' && __DEV__) {
    // Route network requests through Chrome's native XMLHttpRequest
    GLOBAL.XMLHttpRequest = GLOBAL.originalXMLHttpRequest || GLOBAL.XMLHttpRequest;

    // Use native Blob for native XMLHttpRequest set above
    GLOBAL.Blob = GLOBAL.originalBlob || GLOBAL.Blob;

    // Use native FileReader to read native Blob set above
    GLOBAL.FileReader = GLOBAL.originalFileReader || GLOBAL.FileReader;
}

But when i try in release mode i see blob error and not search in elastic :S Any help with this ?

To Reproduce Build app in release mode.

Snapshots

Captura de Pantalla 2021-09-15 a la(s) 10 35 54

Smartphone (please complete the following information):

Additional context When I am in debug mode it works without any problem, but when we launched the version to test flight we realized that the results were not coming from the elastic search, after debugging in release mode from xcode we realized that it throws this blob error (null) and we don't know why that should only happen in debug mode

siddharthlatest commented 2 years ago

@manuelabarca Can you use the issue template to add the details, which library / version / environment / replicable snippet would be good for us to check more on.

manuelabarca commented 2 years ago

@manuelabarca Can you use the issue template to add the details, which library / version / environment / replicable snippet would be good for us to check more on.

I just updated with the template, If you know any possible solution, I would appreciate it

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.