Skip to content

Commit ab1b5fa

Browse files
committed
Docs
1 parent 36fc1a4 commit ab1b5fa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/react-native/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ The Android plugin mode can be configured with `okHttpInstrumentationType`:
245245
}
246246
```
247247

248+
`okHttpInstrumentationType` is Android-only and has no effect on iOS.
249+
248250
- `PROXY` (default): preserves existing `EventListener.Factory` behavior in OkHttp clients.
249251
- `OVERWRITE`: replaces the listener factory and can avoid duplicate network spans in some app setups.
250252

packages/react-native/src/plugin/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
export default interface PluginProps {
99
networkInstrumentation?: boolean;
10-
// Only used when networkInstrumentation is true.
10+
// Android-only. Only used when networkInstrumentation is true.
1111
okHttpInstrumentationType?: 'PROXY' | 'OVERWRITE';
1212
}

0 commit comments

Comments
 (0)