social_login_plugin_example 0.0.4
social_login_plugin_example: ^0.0.4 copied to clipboard
A demonstration of social_login_plugin for seamless social login integration.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: social_login_plugin_example, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
example/pubspec.yaml from the repository has no repository or homepage URL.
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: GPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
4 out of 26 API elements (15.4 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: social_login_data_model, social_login_data_model.SocialLoginDataModel, social_login_data_model.SocialLoginDataModel.SocialLoginDataModel.new, social_login_data_model.SocialLoginDataModel.errorMessage, social_login_data_model.SocialLoginDataModel.firebaseAuthUser.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:social_login_plugin_example/model/social_login_data_model.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Windows`.
Because:
package:social_login_plugin_example/social_login_plugin.dartthat imports:package:sign_in_with_apple/sign_in_with_apple.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:social_login_plugin_example/model/social_login_data_model.dartthat imports:package:firebase_auth/firebase_auth.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package does not support platform `macOS`.
Because:
package:social_login_plugin_example/social_login_plugin.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:social_login_plugin_example/model/social_login_data_model.dartthat imports:package:firebase_auth/firebase_auth.dartthat 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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/social_login_plugin_example/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: Unnecessary braces in a string interpolation.
lib/model/social_login_data_model.dart:16:24
╷
16 │ return "{socialId: ${socialId},status: ${status},errorMessage: ${errorMessage}, firebaseAuthUser: ${firebaseAuthUser}}";
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/model/social_login_data_model.dart
INFO: Unnecessary braces in a string interpolation.
lib/model/social_login_data_model.dart:16:44
╷
16 │ return "{socialId: ${socialId},status: ${status},errorMessage: ${errorMessage}, firebaseAuthUser: ${firebaseAuthUser}}";
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/model/social_login_data_model.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
firebase_auth |
^4.15.3 |
4.16.0 | 6.1.2 | |
firebase_core |
^2.24.2 |
2.32.0 | 4.2.1 | |
flutter_facebook_auth |
^6.0.3 |
6.2.0 | 7.1.2 | |
fluttertoast |
^8.2.4 |
8.2.14 | 9.0.0 | |
google_sign_in |
^6.2.1 |
6.3.0 | 7.2.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
sign_in_with_apple |
^5.0.0 |
5.0.0 | 7.0.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 6 issues. Showing the first 2:
The constraint `^4.15.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.
The constraint `^2.24.2` on firebase_core does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions firebase_core 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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.
Check the analysis log for details.