Comments (4)
Not sure why things are harder for ios
versus android
.
$ react-native init $project
creates both ios
and android
projects and all that has to happen is to mv
and rm
, right? So, why not just have the sbt plugin just run the bash commands to generate files and then mv/rm
?
I'm probably missing something.
I'm not in favor of two different process for ios
and android
:-(
from incubator.
Investigation
Android
Apparently easy: g8 should be able to generate the entire folder.
However, my tests demonstrated that the folder is generated empty. The root cause is unknown.
iOS
There are several hashes that need to be calculated, which cannot be done in g8.
Also, it seems like XCode is a moving target. Certain developers report that Apple keeps moving things around and breaking developer's code. So, from this perspective, we should not join the group of users affected by modifications in XCode.
I recommend that we keep the manual procedure in the case of iOS:
$ project=myAwesomeProject
$ react-native init $project
$ mv $project/ios .
$ rm -r -f $project
from incubator.
@virtualirfan
I think that sbt-sri-platform
should provide comands for automating this sort of mundane tasks.
- Apparently, it's just a handful of
bash
commands in the case of Android; and I would say that these commands should ideally be fired automagically by SBT when necessary. - The case of IOS seems more complicated and I'd say that it only makes sense to support IOS after we gain experience with such procedure for Android.
from incubator.
@virtualirfan : You are correct. The evaluation above was done long time ago and I was considering a different strategy. If we consider that SBT can run arbitrary commands (and it can!) we can automate the entire process which is now done by hand. From this perspective... yes: both Android and IOS are conceptually the same: just a handful of commands which prepare the environment.
from incubator.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator.