SmartIdGtc 5.0.4

SmartIdGtc 5.0.4

Wilver Martinez 维护。



  • SmartId DevOps

SmartId

将安装到您的项目中

  • 使用 Swift Package 管理器添加以下内容到您的项目依赖中,确保指向为您的业务设计的分支。
https://github.com/DevelSystems/SmartID-iOS

用法

现在您可以将 SmartId 框架导入到文件中。

初始化位置

要初始化位置服务,将此行添加到您的 AppDelegate 中的 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool 方法。

SID.startLocation()

初始化药水检测

要初始化药水检测,将此行添加到您的 AppDelegate 中的 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool 方法。

SID.startPharming(isProduction: isProduction)

更新

  • 如果您是从先前版本更新,您需要从项目配置和对切片脚本的所有旧引用中删除。

  • SmartId 类已被重命名为 SID,因此您需要更新代码库中的引用。