Posts

Showing posts from October, 2021
Image
React Native Today we will learn about React Native and we will set the environment and test the basic app on Android and IOS devices. React Native is an open source app framework developed by Facebook, Inc. It is used to build Android, Android TV, iOS, MacOS, tvOS, Web, Windows and UWP applications by empowering developers to use the React framework and native platform capabilities. To work with React Native, you will need to have a basic understanding of JavaScript as it uses JavaScript to build a mobile application. Someone can think, are React Native apps web applications? The answer to this question is React Native apps are not web applications. They work on a mobile device, and do not load over the browser. It is also not a Hybrid app that builds over Ionic, Phone Gap, etc. Prerequisite: Basics of HTML, CSS, JS, ReactJS. NodeJs should be installed. Some Key Advantages of React native: React Native is Community-driven. Maximum code reuse & cost saving. Live reload. Strong perf...
Image
  Custom fonts in React-Native Adding custom fonts to the Indigenous React App is very easy and requires only a few steps. I write down the steps I have taken to add custom fonts to my app. Create a font folder in your src / assets folder and paste the downloaded file fonts into it. your assets folder Now create a file named reaction-native.config.js at the root of your app and add a font style like this. your root file react-native.config.js To link these fonts to your project, run “npx react-native link” in your project folder. The link will add the font files to the assets folder in the Android folder of your app and the info.plist file to the iOS folder. At this point, your custom fonts will start working on the Android app but you need to take one last step to run on iOS. Navigate to your preferred target targets in Xcode, select the Build Categories tab, and add the font files to “Copy Bundle Resources”. Enjoy your new fonts. 🎉 🎊 You are welcome to share your thoughts in th...