I tried set mock mode in network plugin for react native app in this way
NetworkingModule.setCustomClientBuilder(
new NetworkingModule.CustomClientBuilder() {
@Override
public void apply(OkHttpClient.Builder builder) {
builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin, true));
}
});
After that, I see Mock button in Flipper. After closing Mock Network Responses dialog my mocked responses will not start to work. Is it possible that mock mode in network plugin does not work for react-native app?or are there other ways to connect it for app?
I tried set mock mode in network plugin for react native app in this way
After that, I see Mock button in Flipper. After closing Mock Network Responses dialog my mocked responses will not start to work. Is it possible that mock mode in network plugin does not work for react-native app?or are there other ways to connect it for app?