Skip to content

Commit d56bdb5

Browse files
fix(realtime): reconnect issue
1 parent a505d07 commit d56bdb5

16 files changed

+19
-15
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.0.2
2+
- Fix realtime not restarting when there was only one subscription and that was closed and reopened
3+
14
## 2.0.1
25
- Fix realtime close and reconnect working only 1 out of two times due to future returning too early
36
- Add dart doc comments to newly added response models

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
2121

2222
```yml
2323
dependencies:
24-
appwrite: ^2.0.1
24+
appwrite: ^2.0.2
2525
```
2626
2727
You can install packages from the command line:

docs/examples/avatars/get-browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FutureBuilder(
1818
builder: (context, snapshot) {
1919
return snapshot.hasData && snapshot.data != null
2020
? Image.memory(
21-
snapshot.data.data,
21+
snapshot.data,
2222
)
2323
: CircularProgressIndicator();
2424
},

docs/examples/avatars/get-credit-card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FutureBuilder(
1818
builder: (context, snapshot) {
1919
return snapshot.hasData && snapshot.data != null
2020
? Image.memory(
21-
snapshot.data.data,
21+
snapshot.data,
2222
)
2323
: CircularProgressIndicator();
2424
},

docs/examples/avatars/get-favicon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FutureBuilder(
1818
builder: (context, snapshot) {
1919
return snapshot.hasData && snapshot.data != null
2020
? Image.memory(
21-
snapshot.data.data,
21+
snapshot.data,
2222
)
2323
: CircularProgressIndicator();
2424
},

docs/examples/avatars/get-flag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FutureBuilder(
1818
builder: (context, snapshot) {
1919
return snapshot.hasData && snapshot.data != null
2020
? Image.memory(
21-
snapshot.data.data,
21+
snapshot.data,
2222
)
2323
: CircularProgressIndicator();
2424
},

docs/examples/avatars/get-image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FutureBuilder(
1818
builder: (context, snapshot) {
1919
return snapshot.hasData && snapshot.data != null
2020
? Image.memory(
21-
snapshot.data.data,
21+
snapshot.data,
2222
)
2323
: CircularProgressIndicator();
2424
},

docs/examples/avatars/get-initials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FutureBuilder(
1717
builder: (context, snapshot) {
1818
return snapshot.hasData && snapshot.data != null
1919
? Image.memory(
20-
snapshot.data.data,
20+
snapshot.data,
2121
)
2222
: CircularProgressIndicator();
2323
},

docs/examples/avatars/get-q-r.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FutureBuilder(
1818
builder: (context, snapshot) {
1919
return snapshot.hasData && snapshot.data != null
2020
? Image.memory(
21-
snapshot.data.data,
21+
snapshot.data,
2222
)
2323
: CircularProgressIndicator();
2424
},

docs/examples/storage/get-file-download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FutureBuilder(
1818
builder: (context, snapshot) {
1919
return snapshot.hasData && snapshot.data != null
2020
? Image.memory(
21-
snapshot.data.data,
21+
snapshot.data,
2222
)
2323
: CircularProgressIndicator();
2424
},

0 commit comments

Comments
 (0)