Instagram Clone React Native Tutorial 2021 👨💻 I'll show you how you can do this in the simplest way and terms possible. By the end of this series you'll have learned how the big companies do it and will be able to do the same, you not only will be able to do this app, but you'll be able to put what you learn into your very own projects! In this series, we use React Native with Expo to quickly deploy the project. We use firebase for all our microservice needs like the auth system, database, storage, amongst others. firebase, redux, react native, javascript, expo. In this series, we'll use all of them and you'll learn them by doing an iconic app. Welcome to this Simcoder project and make an Instagram Clone!
Everything works good. exception the flip feature.
when I set the camera flip function to TouchableOpacity. It works as well.
but if I change from TouchableOpacity to Button, it doesn't work to flip the camera.
I double checked the code by copy and paste your code.
but it still doesn't work
Alright, Could you please let me know what device you are testing this on? When you set the type variable to Camera.Constants.Type.front does it automatically set the camera to the front camera?
like so:
const [type, setType] = useState(Camera.Constants.Type.front);
From Add.js
Everything works good. exception the flip feature.
when I set the camera flip function to TouchableOpacity. It works as well. but if I change from TouchableOpacity to Button, it doesn't work to flip the camera.
I double checked the code by copy and paste your code. but it still doesn't work