portal_platform 0.4.0
portal_platform: ^0.4.0 copied to clipboard
Shared auth, API client, session, config, deep-link routing, and offline-first sync for Portal apps.
We analyzed this package 32 hours ago, and awarded it 110 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
539 out of 1013 API elements (53.2 %) have documentation comments.
Some symbols that are missing documentation: portal_platform.ApiClient.$configureLifeCycle, portal_platform.ApiClient.ApiClient.new, portal_platform.ApiException.ApiException.new, portal_platform.ApiException.code, portal_platform.ApiException.message.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:portal_platform/portal_platform.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:portal_platform/portal_platform.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:portal_platform/portal_platform.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:portal_platform/portal_platform.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:portal_platform/portal_platform.dartthat declares support for platforms:Android.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:portal_platform/portal_platform.dartthat imports:package:portal_platform/src/sync/syncable_repository.dartthat imports:package:portal_platform/src/sync/sync_queue.dartthat imports:package:portal_platform/src/storage/user_storage_scope.dartthat imports:package:portal_platform/src/session/session_controller.dartthat imports:package:portal_platform/src/services/api_client.dartthat imports:package:portal_platform/src/sync/connectivity_service.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/auth/device_security/portal_device_security_gate.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth/device_security/portal_device_security_gate.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/auth/device_security/portal_device_security_lock_view.dart:2:1
╷
2 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth/device_security/portal_device_security_lock_view.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
android_package_installer |
^0.0.3 |
0.0.3 | 0.0.3 | |
app_links |
^7.0.0 |
7.2.2 | 7.2.2 | |
cached_network_image |
^3.3.1 |
3.4.1 | 4.1.1 | |
connectivity_plus |
^6.1.0 |
6.1.5 | 7.3.2 | |
cryptography |
^2.7.0 |
2.9.0 | 2.9.0 | |
flutter_animate |
^4.5.2 |
4.5.2 | 4.5.2 | |
flutter_dotenv |
^6.0.0 |
6.0.2 | 6.0.2 | |
flutter_secure_storage |
^10.0.0 |
10.3.4 | 11.2.0 | |
freezed_annotation |
^2.4.1 |
2.4.4 | 3.1.0 | |
get |
^4.6.6 |
4.7.3 | 4.7.3 | |
get_storage |
^2.1.1 |
2.1.1 | 2.1.1 | |
google_sign_in |
^6.2.2 |
6.3.0 | 7.2.0 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
image_picker |
^1.2.1 |
1.2.4 | 1.2.4 | |
intl |
^0.20.2 |
0.20.3 | 0.20.3 | |
local_auth |
^2.3.0 |
2.3.0 | 3.0.2 | |
local_auth_android |
^1.0.56 |
1.0.56 | 2.3.1 | |
local_auth_darwin |
^1.6.1 |
1.6.1 | 2.0.5 | |
package_info_plus |
^10.1.0 |
10.2.2 | 10.2.2 | |
path_provider |
^2.1.5 |
2.1.6 | 2.1.6 | |
portal_crypto |
^0.1.0 |
0.1.1 | 0.1.1 | |
portal_ui_core |
^0.4.0 |
0.4.1 | 0.4.1 | |
sentry_flutter |
^9.21.0 |
9.30.2 | 10.7.0 | |
shared_preferences |
^2.2.2 |
2.5.6 | 2.5.6 | |
sqflite |
^2.4.1 |
2.4.6 | 2.4.6 | |
url_launcher |
^6.3.1 |
6.3.3 | 6.3.3 | |
uuid |
^4.5.1 |
4.6.0 | 4.6.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 9 issues. Showing the first 2:
The constraint `^3.3.1` on cached_network_image does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions cached_network_image to update the constraint.
The constraint `^6.1.0` on connectivity_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 6 errors:
UNDEFINED_NAMED_PARAMETER-lib/src/config/app_config.freezed.dart:48:12- The named parameter 'includeFromJson' isn't defined.UNDEFINED_NAMED_PARAMETER-lib/src/config/app_config.freezed.dart:48:36- The named parameter 'includeToJson' isn't defined.UNDEFINED_NAMED_PARAMETER-lib/src/config/app_config.freezed.dart:414:12- The named parameter 'includeFromJson' isn't defined.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.19, Flutter 3.50.1, Dart 3.14.0.
Check the analysis log for details.