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).

43
likes
120/ 160
pub points
67%
popularity

We analyzed this package 11 hours ago, and awarded it 120 pub points (of a possible 160):

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 713 API elements (18.1 %) 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: anonymous_credential, anonymous_credential.AnonymousCredential, anonymous_credential.AnonymousCredential.AnonymousCredential, anonymous_credential.AnonymousCredential.toJson, apple_credential.

10/10 points: Package has an example

failed
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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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 iOS

It does not contain ios/flutter_mongodb_realm/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.

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
30 / 40trigger 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.5
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.15.0 1.16.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.12.0 2.12.0
characters - 1.3.0 1.3.1
charcode - 1.4.0 1.4.0
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
decimal - 2.3.3 3.1.0
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
packages_extensions - 0.1.0 0.1.1
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
power_extensions - 0.2.3 0.2.3
rational - 2.2.3 2.2.3
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.4.0 1.4.0
universal_io - 2.2.2 2.2.2
uuid - 3.0.7 4.5.1
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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

43
likes
120
pub points
67%
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