mas_oaid 0.0.1 copy "mas_oaid: ^0.0.1" to clipboard
mas_oaid: ^0.0.1 copied to clipboard

outdated

得到MSA的OAID.

mas_oaid #

Flutter plugin for mas oaid.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

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

docs #

移动安全联盟集成文档

  1. 项目目录的build.gradle里添加:
allprojects {
    repositories {
        google()
        mavenCentral()
        flatDir {
            dirs project(':mas_oaid').file('libs')
        }
    }
}
  1. 在./android/app/src/main/中建立assets放入在mas申请的证书和supplierconfig.json

  2. 调用

    final _masOaidPlugin = MasOaid();
     await _masOaidPlugin.getOAID();