supabase_hooks 0.0.7
supabase_hooks: ^0.0.7 copied to clipboard
Unofficial Flutter Supabase life cycle adaptation for flutter_hooks.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
38 out of 50 API elements (76.0 %) have documentation comments.
Some symbols that are missing documentation: supabase_hooks
, supabase_hooks.SupabaseAuthLifeState.SupabaseAuthLifeState.new
, supabase_hooks.SupabaseAuthLifeState.recoverSessionFromUrl
, supabase_hooks.SupabaseAuthRequiredLifeState.SupabaseAuthRequiredLifeState.new
, supabase_hooks.SupabaseAuthRequiredLifeState.onResumed
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:supabase_hooks/supabase_hooks.dart
that imports:package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart
that imports:package:uni_links/uni_links.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:supabase_hooks/supabase_hooks.dart
that imports:package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart
that imports:package:uni_links/uni_links.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:supabase_hooks/supabase_hooks.dart
that imports:package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart
that imports:package:uni_links/uni_links.dart
that declares support for platforms:Android
,iOS
,Web
.
Package not compatible with platform Web
Because:
package:supabase_hooks/supabase_hooks.dart
that imports:package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart
that imports:package:supabase_flutter/supabase_flutter.dart
that imports:package:supabase_flutter/src/supabase.dart
that imports:package:supabase/supabase.dart
that imports:package:supabase/src/supabase.dart
that imports:package:storage_client/storage_client.dart
that imports:package:storage_client/src/storage_client.dart
that imports:package:storage_client/src/storage_file_api.dart
that imports:package:storage_client/src/fetch.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_browser.dart
that imports:package:universal_io/src/internet_address.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:supabase_hooks/supabase_hooks.dart
that imports:package:supabase_hooks/src/supabase_deep_linking_life_mixin.dart
that imports:package:supabase_flutter/supabase_flutter.dart
that imports:package:supabase_flutter/src/supabase.dart
that imports:package:supabase_flutter/src/local_storage.dart
that imports:package:hive_flutter/hive_flutter.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Missing case clause for 'hidden'.
lib/src/supabase_auth_required_life_state.dart:51:5
╷
51 │ switch (state) {
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/supabase_auth_required_life_state.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_hooks |
^0.18.4 |
0.18.6 | 0.21.2 | |
hive |
^2.1.0 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
life_hooks |
^0.0.7 |
0.0.18 | 0.0.21 | |
supabase |
^0.3.3 |
0.3.6 | 2.6.3 | |
supabase_flutter |
^0.3.0 |
0.3.3 | 2.8.4 | |
uni_links |
^0.5.1 |
0.5.1 | 0.5.1 | Discontinued |
url_launcher |
^6.1.0 |
6.3.1 | 6.3.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
functions_client |
- | 0.0.1-dev.5 | 2.4.1 | |
gotrue |
- | 0.2.3 | 2.11.1 | |
http |
- | 0.13.6 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jwt_decode |
- | 0.3.1 | 0.3.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.16 | 2.2.16 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
postgrest |
- | 0.1.11 | 2.4.1 | |
realtime_client |
- | 0.1.15+1 | 2.4.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
storage_client |
- | 0.0.6+2 | 2.3.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uni_links_platform_interface |
- | 1.0.0 | 1.0.0 | |
uni_links_web |
- | 0.1.0 | 0.1.0 | |
universal_io |
- | 2.2.2 | 2.2.2 | |
url_launcher_android |
- | 6.3.15 | 6.3.15 | |
url_launcher_ios |
- | 6.3.2 | 6.3.2 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.0 | 2.4.0 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
vector_math |
- | 2.1.4 | 2.1.4 | |
web |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.2 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^0.18.4` on flutter_hooks does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions flutter_hooks
to update the constraint.
The constraint `^0.3.3` on supabase does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions supabase
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.