alsaqi_payment_sdk 1.0.5
alsaqi_payment_sdk: ^1.0.5 copied to clipboard
Production-ready Payment Gateway SDK for Flutter. Supports card payments, tokenization, and payment status queries with strong security practices.
We analyzed this package 5 days ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://gitlab.secnode.app/al-saqi-payment-gateway/sdks/pg-flutter-sdk was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://gitlab.secnode.app/al-saqi-payment-gateway/sdks/pg-flutter-sdk/-/issues was unreachable. Make sure that the website is reachable via HEAD requests.
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.
10/10 points: 20% or more of the public API has dartdoc comments
57 out of 160 API elements (35.6 %) have documentation comments.
Some symbols that are missing documentation: alsaqi_payment_sdk.CardData.CardData.new, alsaqi_payment_sdk.CardData.cardHolder, alsaqi_payment_sdk.CardData.cardNumber, alsaqi_payment_sdk.CardData.cvv, alsaqi_payment_sdk.CardData.expires.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:alsaqi_payment_sdk/alsaqi_payment_sdk.dartthat imports:package:alsaqi_payment_sdk/src/payment_sdk.dartthat imports:package:alsaqi_payment_sdk/src/services/tokenization_service.dartthat imports:package:alsaqi_payment_sdk/src/network/api_client.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/network/api_client.dart:77:9
╷
77 │ return _execute(call, attempt: attempt + 1);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/network/api_client.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/ui/payment_page.dart:151:63
╷
151 │ Border.all(color: theme.borderColor.withOpacity(0.5)),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/payment_page.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
encrypt |
^5.0.3 |
5.0.3 | 5.0.3 | |
flutter_secure_storage |
^9.0.0 |
9.2.4 | 11.0.0 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
intl |
>=0.17.0 <1.0.0 |
0.20.3 | 0.20.3 | |
pointycastle |
^3.7.3 |
3.9.1 | 4.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.2.1 | 2.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
flutter_secure_storage_linux |
- | 1.2.3 | 3.0.2 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | Discontinued |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.3 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.1.1 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.2.2 | |
hooks |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.3 | 1.0.3 | |
jni_flutter |
- | 1.0.2 | 1.0.2 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
objective_c |
- | 9.5.0 | 9.5.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.6 | 2.1.6 | |
path_provider_android |
- | 2.3.1 | 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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.4.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^9.0.0` on flutter_secure_storage does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions flutter_secure_storage to update the constraint.
The constraint `^3.7.3` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle 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.23.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.