Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work on Android only #3

Closed
arichiardi opened this issue Dec 9, 2015 · 8 comments
Closed

Work on Android only #3

arichiardi opened this issue Dec 9, 2015 · 8 comments

Comments

@arichiardi
Copy link

I would like to ask whether it would be possible to work on Android (no XCode installed) and Linux.

If no, which I can already see when I do re-natal init myApp, what could be done to contribute this feature? Is it a lot of work?

Thanks and very good job!

@drapanjanas
Copy link
Owner

The problem is a call to getUuidForDevice 'iPhone 6' during the init command, this is needed to for re-natal launch command to have some device pre-selected.
I am thinking to drop the re-natal launch command completely for now. This command is used only to start the iOS app without openning xcode. Personally I never use it because error log is only available in xcode, so I would give it away for Linux compatibility.

I will do it during the weekend probably, but if you have it working sooner just drop a PR

@drapanjanas
Copy link
Owner

Had some time for hacking and published v0.2.8 it should at least generate project on Linux. I have not tested all the way, please let me know if it worked out or not.

@arichiardi
Copy link
Author

So fast! I will try in a few hours

@Roger
Copy link

Roger commented Dec 10, 2015

Ha! just started and ran it on linux/android, now i see it's supported only 20hs ago =), nice work!

@drapanjanas
Copy link
Owner

Thanks! Glad it works! :]

@arichiardi
Copy link
Author

It creates the app structure but in my case it does not build it, complaining that it is missing ANDROID_HOME, which of course is there (checked with echo $ANDROID_HOME).
I will investigate why.

@gadfly361
Copy link

Just wanted to share that the android build worked on my linux machine with genymotion! However, I had to run react-native start, which I don't think is included in the README.


Versions:

node: 4.2.0
re-natal: 0.2.10
chrome: 47.0.2526.80 (64-bit)
genymotion: 2.6.0
linux mint: 17.1

@drapanjanas
Copy link
Owner

Thanks a lot! I have put a note about running in linux and react-native start to readme. This might be some temporary problem in react-native CLI. According to Linux and Windows support guide react-native start should be required only for Windows. Anyways, thanks again for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants