appwrite / sdk-for-flutter

[READ-ONLY] Official Appwrite Flutter SDK πŸ’™

Home Page:https://appwrite.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› Bug Report: pub.dev says appwrite package does not support web

stnguyen90 opened this issue Β· comments

πŸ‘Ÿ Reproduction steps

  1. Browse to appwrite on pub.dev

πŸ‘ Expected behavior

Platform incldues web

πŸ‘Ž Actual Behavior

Platform does not include web:

image

🎲 Appwrite version

Version 2.0.x

πŸ’» Operating system

Linux

🧱 Your Environment

No response

πŸ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏒 Have you read the Code of Conduct?

Pana can be used to see how pub.dev detects:

βœ“ Follow Dart file conventions (30 / 30)

[*] 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: BSD-3-Clause.

βœ“ Provide documentation (10 / 10)

[*] 10/10 points: Package has an example

βœ“ Platform support (20 / 20)

[*] 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • βœ“ Android
  • βœ“ iOS
  • βœ“ Windows
  • βœ“ Linux
  • βœ“ MacOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:appwrite/appwrite.dart that imports:
  • package:appwrite/src/realtime.dart that imports:
  • package:appwrite/src/client.dart that imports:
  • package:appwrite/src/client_browser.dart that imports:
  • package:flutter_web_auth_2/flutter_web_auth_2.dart that imports:
  • package:flutter_web_auth_2/src/flutter_web_auth_2_linux.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.

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:appwrite/appwrite.dart that imports:
  • package:appwrite/src/realtime.dart that imports:
  • package:appwrite/src/client.dart that imports:
  • package:appwrite/src/client_io.dart that imports:
  • package:flutter_web_auth_2/flutter_web_auth_2.dart that imports:
  • package:flutter_web_auth_2/src/flutter_web_auth_2_windows.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:appwrite/appwrite.dart that imports:
  • package:appwrite/src/realtime.dart that imports:
  • package:appwrite/src/client.dart that imports:
  • package:appwrite/src/client_io.dart that imports:
  • package:flutter_web_auth_2/flutter_web_auth_2.dart that imports:
  • package:flutter_web_auth_2/src/flutter_web_auth_2_windows.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Linux`.

Because:

  • package:appwrite/appwrite.dart that imports:
  • package:appwrite/src/realtime.dart that imports:
  • package:appwrite/src/client.dart that imports:
  • package:appwrite/src/client_io.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:appwrite/appwrite.dart that imports:
  • package:appwrite/src/realtime.dart that imports:
  • package:appwrite/src/client.dart that imports:
  • package:appwrite/src/client_io.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

βœ— Pass static analysis (0 / 30)

[x] 0/30 points: code has no errors, warnings, lints, or formatting issues

  • Failed to run dart analyze:
Analysis failed with unexpected output.
``--[no-]analytics` is deprecated.  Use `--suppress-analytics` to disable analytics for one run instead.`

βœ“ Support up-to-date dependencies (20 / 20)

[*] 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
cookie_jar ^3.0.1 3.0.1 4.0.1
device_info_plus ^8.1.0 8.1.0 8.1.0
flutter flutter 0.0.0 0.0.0
flutter_web_auth_2 ^2.0.4 2.1.2 2.1.2
http ^0.13.5 0.13.5 0.13.5
package_info_plus ^3.0.3 3.0.3 3.0.3
path_provider ^2.0.13 2.0.14 2.0.14
universal_html ^2.0.9 2.2.1 2.2.1
web_socket_channel ^2.3.0 2.3.0 2.3.0
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.17.1 1.17.1
crypto - 3.0.2 3.0.2
csslib - 0.17.2 0.17.2
device_info_plus_platform_interface - 7.0.0 7.0.0
ffi - 2.0.1 2.0.1
file - 6.1.4 6.1.4
flutter_web_auth_2_platform_interface - 2.1.0 2.1.0
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.2 0.15.2
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.6.7
material_color_utilities - 0.2.0 0.3.0
meta - 1.9.1 1.9.1
package_info_plus_platform_interface - 2.0.1 2.0.1
path - 1.8.3 1.8.3
path_provider_android - 2.0.24 2.0.24
path_provider_foundation - 2.2.1 2.2.1
path_provider_linux - 2.1.10 2.1.10
path_provider_platform_interface - 2.0.6 2.0.6
path_provider_windows - 2.1.5 2.1.5
platform - 3.1.0 3.1.0
plugin_platform_interface - 2.1.4 2.1.4
process - 4.2.4 4.2.4
sky_engine - 0.0.99 0.0.99
source_span - 1.9.1 1.9.1
stream_channel - 2.1.1 2.1.1
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.1 1.3.1
universal_io - 2.2.0 2.2.0
url_launcher - 6.1.10 6.1.10
url_launcher_android - 6.0.26 6.0.26
url_launcher_ios - 6.1.3 6.1.3
url_launcher_linux - 3.0.4 3.0.4
url_launcher_macos - 3.0.4 3.0.4
url_launcher_platform_interface - 2.1.2 2.1.2
url_launcher_web - 2.0.16 2.0.16
url_launcher_windows - 3.0.5 3.0.5
vector_math - 2.1.4 2.1.4
win32 - 3.1.3 4.1.1
window_to_front - 0.0.3 0.0.3
xdg_directories - 1.0.0 1.0.0

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

The constraint `^3.0.1` on cookie_jar does not support the stable version `4.0.0`, that was published 8 days ago.

When cookie_jar is 30 days old, this package will no longer be awarded points in this category.

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

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

βœ“ Support sound null safety (20 / 20)

[*] 20/20 points: Package and dependencies are fully migrated to null safety!

Points: 100/130.

@stnguyen90 The details shows something to do with Flutter Web Auth 2 Package, linux support. However the package itself shows web support, so I'll look if updating to latest version resolves the issue
image