flutter_firebase_recaptcha 1.0.2 copy "flutter_firebase_recaptcha: ^1.0.2" to clipboard
flutter_firebase_recaptcha: ^1.0.2 copied to clipboard

provides a set of building blocks for creating a reCAPTCHA verifier and using that with your Firebase Phone authentication workflow

10
likes
80/ 140
pub points
82%
popularity

We analyzed this package 6 days ago, and awarded it 80 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting flutter_firebase_recaptcha... Discovering libraries... Linking elements... Precaching local docs for 615252 elements... Initialized dartdoc with 789 libraries Generating docs for library flutter_firebase_recaptcha.dart from package:flutter_firebase_recaptcha/flutter_firebase_recaptcha.dart... Generating docs for library firebase_recaptcha_verifier_modal.dart from package:flutter_firebase_recaptcha/firebase_recaptcha_verifier_modal.dart... Generating docs for library firebase_recaptcha.dart from package:flutter_firebase_recaptcha/firebase_recaptcha.dart... Documented 3 public libraries in 68.9 seconds ERR: warning: flutter_firebase_recaptcha has no library level documentation comments from flutter_firebase_recaptcha: (file:///tmp/pana_SXSRGS/lib/flutter_firebase_recaptcha.dart:1:9) warning: flutter_firebase_recaptcha has no library level documentation comments from flutter_firebase_recaptcha: (file:///tmp/pana_SXSRGS/lib/firebase_recaptcha.dart:1:9) error: file already written at "flutter_firebase_recaptcha/flutter_firebase_recaptcha-library.html" for symbol flutter_firebase_recaptcha: (file:///tmp/pana_SXSRGS/lib/firebase_recaptcha.dart:1:9) conflicting with file already generated by flutter_firebase_recaptcha: (file:///tmp/pana_SXSRGS/lib/flutter_firebase_recaptcha.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'flutter_firebase_recaptcha' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the [13 more lines]

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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:flutter_firebase_recaptcha/flutter_firebase_recaptcha.dart that imports:
  • package:flutter_firebase_recaptcha/firebase_recaptcha_verifier_modal.dart that imports:
  • package:flutter_firebase_recaptcha/firebase_recaptcha.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_firebase_recaptcha/flutter_firebase_recaptcha.dart that imports:
  • package:flutter_firebase_recaptcha/firebase_recaptcha_verifier_modal.dart that imports:
  • package:flutter_firebase_recaptcha/firebase_recaptcha.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_firebase_recaptcha/flutter_firebase_recaptcha.dart that imports:
  • package:flutter_firebase_recaptcha/firebase_recaptcha_verifier_modal.dart that imports:
  • package:flutter_firebase_recaptcha/firebase_recaptcha.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_firebase_recaptcha/flutter_firebase_recaptcha.dart that imports:
  • package:flutter_firebase_recaptcha/firebase_recaptcha_verifier_modal.dart that imports:
  • package:flutter_firebase_recaptcha/firebase_recaptcha.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: FirebaseRecaptcha.firebaseConfig, FirebaseRecaptcha.firebaseVersion, FirebaseRecaptcha.appVerificationDisabledForTesting, FirebaseRecaptcha.languageCode, FirebaseRecaptcha.onLoad, FirebaseRecaptcha.onError, FirebaseRecaptcha.onVerify, FirebaseRecaptcha.onFullChallenge, FirebaseRecaptcha.invisible, FirebaseRecaptcha.options

lib/firebase_recaptcha.dart:8:7

  ╷
8 │ class FirebaseRecaptcha extends StatelessWidget {
  │       ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_recaptcha.dart

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: FirebaseRecaptchaVerifierModal.firebaseConfig, FirebaseRecaptchaVerifierModal.firebaseVersion, FirebaseRecaptchaVerifierModal.appVerificationDisabledForTesting, FirebaseRecaptchaVerifierModal.languageCode, FirebaseRecaptchaVerifierModal.onLoad, FirebaseRecaptchaVerifierModal.onError, FirebaseRecaptchaVerifierModal.onVerify, FirebaseRecaptchaVerifierModal.onFullChallenge, FirebaseRecaptchaVerifierModal.attemptInvisibleVerification

lib/firebase_recaptcha_verifier_modal.dart:5:7

  ╷
5 │ class FirebaseRecaptchaVerifierModal extends StatefulWidget {
  │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_recaptcha_verifier_modal.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_inappwebview ^5.3.2 5.8.0 6.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^5.3.2` on flutter_inappwebview does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions flutter_inappwebview to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

10
likes
80
pub points
82%
popularity

Publisher

unverified uploader

provides a set of building blocks for creating a reCAPTCHA verifier and using that with your Firebase Phone authentication workflow

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, flutter_inappwebview

More

Packages that depend on flutter_firebase_recaptcha