Nativescript: a hybrid mobile solution
Do you want a native app or a hybrid solution?
Usually, this is the first question that you ask yourself if you are thinking about create a mobile app and sometimes, you are not sure which is the best option.
Emil Öberg saw those ways to do mobile apps almost a year ago and he has a video speaking about that.
In summary, you can create apps simultaneously for both platforms, Android and iOS, and the app will look like native and nobody will realise that it’s really hybrid ;)
The hybrid technology market is very fragmented right now and for that reason we have decided to keep an eye on some of the most popular frameworks like React Native, Nativescript, Ionic2 or Xamarin. We are creating little prototypes and different wrappers to use the native Screenlets in an easy way with these hybrid frameworks.
Don’t you know what it’s a Screenlet? No problem, here is your answer.
I’m working on the Nativescript prototype and we have developed a small proof of concept that displays and uses the LoginScreenlet and the ImageGalleryScreenlet in both platforms, Android & iOS.
Pros and cons about hybrid solutions
Everything has pros and cons, right? Let’s see them!
If you choose cross compiled technology, you have to handling the first important issue which is the variations between UI controls on different platforms and their different ways they expect you to use them that alter the entire experience design. Also, code might not run as fast as native.
In other hand, if you choose web based technology, you can use your own tools. It means that you are not force to use a specific IDE to develop the app. You can use either a text editor or an IDE if you want some hints. But this fails to cope up with the expectations of building apps with offline capabilities and animation tools.
Now, you know more about hybrid solutions so, I think it’s time to see some code. You can see the Nativescript proof of concept here and the Liferay Screens plugin here. You can contribute to them too!
Give me a ❤ if you like the post! :)