Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with Android phone or device. On how to Connect your android phone wirelessly by adb you can follow below steps.
Setting up environment variable for adb platform tools by Android sdk
For this I am considering you have already installed the latest version of Android studio. If not you can download it from here.
You can get the sdk location from.
You can set the platform tools path in environment variable (optional).
Now, go to the skd location/platform-tools from cmd. Process the following command to
Connect your android phone wirelessly by adb
Make sure your device and pc connected to same network.
plug in the data cable from pc to device.
Now, type adb tcpip 5555
remove data cable.
Then type adb connect 192.168.43.95
here 5555 is the port number and 192.168.43.95 is the ip address of the mobile device you can get id address from the mobile settings . Then go to About device and go to status you can see the ip address of the device.
You can connect multiple device from different ports which can give ease in development.
Hope, It works if not don’t forgot to comment below .
Why we need to add Firebase mobile Authentication in Android Application?
Mobile authentication is much needed nowadays to verify the user authentic information land to remove the fake users and to get the credibility of the user. You can easily track the user by the mobile number and put all checks to you’r system. Someone can put a random number and access you’r data which will hurt you’r business and put you’r data at much higher risk.
1- First you need to add the android app to Firebase Console if not done yet you can get through this from here.
2- Go to Firebase console > Authentication > Sign In Methods and enable phone authentication.
You can also add testing numbers for development purpose and the authentication key . So let’s get started on add Firebase mobile authentication android on android studio.
3- For production purpose you also need to add the SHA 1 certificate fingerprints. To get the fingerprints go to project > gradle > project > android > signin reports then you can get the fingerprint from bottom on the screen (optional).