Skip to content

Commit

Permalink
Fix: Login at web
Browse files Browse the repository at this point in the history
  • Loading branch information
timobaehr committed Mar 20, 2024
1 parent af75550 commit 4dde718
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.0.14
## 0.0.15

* Login at web should work

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.8"
version: "0.0.14"
flutter:
dependency: "direct main"
description: flutter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ class GoogleDriveService
return (await googleSignIn.signInSilently(suppressErrors: false)) ??
(interactiveLogin ? await googleSignIn.signIn() : null);
} catch (e) {
if (!interactiveLogin) {
return googleSignIn.signIn();
}
log.e(e);
}
return null;
Expand Down Expand Up @@ -410,4 +413,4 @@ class GoogleDriveService
? GoogleDriveFolder(folder: res.files![0])
: null;
}
}
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fl_cloud_storage
description: Store files in the cloud from Flutter apps. In the first step we only support Google Drive but adding other clouds is much appreciated.
version: 0.0.14
version: 0.0.15
homepage: https://github.com/ehwplus/fl_cloud_storage

environment:
Expand Down

0 comments on commit 4dde718

Please sign in to comment.