Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 3.39 KB

README.md

File metadata and controls

49 lines (32 loc) · 3.39 KB

react-native-libs

"One or more of the used libraries would be a must in your next react-native project"

Developer Guide

  • Read the document of react-native-config to use .env files based upon the shell. For running android app in windows, I used SET ENVFILE=.env.staging && react-native run-android.

  • Generate your app Icon using MakeAppIcon.Read More about app icon setup on this Link.iOS icons can be generated using Icon Set Creater app available on the App Store. Make sure to also provide a round icon with the name ic_launcher_round.png in your android folder for various mipmap- directories. Go to easyappicon.com.

  • Import this statement at the topmost line of your root as per react-navigation docs. import 'react-native-gesture-handler';

  • Enable Hermes link

  • To make sure that the content doesn't overlap, especially in iPhones, use SafeAreaProvider. Import this stmt at the top of your app code. import { SafeAreaProvider } from 'react-native-safe-area-context';

  • Install Async Storage. Needs to be manually linked. Go to this thread if npx pod-install fails to run.

  • Dependencies for @react-navigation/stack -> react-native-safe-area-context, react-native-gesture-handler. Run npx pod-install after installing the dependencies.

  • Using react-native-reanimated v-1.13.3 as v2 was not working fine.

  • Manually link react-native-vector-icons in ios link. Check this link to add/remove fonts.

Main Libraries Used

Other Libaries not used here

Support Me

If you learnt something new and found this project helpful, consider buying me a coffee