amirrajan / rubymotion-applied

RubyMotion documentation provided by the community. Submit a pull request to the docs for a free one year indie subscription.
Apache License 2.0
49 stars 9 forks source link

Good questions asked by @raguten in Slack. Here's the screenshots (need to be transcribed). #120

Open amirrajan opened 5 years ago

amirrajan commented 5 years ago

image

image

image

image

image

image

jeremiahlukus commented 5 years ago

Question: Does rubymotion work only on OSX ? Answer: Yes, only OSX, there are no plans to have RubyMotion work on Windows or Linux.

Question: What If I am interested in developing on WSL/Linux and deploying to Android? Answer: If you want to use WSL/Linux and are interested in Android only, but still want to use Ruby, take a look at Ruboto (keep in mind that Ruboto is not native so performance should be considered... at least it wasn't native the last time I checked) If you're open to using something other than Ruby, take a look at Kotlin + Android or Flutter. I can't with good conscious recommend Xamarin and my experience with ReactNative is limited (but it may be worth looking at).

Question: RM feels like a total black box to me considering the number of core developers it has. What kind of artifact does the Android thing outputs? Answer: have a solid group of confidants that help with the long term maintenance of RubyMotion. It's not going to disappear and plans are in the works to open source the runtime (with a dual license model). RubyMotion artifacts are native, so you get an apk for Android and a pkg for iOS.

Question: Is it a binary? Can that same be used to run on Linux? Answer: RubyMotion requires a Mac the short version is there are EULA restrictions with Apple, and making Android-only apps in Ruby doesn't have enough demand.

Question: Also, can I only use RM gems what about existing libs in the Android ecosystem in Java? Answer: You can actually use Java libraries within RM (and Objective C libraries for iOS). So I'd recommend leverage the existing Android ecosystem. As for Ruby gems, RubyMotion is mostly MRI compatible with Ruby 1.9. The parser for RM diverged to allow for Objective C interoperability.