flutter_mongodb_realm 2.3.0 copy "flutter_mongodb_realm: ^2.3.0" to clipboard
flutter_mongodb_realm: ^2.3.0 copied to clipboard

Unofficial plugin for using services of the serverless platform MongoDB Realm (previously called MongoDB Stitch).

42
likes
100/ 140
pub points
62%
popularity

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

OK
Follow Dart file conventions
30 / 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

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

129 out of 718 API elements (18.0 %) 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.

Some symbols that are missing documentation: anonymous_credential, anonymous_credential.AnonymousCredential, anonymous_credential.AnonymousCredential.AnonymousCredential, anonymous_credential.AnonymousCredential.toJson, apple_credential.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:flutter_mongodb_realm/auth/auth.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_mongodb_realm/auth/auth.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_mongodb_realm/auth/auth.dart that 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 Android

Because:

  • package:flutter_mongodb_realm/stream_interop/web.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:flutter_mongodb_realm/stream_interop/web.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:flutter_mongodb_realm/auth/auth.dart that imports:
  • package:flutter_mongodb_realm/auth/core_realm_user.dart that imports:
  • package:flutter_mongodb_realm/auth/mongo_realm_auth.dart that imports:
  • package:flutter_mongodb_realm/plugin.dart that imports:
  • package:universal_html/html.dart that imports:
  • package:universal_html/src/_sdk/html.dart that imports:
  • package:universal_html/src/_sdk_html_additions.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 18 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'false'.

lib/database/mongo_collection.dart:167:20

    ╷
167 │     if (resultJson == null) {
    │                    ^^^^^^^
    ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/google_sign_in_git_mock/google_sign_in.dart:125:17

    ╷
125 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/google_sign_in_git_mock/google_sign_in.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
bson ^4.0.0 4.0.0 5.0.4
flutter flutter 0.0.0 0.0.0
flutter_mongo_stitch_platform_interface ^2.2.1 2.2.1 2.2.1
flutter_mongo_stitch_web ^1.2.0 1.2.0 1.2.0
meta ^1.8.0 1.11.0 1.14.0
streams_channel3 ^1.0.1 1.0.1 1.0.1
universal_html ^2.2.2 2.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
decimal - 2.3.3 2.3.3
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
packages_extensions - 0.1.0 0.1.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
power_extensions - 0.2.2 0.2.2
rational - 2.2.2 2.2.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
uuid - 3.0.7 4.4.0
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 `^4.0.0` on bson does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions bson 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.

42
likes
100
pub points
62%
popularity

Publisher

verified publishermatiapps.com

Unofficial plugin for using services of the serverless platform MongoDB Realm (previously called MongoDB Stitch).

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

bson, flutter, flutter_mongo_stitch_platform_interface, flutter_mongo_stitch_web, meta, streams_channel3, universal_html

More

Packages that depend on flutter_mongodb_realm