UMIS SDK
    Preparing search index...

    Function createKeyStore

    • Key store for the mobile app. In a development build (dev_client) new keys are made in the secure hardware when the device has it, and in the secret store of the operating system otherwise; in Expo Go (expo_go) they are always in the secret store, because native modules cannot be added there.

      authenticate shows the biometric prompt for software keys that need a confirmation; it resolves to true only when the person was recognised. prompt is the text of every confirmation unless create is given another one.

      Parameters

      • runtime: "expo_go" | "dev_client"
      • opts: { authenticate?: (prompt: string) => Promise<boolean>; prompt?: string } = {}

      Returns KeyStore