amity_sdk 0.52.1 copy "amity_sdk: ^0.52.1" to clipboard
amity_sdk: ^0.52.1 copied to clipboard

The SDK that enables social features such as Feeds, Groups, Profiles, Content Posts, and Social Media Type Interactions

17
likes
100/ 160
pub points
85%
popularity

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

failed
Follow Dart file conventions
20 / 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

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

834 out of 2024 API elements (41.2 %) have documentation comments.

Some symbols that are missing documentation: amity_sdk.All, amity_sdk.All.All, amity_sdk.All.value, amity_sdk.AmityAd, amity_sdk.AmityAd.AmityAd.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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 not compatible with platform Web

Because:

  • package:amity_sdk/amity_sdk.dart that imports:
  • package:amity_sdk/src/public/public.dart that imports:
  • package:amity_sdk/src/public/token/token.dart that imports:
  • package:amity_sdk/src/public/token/amity_user_token_manager.dart that imports:
  • package:amity_sdk/src/domain/domain.dart that imports:
  • package:amity_sdk/src/domain/usecase/usecase.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/story.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/create_story_usecase.dart that imports:
  • package:amity_sdk/src/domain/composer_usecase/story_composer_usercase.dart that imports:
  • package:amity_sdk/src/domain/repo/story_target_repo.dart that imports:
  • package:amity_sdk/src/domain/repo/amity_object_repository.dart that imports:
  • package:amity_sdk/src/data/data_source/data_source.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/remote.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/http_api_interface_impl.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/network_settings_api_interface_impl.dart that imports:
  • package:amity_sdk/src/src.dart that imports:
  • package:amity_sdk/src/data/data.dart that imports:
  • package:amity_sdk/src/data/response/response.dart that imports:
  • package:amity_sdk/src/data/response/create_sub_channel_response.dart that imports:
  • package:amity_sdk/src/domain/model/sub_channel/amity_sub_channel.dart that imports:
  • package:amity_sdk/src/core/core.dart that imports:
  • package:amity_sdk/src/core/socket/socket.dart that imports:
  • package:amity_sdk/src/core/socket/event/event.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_remove_reaction_event_listener.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_event_listener.dart that imports:
  • package:amity_sdk/src/core/service_locator/service_locator.dart that imports:
  • package:amity_sdk/src/core/service_locator/sdk_service_locator.dart that imports:
  • package:amity_sdk/src/data/repo_impl/story_repo_impl.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/api_interface/story_api_interface.dart that imports:
  • package:amity_sdk/src/core/model/api_request/create_stroy_request.dart that imports:
  • dart:io

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:amity_sdk/amity_sdk.dart that imports:
  • package:amity_sdk/src/public/public.dart that imports:
  • package:amity_sdk/src/public/token/token.dart that imports:
  • package:amity_sdk/src/public/token/amity_user_token_manager.dart that imports:
  • package:amity_sdk/src/domain/domain.dart that imports:
  • package:amity_sdk/src/domain/usecase/usecase.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/story.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/create_story_usecase.dart that imports:
  • package:amity_sdk/src/domain/composer_usecase/story_composer_usercase.dart that imports:
  • package:amity_sdk/src/domain/repo/story_target_repo.dart that imports:
  • package:amity_sdk/src/domain/repo/amity_object_repository.dart that imports:
  • package:amity_sdk/src/data/data_source/data_source.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/remote.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/http_api_interface_impl.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/network_settings_api_interface_impl.dart that imports:
  • package:amity_sdk/src/src.dart that imports:
  • package:amity_sdk/src/data/data.dart that imports:
  • package:amity_sdk/src/data/response/response.dart that imports:
  • package:amity_sdk/src/data/response/create_sub_channel_response.dart that imports:
  • package:amity_sdk/src/domain/model/sub_channel/amity_sub_channel.dart that imports:
  • package:amity_sdk/src/core/core.dart that imports:
  • package:amity_sdk/src/core/socket/socket.dart that imports:
  • package:amity_sdk/src/core/socket/event/event.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_remove_reaction_event_listener.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_event_listener.dart that imports:
  • package:amity_sdk/src/core/service_locator/service_locator.dart that imports:
  • package:amity_sdk/src/core/service_locator/sdk_service_locator.dart that imports:
  • package:amity_sdk/src/core/socket/amity_socket.dart that imports:
  • package:amity_sdk/src/public/amity_core_client.dart that imports:
  • package:amity_sdk/src/core/core_client.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:amity_sdk/amity_sdk.dart that imports:
  • package:amity_sdk/src/public/public.dart that imports:
  • package:amity_sdk/src/public/token/token.dart that imports:
  • package:amity_sdk/src/public/token/amity_user_token_manager.dart that imports:
  • package:amity_sdk/src/domain/domain.dart that imports:
  • package:amity_sdk/src/domain/usecase/usecase.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/story.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/create_story_usecase.dart that imports:
  • package:amity_sdk/src/domain/composer_usecase/story_composer_usercase.dart that imports:
  • package:amity_sdk/src/domain/repo/story_target_repo.dart that imports:
  • package:amity_sdk/src/domain/repo/amity_object_repository.dart that imports:
  • package:amity_sdk/src/data/data_source/data_source.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/remote.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/http_api_interface_impl.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/network_settings_api_interface_impl.dart that imports:
  • package:amity_sdk/src/src.dart that imports:
  • package:amity_sdk/src/data/data.dart that imports:
  • package:amity_sdk/src/data/response/response.dart that imports:
  • package:amity_sdk/src/data/response/create_sub_channel_response.dart that imports:
  • package:amity_sdk/src/domain/model/sub_channel/amity_sub_channel.dart that imports:
  • package:amity_sdk/src/core/core.dart that imports:
  • package:amity_sdk/src/core/socket/socket.dart that imports:
  • package:amity_sdk/src/core/socket/event/event.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_remove_reaction_event_listener.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_event_listener.dart that imports:
  • package:amity_sdk/src/core/service_locator/service_locator.dart that imports:
  • package:amity_sdk/src/core/service_locator/sdk_service_locator.dart that imports:
  • package:amity_sdk/src/core/socket/amity_socket.dart that imports:
  • package:amity_sdk/src/public/amity_core_client.dart that imports:
  • package:amity_sdk/src/core/core_client.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:amity_sdk/amity_sdk.dart that imports:
  • package:amity_sdk/src/public/public.dart that imports:
  • package:amity_sdk/src/public/token/token.dart that imports:
  • package:amity_sdk/src/public/token/amity_user_token_manager.dart that imports:
  • package:amity_sdk/src/domain/domain.dart that imports:
  • package:amity_sdk/src/domain/usecase/usecase.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/story.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/create_story_usecase.dart that imports:
  • package:amity_sdk/src/domain/composer_usecase/story_composer_usercase.dart that imports:
  • package:amity_sdk/src/domain/repo/story_target_repo.dart that imports:
  • package:amity_sdk/src/domain/repo/amity_object_repository.dart that imports:
  • package:amity_sdk/src/data/data_source/data_source.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/remote.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/http_api_interface_impl.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/network_settings_api_interface_impl.dart that imports:
  • package:amity_sdk/src/src.dart that imports:
  • package:amity_sdk/src/data/data.dart that imports:
  • package:amity_sdk/src/data/response/response.dart that imports:
  • package:amity_sdk/src/data/response/create_sub_channel_response.dart that imports:
  • package:amity_sdk/src/domain/model/sub_channel/amity_sub_channel.dart that imports:
  • package:amity_sdk/src/core/core.dart that imports:
  • package:amity_sdk/src/core/socket/socket.dart that imports:
  • package:amity_sdk/src/core/socket/event/event.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_remove_reaction_event_listener.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_event_listener.dart that imports:
  • package:amity_sdk/src/core/service_locator/service_locator.dart that imports:
  • package:amity_sdk/src/core/service_locator/sdk_service_locator.dart that imports:
  • package:amity_sdk/src/core/socket/amity_socket.dart that imports:
  • package:amity_sdk/src/public/amity_core_client.dart that imports:
  • package:amity_sdk/src/core/core_client.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:amity_sdk/amity_sdk.dart that imports:
  • package:amity_sdk/src/public/public.dart that imports:
  • package:amity_sdk/src/public/token/token.dart that imports:
  • package:amity_sdk/src/public/token/amity_user_token_manager.dart that imports:
  • package:amity_sdk/src/domain/domain.dart that imports:
  • package:amity_sdk/src/domain/usecase/usecase.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/story.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/create_story_usecase.dart that imports:
  • package:amity_sdk/src/domain/composer_usecase/story_composer_usercase.dart that imports:
  • package:amity_sdk/src/domain/repo/story_target_repo.dart that imports:
  • package:amity_sdk/src/domain/repo/amity_object_repository.dart that imports:
  • package:amity_sdk/src/data/data_source/data_source.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/remote.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/http_api_interface_impl.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/network_settings_api_interface_impl.dart that imports:
  • package:amity_sdk/src/src.dart that imports:
  • package:amity_sdk/src/data/data.dart that imports:
  • package:amity_sdk/src/data/response/response.dart that imports:
  • package:amity_sdk/src/data/response/create_sub_channel_response.dart that imports:
  • package:amity_sdk/src/domain/model/sub_channel/amity_sub_channel.dart that imports:
  • package:amity_sdk/src/core/core.dart that imports:
  • package:amity_sdk/src/core/socket/socket.dart that imports:
  • package:amity_sdk/src/core/socket/event/event.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_remove_reaction_event_listener.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_event_listener.dart that imports:
  • package:amity_sdk/src/core/service_locator/service_locator.dart that imports:
  • package:amity_sdk/src/core/service_locator/sdk_service_locator.dart that imports:
  • package:amity_sdk/src/core/socket/amity_socket.dart that imports:
  • package:amity_sdk/src/public/amity_core_client.dart that imports:
  • package:amity_sdk/src/core/core_client.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:amity_sdk/amity_sdk.dart that imports:
  • package:amity_sdk/src/public/public.dart that imports:
  • package:amity_sdk/src/public/token/token.dart that imports:
  • package:amity_sdk/src/public/token/amity_user_token_manager.dart that imports:
  • package:amity_sdk/src/domain/domain.dart that imports:
  • package:amity_sdk/src/domain/usecase/usecase.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/story.dart that imports:
  • package:amity_sdk/src/domain/usecase/story/create_story_usecase.dart that imports:
  • package:amity_sdk/src/domain/composer_usecase/story_composer_usercase.dart that imports:
  • package:amity_sdk/src/domain/repo/story_target_repo.dart that imports:
  • package:amity_sdk/src/domain/repo/amity_object_repository.dart that imports:
  • package:amity_sdk/src/data/data_source/data_source.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/remote.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/http_api_interface_impl.dart that imports:
  • package:amity_sdk/src/data/data_source/remote/http_api_interface_impl/network_settings_api_interface_impl.dart that imports:
  • package:amity_sdk/src/src.dart that imports:
  • package:amity_sdk/src/data/data.dart that imports:
  • package:amity_sdk/src/data/response/response.dart that imports:
  • package:amity_sdk/src/data/response/create_sub_channel_response.dart that imports:
  • package:amity_sdk/src/domain/model/sub_channel/amity_sub_channel.dart that imports:
  • package:amity_sdk/src/core/core.dart that imports:
  • package:amity_sdk/src/core/socket/socket.dart that imports:
  • package:amity_sdk/src/core/socket/event/event.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_remove_reaction_event_listener.dart that imports:
  • package:amity_sdk/src/core/socket/event/post/post_event_listener.dart that imports:
  • package:amity_sdk/src/core/service_locator/service_locator.dart that imports:
  • package:amity_sdk/src/core/service_locator/sdk_service_locator.dart that imports:
  • package:amity_sdk/src/data/repo_impl/subchannel_repo_impl.dart that imports:
  • package:amity_sdk/src/data/converter/sub_channel/create_sub_channel_response_extension.dart that imports:
  • package:amity_sdk/src/data/converter/message/message.dart that imports:
  • package:amity_sdk/src/data/converter/message/message_response_extension_converter.dart that imports:
  • package:amity_sdk/src/data/data_source/local/hive_entity/message_hive_entity_18.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 626 issues. Showing the first 2:

