Support Expo.io for native app development


#1

It would be awesome if I could use expo.io for mobile development on cloud9. I think only issue is exposing the correct ports for the packager as it doesn’t run on 8080-82. Is this something you would be interested in supporting?


#2

+1

I was just trying to get this set up today and basically the Expo app can’t seem to connect to my C9 instance.


#3

+1. It would be great if we could connect to the C9 instance via Expo.


#4

This is possible with a slight hack to 2 files in the xdl component. I can share the details if you’re interested. Longer term if would be great if we could configure the ports.


#5

We’d like to make ports configurable, but unfortunately it is not likely to be implemented in the next couple of months.


#6

I got this to work by using the Expo CLI with tunneling:

Install the expo command line interface:

npm install -g exp

Use expo to run your app:

exp start

Tunneling should be used by default, but you can force tunneling with the following command:

exp start --tunnel

As long as your mobile device is connected to the internet, you should now be able to scan the QR code with your mobile device to run the app.

NOTE: You will be prompted to login to your Expo account the first time you run the Expo CLI.

More info available here: https://docs.expo.io/versions/latest/guides/exp-cli.html

Cheers.


#7

+1 my god it would be great !! i9 cloud changed my developer life


Support for react-native
#8

Despite the many negatives of AWS Cloud 9, one benefit is that you now have complete control over the EC2 instance that is backing your Cloud 9 environment. You should be able to configure the ports as desired.