ionic-team / ionic-cli

The Ionic command-line interface
MIT License
2k stars 656 forks source link

feat: switching to nativescript #294

Closed adamdbradley closed 9 years ago

adamdbradley commented 9 years ago

From @jonathanobino on March 9, 2015 13:18

Type: feat

Platform: mobile webview

are you planning to switch from cordova to nativescript ? https://www.nativescript.org/

Copied from original issue: driftyco/ionic#3258

jbavari commented 9 years ago

For now, we will be sticking with Cordova due to the main integrations we have with Cordova and the native plugins that exist, are tested, and widely used.

NathanWalker commented 8 years ago

Just curious if this has been reconsidered (or at least revisited the thought) with the impressive integration the {N} team has done with Angular 2 in past 2 months even.

Seems it would be amazing to have the choice to use Ionic with {N} or web views.

DanailMinchev commented 8 years ago

@adamdbradley @jbavari

I was wondering the same: integration with NativeScript .. It would be great if Ionic team plans to integrate with NativeScript, this way it will be the best solution for me not only in WebViews world. IMHO, currently (one year later) React Native and NativeScript are emerging as the new standard and if you look at Angular 2 website CROSS PLATFORM section:

Learning Angular 2 gives you the tools you need to build apps for desktop, mobile web, Android, and iOS. Angular Universal provides for server-side rendering for fast initial views on mobile web. Ionic and NativeScript let you build hybrid and native UI mobile apps. Web worker support keeps your app UI fully responsive no matter how heavy the load.

And here: https://github.com/NativeScript/nativescript-angular

So, are there any news about Ionic 2 + Angular 2 and NativeScript?

Thank you very much!

gembin commented 8 years ago

+1 Also interested in Ionic 2 + Angular 2 + NativeScript

weupagency commented 8 years ago

+1 I just saw that :

It would be very awesome to be able to create a ionic-nativescript starter based on that project directly with the ionic cli.

ciekawy commented 8 years ago

I've found https://github.com/cjpearson/cordova-plugin-nativescript but it seems to not be actively developed. Anyway this seems to be interesting approach.

volkrass commented 8 years ago

I would suppose a complete different approach. Instead of switching to NativeScript a much natural fit from me would be to use react-native-render (https://github.com/angular/react-native-renderer). Ionic2 is heavily using Angular2, so in combination with react-native-render you can get the best of both worlds. Still using ionic but you can choose in which world your app lives (WebView vs Native Views).

ciekawy commented 8 years ago

@volkrass, does react-native-render offers same as nativescript or are there some differencies? here is some comment regarding this - there is also angular2-react-native mentioned :) https://github.com/angular/angular/issues/3458#issuecomment-128156026

jdnichollsc commented 7 years ago

@adamdbradley @jbavari @NathanWalker @DanailMinchev @gembin @weupagency @ciekawy @volkrass People, I want to share a template I'm doing, any star or feedback is totally welcome, I hope you enjoy it! :D https://github.com/proyecto26/nativescript-ionic-template