jverify 0.6.22

Flutter Android iOS

JIGUANG Official Jverifycation SDK flutter plugin project.

2
likes
65 / 110
pub points
74 %
popularity

We analyzed this package on Oct 27, 2020, and awarded it 65 pub points (of a possible 110):

Follow Dart file conventions
5 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 43 out of 316 API elements (13.6 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:jverify/jverify.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:jverify/jverify.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform Linux

Because:

  • package:jverify/jverify.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform macOS

Because:

  • package:jverify/jverify.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

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

Found 10 issues. Showing the first 2:

INFO: Prefer using /// for doc comments.

lib/jverify.dart:13:1

   ╷
13 │ ┌ /**
14 │ │  * 一键登录接口的回调监听
15 │ │  *
16 │ │  * @param event
17 │ │  *          code     :返回码,6000 代表loginToken获取成功,6001 代表loginToken获取失败,其他返回码详见描述
18 │ │  *          message  :返回码的解释信息,若获取成功,内容信息代表loginToken。
19 │ │  *          operator :成功时为对应运营商,CM代表中国移动,CU代表中国联通,CT代表中国电信。失败时可能为 null
20 │ │  *
21 │ │  * @discussion 调用 loginAuth 接口后,可以通过添加此监听事件来监听接口的返回结果
22 │ └  * */
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/jverify.dart

INFO: Prefer using /// for doc comments.

lib/jverify.dart:25:1

   ╷
25 │ ┌ /**
26 │ │  * SDK 初始接口回调监听
27 │ │  *
28 │ │  * @param event
29 │ │  *          code     :返回码,8000代表初始化成功,其他为失败,详见错误码描述
30 │ │  *          message  :返回码的解释信息,若获取成功,内容信息代表loginToken。
31 │ │  *
32 │ │  * @discussion 调用 setup 接口后,可以通过添加此监听事件来监听接口的返回结果
33 │ └  * */
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/jverify.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
platform^2.0.02.2.12.2.1
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.31.1.0-nullsafety.4
collection-1.15.0-nullsafety.31.15.0-nullsafety.4
meta-1.3.0-nullsafety.31.3.0-nullsafety.5
sky_engine-0.0.990.0.99
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.4
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.4

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

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

2
likes
65
pub points
74%
popularity

JIGUANG Official Jverifycation SDK flutter plugin project.

Homepage

Documentation

API reference

Uploaders

shikunkun.cool@gmail.com
xudong.rao@outlook.com
skill12345678969@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, platform

More

Packages that depend on jverify