Skip to main content

portal_platform 0.1.1 copy "portal_platform: ^0.1.1" to clipboard
portal_platform: ^0.1.1 copied to clipboard

PlatformAndroid

Shared auth, API client, session, config, deep-link routing, and offline-first sync for Portal apps.

110/ 160
pub points
36
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

477 out of 879 API elements (54.3 %) 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:portal_platform/portal_platform.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:portal_platform/portal_platform.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:portal_platform/portal_platform.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:portal_platform/portal_platform.dart that 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.dart that imports:
  • package:portal_platform/src/sync/syncable_repository.dart that imports:
  • package:portal_platform/src/sync/sync_queue.dart that imports:
  • package:portal_platform/src/storage/user_storage_scope.dart that imports:
  • package:portal_platform/src/session/session_controller.dart that imports:
  • package:portal_platform/src/services/api_client.dart that imports:
  • package:portal_platform/src/sync/connectivity_service.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 25 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
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.1.0 0.1.2 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
Package Constraint Compatible Latest Notes
animations - 2.2.0 3.0.0
app_links_linux - 1.0.5 1.0.5
app_links_platform_interface - 2.0.4 2.0.4
app_links_web - 1.0.5 1.0.5
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
cached_network_image_platform_interface - 4.1.1 5.0.4
cached_network_image_web - 1.3.1 2.0.5
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.2.0 2.2.0
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.1.0 2.1.0
cross_file - 0.3.5+5 0.4.0
crypto - 3.0.8 3.0.8
dbus - 0.7.15 0.8.1
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
file - 7.0.1 7.0.1
file_selector_linux - 0.9.4+1 0.9.4+1
file_selector_macos - 0.9.5+2 0.9.5+2
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+6 0.9.3+6
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.5.0 3.5.0
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
flutter_secure_storage_darwin - 0.3.2 0.4.3
flutter_secure_storage_linux - 3.0.3 3.0.3
flutter_secure_storage_platform_interface - 2.1.1 2.1.1
flutter_secure_storage_web - 2.1.1 2.1.1
flutter_secure_storage_windows - 4.2.2 4.2.2
flutter_shaders - 0.1.5 0.1.5
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 6.2.1 7.2.20
google_sign_in_ios - 5.9.0 6.4.0
google_sign_in_platform_interface - 2.5.0 3.1.0
google_sign_in_web - 0.12.4+4 1.1.3
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+25 0.8.13+25
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+16 0.8.13+16
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.2 2.11.2
image_picker_windows - 0.2.2 0.2.2
jni - 0.14.2 1.2.1
json_annotation - 4.12.0 4.12.0
listen - 1.0.1 1.0.1
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 2.0.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
nm - 0.5.0 0.6.0
objective_c - 9.6.4 9.6.4
octo_image - 2.3.0 2.3.0
package_config - 2.2.0 3.0.0
package_info_plus_platform_interface - 4.1.0 4.1.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.23 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.2.0 7.2.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
rxdart - 0.28.0 0.28.0
sentry - 9.30.2 10.7.0
shared_preferences_android - 2.4.28 2.5.5
shared_preferences_foundation - 2.6.2 2.6.2
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
shimmer - 3.0.0 4.0.0
source_span - 1.10.2 1.10.2
sqflite_android - 2.4.6 2.4.6
sqflite_common - 2.5.17 2.5.17
sqflite_darwin - 2.4.6 2.4.6
sqflite_platform_interface - 2.4.4 2.4.4
stack_trace - 1.12.2 1.12.2
string_scanner - 1.4.1 1.4.1
synchronized - 3.6.1+1 3.6.1+1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.35 6.3.35
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.7 3.1.7
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
win32 - 6.4.0 6.4.0
xdg_directories - 1.1.0 1.1.0
xml - 7.1.0 7.1.0
yaml - 3.1.4 3.1.4

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

Found 10 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.

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

Failed check 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.

Weekly downloads

Display as:
By versions: