react native android release apk navigation error

88 views Asked by At
 const OnSignInPressed = async () => {
            const formData={email,password}
            const res = await loginUser(formData);
            // await storeToken(res.data.token)
            ConstantId.accessToken = res.data.token;
                console.log("logtoken",res.data.token)
                navigation.navigate(HomeScreen);     
          }

i am able to move to home screen after hitting signin in debug mode but in release apk i installed on my phone i am able to log the token from so the response from backend is perfect the only problem is i am unable to navigate to homescreen

0

There are 0 answers