Skip to main content

Posts

Convert React Native To Expo

Convert React Native To Expo Step 1: Add Into App.json   "expo" : {     "sdkVersion" : "44.0.0" ,     "name" : "AwesomeProject"   } Step 2: Add this into your package.json    "dependencies" : {     "expo" : "^33.0.7" ,     "react" : "17.0.2" ,     "react-native" : "0.67.2"   }, Step 3: Make your Index.js file look like this AppRegistry . registerComponent ( 'main' , () => App ); Step 4: Install expo in your project folder In terminal paste npm install --save expo / npm install (If necessary)

Setup App/ Firebase app to work in Android

Setup App/ Firebase app to work in Android go To firebase project console and make android or ios project  Also setup firestore database in production mode Expo Google App Auth Sonny Sangha Tinder Clone Terminal:  firebase login expo build:android   {package name: host.exp.exponent} expo fetch:android:hashes

Insta All Icons

Insta All Icons

Deploy

Deploy firebase login firebase init Y/Y/N expo publish expo build:web / Cant change app after this firebase deploy Apk Configure app.json "android" : {       "package" : "amamzon.app" , expo build:android -t apk New keystore value

React Native Notes

React Native Notes Flatlist Vs ScrollView:     Flatlist when you have infinite data then it will boost your apps performance.     ScrollView when you have 20 or less items to display Why we use key in array render? - Let's take an ex you have to render posts on ig if key is not present then every time the new post is added to array js will rerender all the posts  - But if we use key={id}then js will only render the newest post - And save juicy computational power

Insta Asset R Native

 Insta Asset R Native Mm