WARNING: Unused import: 'package:amity_sdk/src/data/repo_impl/analytics_repo_impl.dart'.

lib/src/core/engine/analytics/capturer/analytics_event_capturer.dart:3:8

  ╷
3 │ import 'package:amity_sdk/src/data/repo_impl/analytics_repo_impl.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/engine/analytics/capturer/analytics_event_capturer.dart

WARNING: Unused import: 'package:amity_sdk/src/core/core.dart'.

lib/src/core/model/api_request/create_message_request.dart:7:8

  ╷
7 │ import 'package:amity_sdk/src/core/core.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/model/api_request/create_message_request.dart

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

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

Package Constraint Compatible Latest
amity_sdk_api ^0.0.3 0.0.3 0.0.3
byte_util ^3.0.0 3.0.0 3.0.0
collection ^1.17.2 1.18.0 1.19.1
device_info_plus ^10.1.2 10.1.2 11.1.1
dio ^5.4.0 5.7.0 5.7.0
fixnum ^1.1.0 1.1.1 1.1.1
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.4.1 2.4.4 2.4.4
get_it ^7.6.7 7.7.0 8.0.2
hive ^2.2.3 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
mqtt_client ^10.0.3 10.5.1 10.6.0
path_provider ^2.1.2 2.1.5 2.1.5
socket_io_client ^1.0.2 1.0.2 3.0.2
uuid ^4.3.3 4.5.1 4.5.1
win32 ^5.5.4 5.8.0 5.8.0
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
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
device_info_plus_platform_interface - 7.0.1 7.0.1
dio_web_adapter - 2.0.0 2.0.0
event_bus - 2.0.1 2.0.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http_parser - 4.0.2 4.1.1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
socket_io_common - 1.0.1 3.0.1
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
universal_html - 2.2.4 2.2.4
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32_registry - 1.1.5 2.0.0
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^10.1.2` on device_info_plus does not support the stable version `11.0.0`.

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

The constraint `^7.6.7` on get_it does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions get_it 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 12 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/domain/model/amity_file/amity_upload_result.freezed.dart:169:12 - The named parameter 'includeFromJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/domain/model/amity_file/amity_upload_result.freezed.dart:169:36 - The named parameter 'includeToJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/domain/model/amity_file/amity_upload_result.freezed.dart:265: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.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

17
likes
100
pub points
85%
popularity

Publisher

verified publisheramity.co

The SDK that enables social features such as Feeds, Groups, Profiles, Content Posts, and Social Media Type Interactions

Homepage

Documentation

Documentation
API reference

License

unknown (license)

Dependencies

amity_sdk_api, byte_util, collection, device_info_plus, dio, fixnum, flutter, freezed_annotation, get_it, hive, hive_flutter, mqtt_client, path_provider, socket_io_client, uuid, win32

More

Packages that depend on amity_sdk