Importing from Github


#1

The import option gives the following message:

Import JavaScript files from your computer or a GitHub repository to use in your expo project.

However, only browse button seems to be available which allows uploading files from computer.
How to import files directly from Github repo?


#2

hey @aayush123, we are currently working on this feature, sorry it is not available yet! cc: @thetc


#3

Are you still working on this feature?


#4

Hey @yamilquery,

We are currently waiting for a PR to be reviewed and merge to add this feature. The SDK26 release really shook things up, but hopefully we can get this feature rolled out soon.

Thanks for your patience,

Adam


#5

Hi Adam,

Any news about this mentioned PR review? Looking forward to hear this github integration feature release :slight_smile:


#6

Hi @adamjnav,

any news? It is going to be possible to use repos from other repo providers (Microsoft Azure DevOps)?

Thank you


#7

Hey @benjaminheinke,

Importing from a git repository is available in Snack already. As far as I know there aren’t any current and active plans to add support for other repo providers, but we’d welcome a Feature Request on our Canny: https://expo.canny.io/feature-requests

Also one thing of import, the repo must be publicly accessible to be imported as well.

Cheers,

Adam


#8

Hey @benjaminheinke,
You can access the git import via this option in the project menu:

Provided you have a publicly accessible, git repo containing a valid expo project for an SDK version supported by the latest version of the client, you should be good to go.


#9

@thetc @adamjnav
Thank you for your fast responses. I would like to use Snack (to be able to continue to code on whatever computer/work computer where I don’t have a code editor) with a private repo, I don’t want my code to be public…


#10

This feature has worked for me in the past. But does not currently seem to work. Is anyone else experiencing issues with it?