uploadPublicKey
SDK unprotected function to re-upload the SDK's public key to Futurae servers. Call this method if isPublicKeyUploaded returns false or if you encounter FTApiInvalidPublicKeyException.
Use forceReupload true to ensure recovery from FTApiInvalidPublicKeyException regardless of isPublicKeyUploaded value
Parameters
pass true to force the SDK to re-upload the key even if it's already uploaded.
Throws
if the key pair is missing from the keystore
if the keystore operation of retrieving the key fails
if the API request fails. Refer to FTApiException subtypes for more specific errors.
if there are no enrolled accounts, in which case the public key cannot be uploaded
Deprecated
Please use uploadPublicKey(forceReupload : Boolean) instead
SDK unprotected function to re-upload the SDK's public key to Futurae servers. Call this method if you encounter FTApiInvalidPublicKeyException
Throws
if the key pair is missing from the keystore
if the keystore operation of retrieving the key fails
if the API request fails. Refer to FTApiException subtypes for more specific errors.