Expo Error

전채원·2022년 7월 1일
0

expo-error

목록 보기
1/1

Expo Linking "Scheme" Warning


Linking requres a build-time setting scheme in the project's EXPO

Linking warning

fix

go to app.json

"expo":{ 
"scheme":"your app name" 
}

reference: Linking

Expo Login Error


you are not currently signed in to Expo on your development machine. As a result, the redirect URL for AuthSession will be "http://auth.expo.io/@anonymous/projectname"

fix

login to your expo by terminal

expo login -u userId -p password

P.S. if you want to use Google OAuth
add "http://auth.expo.io/@your-expo-userId/projectname"
in to your web application redirect URL

Expo Memory Leak Error


Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.

fix

write cleanup function into your useEffect function

const [isLoding, setIsLoding] = useState(false); useEffect(() => { 
setIsLoding(true); 
... 
return () => setIsLoding(false); // cleanup function 
}, []);

0개의 댓글