Posts

Infosys Interview Experience Off-Campus 2021 Requirement | Operation Excutive

Image
Infosys Interview Experience Off-Campus 2021 Requirement Profile: Operation Executive Timeline Application: Nov Dec 2020 InfyTQ Test Scheduled: December 13, 2020  Test Qualified: Apr 7, 2021 Interview: April 11, 2021  Results: May 24, 2021 Virtual Onboarding Survey Mail: 19 Aug 2021 Online Test Pattern : Section I – Reasoning ability (arithmetic and analytical) (15 ques| 30 minutes) Section II – Mathematical ability (10 questions | 30 minutes) Section III – Verbal ability (20 questions | 25 minutes) Section IV – Numerical puzzle ability (4 questions | 15 minutes) There is no negative marking. The total duration of the test is 100 minutes. Interview  It was scheduled in the morning just for 25 -30 min something. Introduce Yourself. Your Project second question is based on what you have mentioned in your first answer to the question “ Tell me about yourself”. Tech Stack, you have worked on. Your project in detail. If you are having your project just make sure you don't forg...

No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs,

Image
Just got a solution to an error which I was facing for the last 2 days, It was really a bit mistake which I was doing but now resolved,  I was trying to send a SMS from Twilio API  // const app = express();  const express = require('express');  app.use(cors()); <<<<< // if you just comment on this above line you get the same error mentioned below, I have set upped react server/website on 3000 port and express server on 4000 port. so the website sends a post request running on 3000 port to the server on port 4000 mechanisms called cross-origin request. // Access to fetch at 'http://localhost:4000/api/send-sms' from origin 'http://localhost:3000' has been  blocked by CORS policy: Response to preflight request doesn't pass access control check:  No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CO...

How to connect adb devices in linux | Run apps on a hardware device android

Image
For Installing ADB just open your terminal and type the following command : - sudo apt install adb First of all for checking how many adb  devices connected to your computer, you just have to type  adb devices command on your terminal  this command will list out all the adb devices connected to your comuter. if your devices not appears then follow these step to connect  Open your phone settings go to your android or MIUI version just tap 2-3 times on it, untill it will alert that you  are developer, then just go to developer option in your phone. After opening the developer option you just have to allow USB  debugging and after turning on when you type adb devices on terminal you will get no-permission.             So for turning on it you just have to revoke USB debugging  and then plug out your USB from your computer. After that just plug in your USB cable to your computer it will popup new window of Allow USB debugging...

Build a weather web application in React JS | React JS beginner Tutorial

Image
  Let's learn more about how all this works by building a weather application using React JS. Installing Node and npm Building a weather web application in React JS, we will have run-time environment called Node. It is mostly used to execute JavaScript code. To download it, go to https://nodejs.org/en/ . You'll also need npm, which is a package manager built on Node. You can use it to install packages for your JavaScript apps. Fortunately it comes with Node, so you don't need to download it manually. Once both of them are finished, open your terminal or command prompt and type node -v. and check npm -v .This checks which version of Node you have. How to Create a React App For creating our react application, just open your project directory and open the terminal and type npx create-react-app <Your app name> in your terminal, or npx create-react-app weather-app for this project. You'll see that the packages are being installed. Once the packages are done, go into ...

Facebook Login In React Native | Expo

Image
React native is a hybrid mobile app development platform that enables you to use your application in android, ios as well as web. so code once and use it anywhere and In this article, we will configure how to make Facebook authentication in your react native application using Facebook Graph API with Expo . " Expo is a framework and a platform for universal React applications. It is a set of tools and services built around React Native and native platforms that help you develop, build, deploy, and quickly iterate on iOS, Android, and web apps from the same JavaScript/TypeScript codebase." Requirements Expo account Facebook developer account Your Expo project setup Step 1: Create an expo project Create an expo project and install the expo-facebook library by following these command below:- expo init Login_Social cd Login_Social/ expo install expo-facebook expo start Step 2 Get Facebook kay hash - To get this you have to sign in to your expo account on you...

Solution for "Developer Error" In React Native Google Authentication

Image
  " Developer Error " In React Native Google Authentication So in this post, I am gonna show you how you will figure out the developer error in react native google authentication like this is a common error while you start learning about google authentication so make sure anything you are doing of installing any type of dependencies must follow the whole documentation properly because this is the major issue while start learning new technology or something other you are doing is your project so let's start about this topic. Dependencies For RN >= 0.60 please use version installed from @react-native-google-signin/google-signin yarn add @react-native-google-signin/google-signin For RN <= 0.59 use version 2 installed from react-native-google-signin yarn add react-native-google-signin Make sure you properly installed this dependency in your project follow this documentation link below https://github.com/react-native-google-signin/google-signin So this error is shown to ...

Firebase Client to Client Background Notifications with REST API in React Native.

Image
  In this article, we will configure how to use Firebase Client to Client Background Notifications with REST API in React Native so let's start. Notifications are a way to let you know that something new has happened so you don't miss anything that might be worth your attention and appears whether you are using an application or not. so using notifications you can make your application more interactive with users and promote engagement for that application. So for using the REST API notification follow the instruction below: Step 1: You must have a good setup and working project whether you are testing on android or IOS. Step 2: Install the following dependencies in your project using yarn or also you can use the npm package manager. Step 3: After installing all the dependencies you have to make some changes to your App.js file as code given below:-     Step 4: After setting up App.js all the dependencies create a file Notification.js ro...