React Native: Is it possible to call a function directly without any button press or TouchableOpacity?
Advertisements I want to call a function on the second screen as soon as the screen navigates to the second screen. Is it possible? This is related to firebase phone auth but here the OTP screen is on another screen not on the same screen. >Solution : on the screen, you can use useEffect to… Read More React Native: Is it possible to call a function directly without any button press or TouchableOpacity?