Skip to content

Commit 49a5597

Browse files
committed
docs: update
1 parent d2cf0d1 commit 49a5597

File tree

4 files changed

+28
-20
lines changed

4 files changed

+28
-20
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ It provides a simple API compatible with the [Web Storage API](https://developer
99
- **iOS** (SQLite backend via Room KMP)
1010
- **Web** (IndexedDB backend)
1111
- **macOS** (SQLite backend via Room KMP)
12+
- **visionOS** (legacy fallback, single database only)
1213
- **Windows** (legacy fallback, single database only)
1314

1415
## Compatibility
@@ -20,16 +21,17 @@ Compatibility table for React Native:
2021
| ios/android | 0.76 |
2122
| macOS | 0.78 |
2223
| visionOS | 0.79 |
23-
| tvOS | 0.79 |
24+
| windows | 0.79 |
2425

2526

2627
Other components:
2728

28-
| Component | Minimum Version |
29-
|------------------|-----------------|
30-
| kotlin | 2.1.0 |
31-
| android min sdk | 24 |
32-
| macOS min target | 12 |
29+
| Component | Version |
30+
|------------------|---------|
31+
| kotlin | 2.1.0 |
32+
| android min sdk | 24 |
33+
| ios min target | 13 |
34+
| macOS min target | 12 |
3335

3436
---
3537

docs/api/db-naming.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Creates database named `user-1234`:
7676

7777
![web-db-naming-1.png](../assets/db-naming-web-1.png)
7878

79-
### Windows
8079

81-
On the Web, `databaseName` corresponds directly to the name of the IndexedDB database.
82-
Although the `async-storage` grouping is abstracted away, the name remains unique across instances.
80+
### Windows and visionOS
81+
82+
Creating multiple storages is not supported on Windows and visionOS targets.

docs/api/usage.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ Data in one storage instance is isolated, ensuring that different names do not s
3737

3838
Windows does not support scoped storages. It falls back to the previous v2 implementation, which provides a single storage per application.
3939

40+
!!! warning "visionOS"
41+
42+
visionOS does not support scoped storages. It falls back to the previous v2 implementation, which provides a single storage per application.
43+
44+
4045
## Using a storage
4146

4247
After creating a storage instance, the storage is ready to use.

docs/migration-to-3.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,22 @@ AsyncStorage v3 introduces a few breaking changes to simplify the API and make i
88

99
Compatibility table for React Native:
1010

11-
| React Native | Minimum Version |
12-
|--------------------------|-----------------|
13-
| ios/android React Native | 0.76 |
14-
| macOS React Native | 0.78 |
15-
| visionOS React Native | 0.79 |
16-
| tvOS React Native | 0.79 |
11+
| React Native | Minimum Version |
12+
|--------------|-----------------|
13+
| ios/android | 0.76 |
14+
| macOS | 0.78 |
15+
| visionOS | 0.79 |
16+
| windows | 0.79 |
1717

1818

1919
Other components:
2020

21-
| Component | Minimum Version |
22-
|------------------|-----------------|
23-
| kotlin | 2.1.0 |
24-
| android min sdk | 24 |
25-
| macOS min target | 12 |
21+
| Component | Version |
22+
|------------------|---------|
23+
| kotlin | 2.1.0 |
24+
| android min sdk | 24 |
25+
| ios min target | 13 |
26+
| macOS min target | 12 |
2627

2728
### Installation changes
2829

0 commit comments

Comments
 (0)