Skip to main content

Posts

next js align website center

 next js align website center

react-native-vector-icons

  react-native-vector-icons npm install --save react-native-vector-icons Check it out :  react-native-vector-icons - npm (npmjs.com) For React Native > 0.60, when pods are installed/updated  auto linking  will automatically add all fonts to the  Build Phases ,  Copy Pods Resources . Which will end up in your bundle. To avoid that, create a  react-native.config.js  file at the root of your react-native project with: module . exports = { dependencies : { 'react-native-vector-icons' : { platforms : { ios : null , } , } , } , } ; Edit  android/app/build.gradle  ( NOT  android/build.gradle  ) and add the following: apply from : " ../../node_modules/react-native-vector-icons/fonts.gradle " Edit  android/settings.gradle  to look like this (without the +): rootProject.name = 'MyApp' include ':app' + include ':react-native-vector-icons' + project(':react-native-vector-icons').pr...

Using Same Firebase for Web App as well as Android App

Using Same Firebase for Web App as well as Android App Create Android app in that project go to project setting click on iso or android or web icon.  Go to authentication select Google then enable select email Get client id from web sdk - Create.env.local  GOOGLE_CLIENT_ID=259eklrjelkjr GOOGLE_CLIENT_SECRET=GOlkelkrjer NEXTAUTH_URL=https://localhost:3000 - Restart the server/app - Create folder in pages/auth/signin.js

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