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
Downloads were working fine on Android, and native logs all looked fine on iOS but it would never publish the events back to JS. I'm not sure if these is a safe fix but it has worked okay for me so far.
I encountered the same issue. It happens only in the New Architecture: using the library via the interop layer doesn't trigger the handleBridgeJavascriptLoad function.
When I use the app via Old Architecture, I see in the native logs this line right at the app start, while in the New Architecture, it's absent and no events are emitted back to JS. <0x60000222c780 RNBackgroundDownloader.m:(168)> [RNBackgroundDownloader] - [handleBridgeJavascriptLoad]
I think it's safe to suppose that the JS is loaded in the case of no-bridge mode. Fixing this issue will make this library compatible with the RN New Architecture!
Today I used patch-package to patch
@kesha-antonov/[email protected]
for the project I'm working on.Downloads were working fine on Android, and native logs all looked fine on iOS but it would never publish the events back to JS. I'm not sure if these is a safe fix but it has worked okay for me so far.
The text was updated successfully, but these errors were encountered: