https://youtu.be/xk4mh184brg
If you like the demo, please hit subscribe and press the bell icon for more demos, tutorials and guidance in React Native. You have to perform these steps to successfully run this code on your side.
We will use Love Calculator API avaiable on Rapid API. Before using the Love Calculator API we need api key from Rapid API which we can get after signup. Its totally free of cost.
- Go to this URL https://rapidapi.com/ajith/api/love-calculator
- Press Signup button on top right corner and provide your details
- After successfully signup, you will be able to test the endpoints on the Love Calculator API on the browser
- In the center section of the API documention, you will see X-RapidAPI-KEY, which you need in code
- Copy the API key and paste it in Calulate.js
- Download or pull this repo on your side
- Open terminal and navigate to your downloaded folder
- Run this command npm install inside the folder, to install all required dependencies for Android
- Run this command cd ios && pod install inside the folder, to install all required dependencies for iOS (only Mac Users)
- Then setup account Rapid API website by following above given instructions and paste the API key in Calculate.js
- To run the application on Android, run this command react-native run-android
- To run the application on iOS, run this command react-native run-ios
Please follow this guide https://github.com/react-native-community/lottie-react-native to install the dependency successfully on your side If you like the repo. Please hit the star. Also if you want more animations, tutorials and help in any other aspect of React Native you can ping me on my Email or onmy Youtube Channel. Happy coding