jiguang_auth 3.0.3 copy "jiguang_auth: ^3.0.3" to clipboard
jiguang_auth: ^3.0.3 copied to clipboard

JiGuang Security Authentication Flutter plugin (for Android & iOS), supporting one-click login and verification code login.

源于极光官方 Flutter 插件

极光安全认证 #

安装 #

在工程 pubspec.yaml 中加入 dependencies

  • github 集成
dependencies:
  jverify:
    git:
      url: https://github.com/TeHeal/jiguang_auth.git
      ref: main
  • pub 集成
dependencies:
  jiguang_auth: ^3.0.3

配置 #

Android:

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

android: {
    ...
    defaultConfig {
        ...
        //选择要添加的对应 cpu 类型的 .so 库。
        ndk {
            abiFilters 'armeabi-v7a', 'x86', 'x86_64','arm64-v8a'
        }
        // 设置 manifest.xml 中的占位符变量
        manifestPlaceholders = [
                JPUSH_PKGNAME: applicationId,
                JPUSH_APPKEY : "1b5965ba23557bcf384e0b08",  //  更换为极光平台上,注册的包名所对应的 AppKey.
                JPUSH_CHANNEL: "default_developer", // 默认值即可.
        ]
        ...
    }
    ...
  }

使用 #

import 'package:jiguang_auth/jiguang_auth.dart';
1
likes
140
points
17
downloads

Publisher

verified publisherteheal.com

Weekly Downloads

JiGuang Security Authentication Flutter plugin (for Android & iOS), supporting one-click login and verification code login.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on jiguang_auth

Packages that implement jiguang_auth