firebase_multi_factor_auth 0.0.1
firebase_multi_factor_auth: ^0.0.1 copied to clipboard
Flutter & Dart library for implementing multi factor auth via Firebase.
We analyzed this package 2 days ago, and awarded it 100 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
32 out of 125 API elements (25.6 %) have documentation comments.
Some symbols that are missing documentation: 1_firebase_multi_factor_auth_widget, 1_firebase_multi_factor_auth_widget.FirebaseMultiFactorAuthWidget, 1_firebase_multi_factor_auth_widget.FirebaseMultiFactorAuthWidget.FirebaseMultiFactorAuthWidget.new, 1_firebase_multi_factor_auth_widget.FirebaseMultiFactorAuthWidget.loginWidget, 1_firebase_multi_factor_auth_widget.FirebaseMultiFactorAuthWidget.mainWidget.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:firebase_multi_factor_auth/firebase_multi_factor_auth.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:firebase_multi_factor_auth/firebase_multi_factor_auth.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:firebase_multi_factor_auth/firebase_multi_factor_auth.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:firebase_multi_factor_auth/firebase_multi_factor_auth.dartthat imports:package:firebase_multi_factor_auth/functions/sign_out.dartthat imports:package:firebase_multi_factor_auth/provider/auth_provider.dartthat imports:package:firebase_multi_factor_auth/utils/storage/encrypted_storage.dartthat imports:package:firebase_multi_factor_auth/utils/storage/encryption_utils.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
ERROR: The name 'AuthProvider' is defined in the libraries 'package:firebase_auth_platform_interface/src/auth_provider.dart (via package:firebase_auth/firebase_auth.dart)' and 'package:firebase_multi_factor_auth/provider/auth_provider.dart'.
lib/functions/firestore_set_first_login.dart:19:15
╷
19 │ Provider.of<AuthProvider>(context, listen: false).notifyListeners();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/functions/firestore_set_first_login.dart
ERROR: The name 'AuthProvider' is defined in the libraries 'package:firebase_auth_platform_interface/src/auth_provider.dart (via package:firebase_auth/firebase_auth.dart)' and 'package:firebase_multi_factor_auth/provider/auth_provider.dart'.
lib/functions/login_second_provider.dart:17:34
╷
17 │ var authProvider = Provider.of<AuthProvider>(context, listen: false);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/functions/login_second_provider.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cloud_firestore |
^4.8.2 |
4.17.5 | 6.1.2 | |
firebase_auth |
^4.6.3 |
4.16.0 | 6.1.4 | |
flutter_secure_storage |
^8.0.0 |
8.1.0 | 10.0.0 | |
google_sign_in |
^6.1.4 |
6.3.0 | 7.2.0 | |
logger |
^1.4.0 |
1.4.0 | 2.6.2 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
provider |
^6.0.5 |
6.1.5+1 | 6.1.5+1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.35 | 1.3.66 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
cloud_firestore_platform_interface |
- | 6.2.5 | 7.0.6 | |
cloud_firestore_web |
- | 3.12.5 | 5.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
firebase_auth_platform_interface |
- | 7.3.0 | 8.1.6 | |
firebase_auth_web |
- | 5.8.13 | 6.1.2 | |
firebase_core |
- | 2.32.0 | 4.4.0 | |
firebase_core_platform_interface |
- | 5.4.2 | 6.0.2 | |
firebase_core_web |
- | 2.24.0 | 3.4.0 | |
flutter_secure_storage_linux |
- | 1.2.3 | 3.0.0 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.1.0 | |
flutter_secure_storage_windows |
- | 2.1.1 | 4.1.0 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
google_sign_in_android |
- | 6.2.1 | 7.2.7 | |
google_sign_in_ios |
- | 5.9.0 | 6.2.5 | |
google_sign_in_platform_interface |
- | 2.5.0 | 3.1.0 | |
google_sign_in_web |
- | 0.12.4+4 | 1.1.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
matcher |
- | 0.12.17 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.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 | |
test_api |
- | 0.7.7 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^4.8.2` on cloud_firestore does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions cloud_firestore to update the constraint.
The constraint `^4.6.3` on firebase_auth does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions firebase_auth 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.23.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.