Commit 23d9f49
authored
chore: updated CXProvider init and config flow (#2326)
### 💡 Overview
Avoided CXProvider redundant recreation.
Updated CXProvider configuration setup.
🎫 Ticket:
https://linear.app/stream/issue/RN-414/cxprovider-instantiation-and-configuration-updates
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Summary by CodeRabbit
* **Bug Fixes**
* Improved call setup reliability by consistently applying the latest
call configuration before creating and starting calls.
* Fixed settings handling with a safer in-memory cache to improve
reliability across app sessions.
* Reduced issues from concurrent settings access to help prevent
inconsistent behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 95bcc2a commit 23d9f49
2 files changed
Lines changed: 30 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
131 | | - | |
| 133 | + | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
379 | 382 | | |
380 | 383 | | |
381 | 384 | | |
382 | | - | |
383 | | - | |
384 | 385 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 386 | + | |
405 | 387 | | |
406 | 388 | | |
407 | 389 | | |
| |||
615 | 597 | | |
616 | 598 | | |
617 | 599 | | |
| 600 | + | |
| 601 | + | |
618 | 602 | | |
619 | 603 | | |
620 | 604 | | |
621 | | - | |
| 605 | + | |
| 606 | + | |
622 | 607 | | |
623 | 608 | | |
624 | 609 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
10 | 20 | | |
11 | 21 | | |
12 | 22 | | |
13 | 23 | | |
14 | 24 | | |
15 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
16 | 28 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
20 | 33 | | |
21 | | - | |
22 | 34 | | |
23 | | - | |
24 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
25 | 38 | | |
26 | 39 | | |
27 | 40 | | |
| |||
0 commit comments