Commit ef19471
authored
Implement operation to clear local data created by the SDK (#6090)
* Refactor cache management.
* Refactor external storage management.
* Introduce ChatClient#clearCacheAndTemporaryFiles method.
* Update CHANGELOG.md.
* Update clean-up logic.
* Update clean-up logic.
* Fix remarks
* Fix remarks
* Fix remarks
* Solidify external storage filename matching.1 parent e95043a commit ef19471
22 files changed
Lines changed: 1810 additions & 615 deletions
File tree
- stream-chat-android-client
- api
- src
- main/java/io/getstream/chat/android/client
- internal/file
- test/java/io/getstream/chat/android/client
- internal/file
- stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose
- ui/attachments/preview
- util
- stream-chat-android-ui-common
- api
- src
- main/kotlin/io/getstream
- chat/android/ui/common
- contract/internal
- feature/messages/composer
- helper/internal
- images
- internal/file
- state/messages/composer
- utils
- sdk/chat/audio/recording
- test/kotlin/io/getstream/chat/android/ui/common
- internal/file
- utils
- stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui
- feature/gallery
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| 235 | + | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
| |||
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
| 295 | + | |
293 | 296 | | |
294 | 297 | | |
295 | 298 | | |
| |||
1479 | 1482 | | |
1480 | 1483 | | |
1481 | 1484 | | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
1482 | 1519 | | |
1483 | 1520 | | |
1484 | 1521 | | |
| |||
0 commit comments