Effect CommunityEC
Effect Community8mo ago
11 replies
imagio

Issues with RPC in Android Release Builds on React Native New Architecture

I'm updating my react native app to the new architecture and the new RPC api. There's a problem with RPC only on android release builds, requests hang for several minutes, fail, then suddenly start working fine. The only clue I have is in adb logcat as soon as an rpc request should be sent I see org.json.JSONException: No value for response.

I suspect some quirk of the react native new architecture is clashing with effect/platform FetchHttpClient. I know it's a longshot but has anybody else run into issues with RPC on the latest react native and possibly have any clues?
Was this page helpful?