feat: use native preview for pdf in mobile webview (#1728)
This commit is contained in:
@@ -22,7 +22,7 @@ const BiometricsPrompt = ({ application, onValueChange, prompt, buttonRef }: Pro
|
||||
fullWidth
|
||||
colorStyle={authenticated ? 'success' : 'info'}
|
||||
onClick={async () => {
|
||||
const authenticated = await application.mobileDevice.authenticateWithBiometrics()
|
||||
const authenticated = await application.mobileDevice().authenticateWithBiometrics()
|
||||
setAuthenticated(authenticated)
|
||||
onValueChange(authenticated, prompt)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user