Appium:Andriod Emulator Drop Down not working after connecting with VPN - selenium

Scenario:My app is working fine in mobile device after connecting with NordVPN.When the same App When I execute in Andriod Studio emulator after connecting with NordVPN,the App is launching but at one of the page the dropdown is showing error,rather than the values.
Requesting if someone can help me to resolve the issue or can provide any supportive link.

I have recently find the solution by first wiping out the data and then reboot refactory the android emulator in android studio.

Related

React native run Microsoft app locally without intune

I am working on a mobile application for Microsoft built in React Native . This app uses Microsoft login for authentication. I was able to run the app fine in the emulator without enrolling the emulator to intune ( the computer is intune compliant ) . Suddenly Microsoft has mandated intune enrollment even for emulators , now I cannot login into the app on emulator .
I even tried to enroll the emulator to intune but it will simply ask me to "Reinstall company portal" in a loop . Also, iOS simulator doesn't allow intune installation . Please advise how I can continue development.
I even tried to enroll the emulator to intune but it will simply ask me to "Reinstall company portal" in a loop - I suppose this could happen due to conditional access. Have you checked the sign-in logs what it says about conditional access? It looks like you guys are enforcing enrollment when it comes to native app
Also, iOS simulator doesn't allow intune installation - have you check if you can enroll the ios (not the emulator)? Also check the sign-in logs if it did failed just because the conditional access or it could be enrollment device platform restrictions
hope it helped

React native - console logging with remote debugging

Tried to do a bit of research without finding a result, however:
I am connecting to my development server over the same wifi network and using hot reloading to update react native Application on physical device, however I can’t seem to find a way to display the console output like I normally would through the temrinal. Normally I would build my app with physical cable and display log through the console and use react-native log-android.
What’s the way to show console logging when connecting wirelessly?
TIA.
have you tried the option Debug Js remotely, which opens a new tab in the browser and from there if you press f12 and go to developer tools ,in the console tab there you can view all the console log statements. And to start Debug Js remotely, you shake the phone and the option will be displayed. I hope it helps.

Unable to connect Android phone to my project with Expo

I created my project in react native by CLI:
_npm install -g create-react-native-app
_create-react-native-app AwesomeProject
_cd AwesomeProject
_npm start
Then I installed expo in my Android phone, and scanned a QR code on my computer screen.
However, my phone can't connect to project, and I don't know why. It just loads and fails. This is error message:
Could not load exp:// 192.168.56.1:19000. Network response timed out.
This is view error:
"Uncaught Error: java,not.SocketTimeoutException: faild to connect to/192.168.56.1 (port 19000) after 10000 ms.
I'm trying to fix it, but still can't get it working. My phone and my laptop are on the same network. What can I do now?
I had the same problem but solved by running expo start --tunnel
Select LOCAL instead of LAN.
I kicked myself when I fixed this.
I had the same issue, turns out my firewall was blocking my connection to the development server port (for me it was 19000). Solved it by disabling firewall.
Choose Tunnel Instead of LAN or Local in connection tab. This solved the issue for me.
Keep a look on this issue for the answer:
https://github.com/react-community/create-react-native-app/issues/60
Make sure that your device and computer are one same LAN/Wifi. It will work.
Also use LAN option.
check open port using
ufw status verbose
And if you don't see the port You are working on
for example 19000 => expo
try this
ufw allow 19000
I've had a similar problem on iOS - the project showed up in the Expo app but didn't want to connect.
Here's what I did:
Connect your PC to your device through USB cable
Download the newest xde from: https://github.com/expo/xde/releases
Install XDE, create a new project from the gui (do NOT use your old project from create-react-app, as it may also show up in XDE) and click the newly created (in XDE) project under "My Projects".
Now your project should show up in the Expo app on your phone. If it doesn't try sending yourself the link to your app over email (to your own inbox, and open the link on your phone), mine looks like this: exp://5c-gp9.[accountname].my-new-project.exp.direct:80
I had this problem when my phone was connected via wifi and my destop was connected via LAN. I changed the connection mode in the browser window to tunnel, reloaded the expo app and was able to connect to my application. This was on my iOS device.
I got this issue on Win 10 with android and solved by the adding a firewall rule for my device (device IP as remote). I was using ESET NOD antivirus and it was block the device from accessing node.exe
for local testing e.g comnputer , simulator
expo start
for Real mobile device
expo start --tunnel
I'm on windows 10.
My network was set to public, but it needed to be private - so that it could safely expose devices like printers and in this case the Expo connection.
I went in my Wifi setting and clicked on Private:
If you are using windows 10 do the following. It worked for me
1. Check if your phone and pc are sharing the same router/hotspot/wifi connection. better still you can connect your pc to your phone hotspot.
2. Configure the network you are using as private. you can do so using this link https://www.digitalcitizen.life/how-set-your-networks-location-private-or-public-windows-10/
3. Off your windows defender and any other antivirus. The windows and other antivirus defender acts as a firewall and prevents expo client from working.
It will work I assure you
I was having the same issue, the solution is easy just make a Firewall rule that allows connection from your mobile device to your PC. open port number 19000 and in the IP put your phone IP address then allow the connection TCP/UDP in both directions, and everything will be OK.
Usually, you can edit the Firewall rules through your antivirus installed on your PC.
Careful don't disable your firewall, it will hurt you a lot.
This problem is due to the sdk version of the project is not compatible with the expo go ,so go to app.json of your project and edit to the latest version of sdk

Unable to download app from app store on Windows 10 Mobile Emulator

I'm trying to download and open an app on a windows 10 emulator from the windows app store but I keep getting a download error.
Error code: 0x803F7003
Any ideas on how to fix this? Other suggestions say to reset store cache, but not able to find how to do that on a phone.
Screenshot of error..

Not able to accessing internet from native blackberry simulator

I am getting the following message on accessing internet from native blackberry simulator.
"Unable to connect to the internet please try again later. If the problemt persists please contact your service provide."
Getting this issue on blackberry standalone simulator for 9860. I have not installed JDE or any other Dev tool. Seen lots of comments asking for adding the proxy details on HTTP HEADER, but it didnt work for me. I am trying in corporate network having proxy
Please help
Did you try to install and run the BlackBerry MDS? https://swdownloads.blackberry.com/Downloads/entry.do?code=F9BE311E65D81A9AD8150A60844BB94C
You have to run it BEFORE running the simulator to be able to use the internet connection.
Have you tried this on your simulator:
1) Go to "Manage Connections"
2) Click "Set Up Wi-Fi Network"
3) Either click "Default WLAN Network" if you see it there or create it using "Manually Connect to Network"
Hope this helps.