Reverse TCP for IOS device? - ios

I'm trying to develop a react-native application, sometimes it is saying cannot connect to the development server. As I read that executing the react-native project in IOS doesn't needs reverse tcp to accept requests from a development server.
can we do a reverse tcp on an IOS device?
Thank you in advance.

adb means "Android Debug Bridge", its not for IOS devices

Related

iOS simulator with auth0 ionic/react

Need help with implementing Auth0 with Ionic/React. I've followed this documentation, but have not had any luck with an ios simulator.
http works fine when opening the app in the browser, but if I try and run an ios simulator, it complains that "auth0-spa-js must run on a secure origin.".
​
I've tried adding the simulators host and port numbers to the allowed web origins and callback urls in the Auth0 dashboard. I've tried adding a ssl cert from charles and I've tried...
ionic cap run ios -l --external --https
which starts a server running on https but the ios simulator returns "about:blank" in the developer tools.
Has anyone had any luck with getting Auth0 to work in a simulator?

React Native iOS could not connect to development server

I get the common Could not connect to development server error described in e.g. React-native iOS: Could not connect to development server. Things that are working:
My iOS device is built fine using Xcode and launching
The URL inside the app shows correctly (192.168.4.59:8082/index.bundle?platform=iOS&dev=true) and opening that URL in the browser loads the bundle as it should
The phone and laptop are on the same wifi
Killed node process and restarted npm with --reset-cache
Restarted xcode, iphone and computer (many times)
What might I be doing wrong?
It worked to use a USB cable instead of wifi and untick "Connect via Network" in Xcode > Devices And Simulators window.

Connecting to OpenVPN server using iOS 13.3 does not work as it used to

I have iOS ver. 13.3 installed on my iPhone X. I also have an OpenVPN server configured at home that can be reached from the Internet. I also have the latest OpenVPN Connect app installed on my iPhone. When I open OpenVPN Connect application and click on the profile, I connect within a 2-3 seconds. This is all fine.
However, if I go to iPhone settings > VPN and change the status switch, the status immediately shows up as green (connected), even though it is not connected. When I open OpenVPN connect app, I see that it's trying to connect, but it fails. If I again request connection from within the app, it will connect properly.
This hasn't been like this before. The iOS VPN switch used to work. I have a feeling that it changed around iOS ver. 12, but I am not sure.
Has anyone else experienced this problem or has an idea how I can debug it/solve it?

How to access to Windows localhost on iOS 10.3.3

We are developing a Progressive Web Application and we would like to preview changes on Safari on my phone before building it. However, we have issues accessing our localhost website (on Windows 10) on my iPhone 6.
It worked on an iPhone connected to the same Wifi with iOS 11.X doing :
ng serve --open --host=0.0.0.0
and then writing in safari :
my.computer.ip:4200
But with iOS 10.3.3, this method seems to be blocked by Apple because we can only see the background-color, and the website's name.
We have tried to this method :
https://<computer_name>.local
We have also tried localtunnel, works fine with Android and Windows but still not on iOS 10.3.3 iPhone.
It seems to be iOS and not Safari because it doesn't work with Chrome neither.
Hope we will find a solution because we have to build everytime to check if changes work.
Did you try
ng serve --host 0.0.0.0 -port 4200 --disable-host-check
The disable host check flag should only be used for development.

can we use appcelerator titanium liveview in iOS devices?

I tried to run my app in live view mode on an iPhone device from appcelerator studio and get the error :
[LiveView] File Server unavailable. Host Unreachable # 192.168.1.122:8324
[LiveView]Please ensure your device and computer are on the same network and the port is not blocked.
conditions :
1. Device : iPhone 5S with IOS 9.2.1
2. Titanium SDK 5.1.1.GA
3. Firewall off and connected to the same wifi
4. xcode 7.2
5. Appcelerator Studio 4.4.0
6. Latest appcelerator CLI
can't we use live view when deploying to iOS device?
nb : it works when i use iOS simulator and android devices
I just looked through the LiveView code and confirmed this issue happens when the LiveView code inside your iOS app can't see the LiveView server running on your computer. You claim that both your computer and your device are on the same network and the firewall is off. I suppose the next thing to check is the LiveView server even running?
LiveView lives inside the Appcelerator Studio directory. On my machine it's located at /Applications/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1445037865.
You can manually check the server status by running:
/Applications/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1445037865/node_modules/liveview/bin/liveview server status
There's actually a couple other subcommands you can pass in: start, stop, and restart. If the status command above says that the server is running, stop it using:
/Applications/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1445037865/node_modules/liveview/bin/liveview server stop
Build your app again and Studio will start the LiveView server again and hopefully this time it works. I don't think you need to manually start the LiveView server. I'm not even sure if that would work.
I hope that fixes your problem.

Resources