jverify 3.0.5 copy "jverify: ^3.0.5" to clipboard
jverify: ^3.0.5 copied to clipboard

JIGUANG Official Jverifycation SDK flutter plugin project.

QQ Group

JVerify Flutter Plugin #

安装 #

在工程 pubspec.yaml 中加入 dependencies

  • github 集成
dependencies:
  jverify:
    git:
      url: git://github.com/jpush/jverify-flutter-plugin.git
      ref: master
copied to clipboard
  • pub 集成
dependencies:
  jverify: 2.3.6
copied to clipboard

配置 #

Android:

/android/app/build.gradle 中添加下列代码:

android: {
  ....
  defaultConfig {
    applicationId "替换成自己应用 ID"
    ...
    ndk {
	//选择要添加的对应 cpu 类型的 .so 库。
	abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'x86_64', 'mips', 'mips64', 'arm64-v8a',        
    }

    manifestPlaceholders = [
        JPUSH_PKGNAME : applicationId,
        JPUSH_APPKEY : "appkey", // NOTE: JPush 上注册的包名对应的 Appkey.
        JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
    ]
  }    
}
copied to clipboard

使用 #

import 'package:jverify/jverify.dart';
copied to clipboard

APIs #

注意 : 需要先调用 Jverify.setup 来初始化插件,才能保证其他功能正常工作。

参考

14
likes
125
points
688
downloads

Publisher

unverified uploader

Weekly Downloads

2024.10.02 - 2025.04.16

JIGUANG Official Jverifycation SDK flutter plugin project.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on jverify