xe_shop_sdk 1.0.2

  • Readme
  • Changelog
  • Example
  • Installing
  • new46

XiaoeAppSDK-Flutter #

通过小鹅通APP内嵌SDK可以在 App 内快速集成小鹅通提供的整个交易服务,享受完善的基础知识商品能力、营销玩法,更有小鹅通强劲的技术及服务作保障,实现低成本、高效率、强融合的移动商城方案,快速获得 App 流量的商业化变现。

安装 #

在工程 pubspec.yaml 中加入 dependencies:pub.dev

dependencies:
  xe_shop_sdk: 1.0.2

或 Git 依赖

dependencies:
  xe_shop_sdk:
    git:
      url: https://github.com/xiaoeteam/XiaoeAppSDK-Flutter.git

更多使用 #

1.0.0 #

新增 #

  • 小鹅通 APP 内嵌 SDK flutter 插件

1.0.1 #

修复 #

  • 更新ios sdk,修复logout方法无效
  • 更新android sdk,修复webView可能存在的软键盘无法弹起(与官方插件方式一致,仅支持Android N+)

1.0.2 #

修复 #

  • 更新ios sdk,优化退出流程

example/README.md

xe_shop_sdk_example #

Demonstrates how to use the xe_shop_sdk plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  xe_shop_sdk: ^1.0.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:xe_shop_sdk/xe_shop_sdk.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
1
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
46
Learn more about scoring.

We analyzed this package on Dec 13, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.1+4
  • Flutter: 1.12.13+hotfix.4

Health suggestions

Fix lib/src/xe_webview.dart. (-1.49 points)

Analysis of lib/src/xe_webview.dart reported 3 hints:

line 22 col 7: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: XEWebView.url, XEWebView.callback, XEWebView.viewState

line 27 col 3: Prefer using /// for doc comments.

line 177 col 14: The value of the local variable 'method' isn't used.

Format lib/src/xe_sdk.dart.

Run flutter format to format lib/src/xe_sdk.dart.

Format lib/xe_shop_sdk.dart.

Run flutter format to format lib/xe_shop_sdk.dart.

Maintenance suggestions

The package description is too short. (-20 points)

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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test