Skip to content

Return value of CHDevice.getKey() becomes nil #72

@KAZUMA87

Description

@KAZUMA87

現在SPMで配布されているSesameSDK3.0 for iOSを使っていますが、以前のSDKでは取得できた、getKey()の値がnilとなってしまいます。デバイスがSesame4なので、そこが関係している可能性もありそうですが、関係ありますでしょうか?

コードとしては以下です。device.getKey()の段階でnilになります。

private func getSecretKey(device:CHSesame2)->String{
  let devicekey:CHDeviceKey = device.getKey()
  return devicekey.secretkey
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions