@onekeyfe/react-native-network-throttle 3.0.179 → 3.0.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,6 +36,18 @@ validate effects on the actual native request path it uses. A returned config
|
|
|
36
36
|
is not a measurement of achieved throughput. See [src/index.tsx](src/index.tsx)
|
|
37
37
|
for the public types, constants and native-linking failure behavior.
|
|
38
38
|
|
|
39
|
+
## Applying a diagnostic profile
|
|
40
|
+
|
|
41
|
+
The exported `NETWORK_THROTTLE_SLOW_4G_LATENCY_MS` preset is 562.5 ms.
|
|
42
|
+
Download and upload preset constants both use 102 × 1024 bytes per second.
|
|
43
|
+
`NetworkThrottleProfile`, `NetworkThrottleConfig` and `NetworkThrottleModule`
|
|
44
|
+
are exported for application diagnostic controls.
|
|
45
|
+
|
|
46
|
+
Partial updates perform a read followed by a write; they do not expose an atomic
|
|
47
|
+
compare-and-set operation across independent callers. Coordinate changes in the
|
|
48
|
+
application. If native registration is missing, accessing the wrapper throws
|
|
49
|
+
an integration error with pod-install/rebuild guidance.
|
|
50
|
+
|
|
39
51
|
## Upstream attribution
|
|
40
52
|
|
|
41
53
|
React Native native network throttle for OneKey iOS and Android development settings.
|