[LocalAuthentication] FaceID return error "unknown -1004, User interaction is required"

Please provide the following:

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I develop one code for two app, but after I add LocalAuthentication feature on SDK 44 for these app, it will have a issue “unknown -1004, User interaction is required” if I install the two apps on one iPhone. The latest installed app face id is ok, but other app face id will return error “unknown -1004, User interaction is required”. I see a solution that the two use different sdk version, will fix the issue. But I must use the same sdk version for the two app. Could you please help to fix the bug? Below is the code

import { StatusBar } from ‘expo-status-bar’;
import { StyleSheet, Text, View, TouchableOpacity } from ‘react-native’;
import * as LocalAuthentication from “expo-local-authentication”;

export default function App() {
return (

Open up App.js to start working on your app!

onPress={() => {
promptMessage: “Access your Account”,
fallbackLabel: “Enter passcode”,
cancelLabel: “Cancel”,
}).then((result) => {
if (result.success) {
console.log(“auth successfully”);
alert(“auth successfully”);
Face id


const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: ‘#fff’,
alignItems: ‘center’,
justifyContent: ‘center’,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.