Can I config development server IP in react native app (ios)? - ios

So the problem is I'm developing react native on 2 different machines. 1 machine I can't run xcode to build. So I'm hoping that I can build the app on one machine, and when I have to continue develop on the other machine, I can just change the IP of the development server config on the app. From facebook doc, it seem the android app will let you config the IP from developer menu, but the ios app can't. Is there anyway to get around that? (Change the native ios app to make it configurable, maybe?)
Thanks.

Related

Run Flutter Mobile App using AWS EC2 Mac Instance: Flutter

I want to run a Flutter Mobile App on IOS but do not have access to MAC. Is it possible to run my app on IOS/Mac using AWS EC2 Mac Instance? If it is possible what steps do I need to follow? If not, is there any other way to run the app without MAC? I have a good knowledge of Flutter and Mobile App Development but am new to AWS.
The trending solution is Codemagic, but if the EC2 Mac Instance allows you to run XCode/Simulator then it should be fine to test or release your app.
Alternative popular solution could be using virtual mac machine in your system.

How to deploy Xcode to multiple devices without connecting computer

I am trying to deploy app to multiple devices in Xcode. I know how to deploy app to single device with connecting computer. But I wonder how to deploy the app to multiple devices? Is it possible to deploy app without connecting computer?
Use tools like TestFlight or Fabric

Use Expo iOS app to test pure react native code

I want to be able to test an app created with react-native init through the expo app downloaded from the app store. How can I do this?
I'm trying to use pure react native (no expo at all) and want to test my code on my iOS device. A while ago, I was able to do this through the expo app simply by running npm start. However, now when I run npm start I only see Running Metro Bundler on port 8081..
You cannot run a project created with react-native init with the Expo app. However, you can use https://snack.expo.io/ to test plain React Native code in either the browser emulator or on your device (which will open through the Expo app) by pointing your iOS camera app at the QR code they display for you. The caveat to this is that you cannot use native modules within a Snack.
Depending on the size of your app, you can port your code over from react-native init into a freshly created expo project. I have managed to do this on several projects in the past with great success. The process can be tedious depending on the age of your dependencies however.

Remotebuild Cordova Windows -> iOS : Get list of devices

We're developing a Cordova app on Windows, and are deploying it to iOS using remotebuild. Everything works fine.
We need to deploy to multiple Android and iOS devices for releases. Right now this involves doing one at a time.
I've already created a script to retrieve all Android devices, which works great.
However, how can I get a list of iOS devices from my Windows machine? If I run "cordova run --list" I only get the Android devices, for the iOS devices I get the following error:
platforms\ios\cordova\lib\list-devices' is not recognized as an internal or external command
As this script is obviously an iOS script.
How can I use the remote build server to get a list of devices? When I browse to http://mac-ip:3000 I get a welcome screen:
Remote build Express server open for business on port 3000
As it's all web based, is there a URL I can access to retrieve a list of devices?

Phonegap - I have the basic hello world android app. How do I deploy it to ios?

I've installed phonegap, and got the basic hello world new project app open in eclipse. I have deployed it to a android emulator. I want to deploy the same app to my IOS emulator. I can't find any instructions anywhere of how to do this. Does anyone know how?
You have to do this in Xcode on Mac, or in a virtual machine with Mac OS installed.
Also, cordova.js is different for Android and iOS platforms - keep this in mind, as the codebase will differ in some ways for these platforms.
Here is the complete guide about building Phonegap apps for iOS:
http://docs.phonegap.com/en/edge/guide_platforms_ios_index.md.html#iOS%20Platform%20Guide
If you have iOS Dev license you can build it through PhoneGap Build.
The advantage is that you don't have to have a Mac or even a virtual machine with Mac installed, so that you can do everything through a web interface, what's fantastic!
The only exception is if you have something native in Xcode to deploy along with your application, otherwise if it's only HTML/Javascript and so on, then it's perfect for you.
http://build.phonegap.com
Hope it helps!

Resources