Expo App for Topcoder's EdgeNet Challenge Series - Video News Feeds App.
- Clone this repository wherever you like. Use
master
branch for the next steps. - Run
npm i
command, inside the cloned repo, to install all node packages. - Please install expo before going any further. You can use instructions present here. I will also recommend to install and configure ios simulator and android studio emulator. Also please install Expo Go App in your emulators or simulators or your own device.
- Run
expo start
to run the code. - Use any one of Tunnel, LAN or Local URLs to open the app in Expo Go app of your simulators or scan the QR Code for opening app in your device. More related to this can be found here.
- Sometimes, the code gives fetch-time-out error in the call to retrieve video-urls. If it happens, please close the simulators and terminal and repeat the steps from step-4.
- Some videos might take too much time to load. For that you can reload the app pressing
r
key in your terminal. If that does not work, please close the simulator and terminal and repeat the steps from step-4. - I have tested on simulator -> iPhone12 with iOS 14.5.
- Followed all the instructions (except the Sandbox section) given at this tutorial by AlefEdge.
- I used this API call to add the videos.
- This API call is being used in the code to retrieve all the video urls.