2021: Why you should NOT use NativeScript It’s been two years since our company decided we’ll pick NativeScript to create and maintain our Android App. This was the biggest mistake our rapidly growing company made in the last 4 years. We are about to rebuild our Android app in Flutter from scratch now… 2023: Why you should NOT use Flutter It’s been two years since our company decided we’ll pick Flutter to create and…
Why you should NOT use NativeScript
41–50 of 81 posts
Re: Why you should NOT use NativeScript
#42It appears that they should have recognised very early that LiveScript didn’t work for them, yet they persisted for 2 years. Persistence is a virtue when you are on a successful path, but it is a negative trait if you are following the wrong path.
Good developers short-circuit early on bad technology, and change tech. Great developers pick a productive technology to begin with, and usually milk it for a long time.
Re: Why you should NOT use NativeScript
#43- It's multi-framework (Vue, Angular, React or Svelte); easy to pick up for web devs
- The per-framework implementations are fairly similar to the web-variants (except it uses NS component tags vs HTML tags)
- UI abstraction layer that maps the NS components to real native UI components for iOS/Android (instead of Flutter's gimmicky pixel-by-pixel OS element duplication ala Adobe Flex)
- Use of native UI elements lead to performant UI elements (recyclerviews, tabs etc). React Native plugin devs had to tediously re-create elements like the recyclerview with custom logic (see 'RecyclerListView'). The core team adds new UI elements fairly quickly after OS releases, as they only have to create the bridging code
- Out-of-the-box code bridging; access native methods/variables on iOS/Android from JS. E.g. accessing the Android notch API can be done with a few lines of JS
- Recognizable CSS elements for styling (margin, borders, gradients, box-shadow)
- Performant; fairly quick cold-boot and no iOS shader-cache jank like with Flutter. OP likely has a web-dev background and used too many nested views leading to jank (as it would with a native app).
The struggles:
- Inconsistent maintenance of (semi-)official plugins like background uploading and toasts. Hard agree with OP.
- Overuse of outdated, third-party Cocoapods/Gradle plugins for their plugins. Some Cocaopods they use don't even have iCloud support.
- Large backlog of Core issues/bugs
- No more Sidekick (The 'Expo' equivalent for NS), as it wasn't part of the acquisition. This tool was really handy for low-barrier deployments/boilerplate code rollout
But the real problem is adaptation. No large adaptation = no big sponsors = no full-time development. Earlier it was in hands of Progress which had a highly talented team from Bulgaria working on it full-time. Progress tried to use NativeScript as an on-boarding strategy to get people to use Kinvey. When Progress pulled the plug, a small development agency took over development and is struggling to find the manpower to maintain this colossal project. I hope they will manage to make it work as NativeScript does have unique qualities.
Re: Why you should NOT use NativeScript
#44Earlier quoted context omitted.
The message I'm getting from Google is that flutter is the future and will get more support eventually. You can also see it in their fuchsia os which is heavily focused on the ecosystem.
> The message I'm getting from Google is that flutter is the future and will get more support eventually. Google has said the same thing for tons of things, and then stop caring for them and supporting them. Including Dart as a JS alternative, the very same technology now relegated to Flutter backend.
I would think long and hard before betting my company on any Google product.
Are there many third-party contributors to flutter? If so, that would make me feel a little more confident. If it's all (or almost all) Google staff, yeah... no. Wouldn't go there.
Re: Why you should NOT use NativeScript
#45Re: Why you should NOT use NativeScript
#46Earlier quoted context omitted.
There is absolutely no way flutter unseats java/kotlin unless it abandons dart and adopts kotlin as its language. Its much more likely that flutter gets absorbed in some way by the android ecosystem.
Jetpack Compose was definitely a counter attack from Android team, with Ads being a big Flutter sponsor and the only reason Dart did not die when Chrome withdraw their support. So if Ads, Pay and Search keep their support, Dart and Flutter are here to stay.
Re: Why you should NOT use NativeScript
#47biggest advantage of flutter is the amount of time/energy spent in marketing flutter itself. dart is given up by google engineers long time ago. There were time where small amount of ads front end written in angular dart (like 10 pages across 4 applications) and those pages replaced with angular/typescript. Probably you should go with java/kotlin instead of flutter/dart.
> dart is given up by google engineers long time ago 2013 called. It wants it's opinion back.
Then they proceed adding platform dependent code for their vanity projects like Fuchsia along side their other platform dependent code for not vanity projects like ChromeOS and Android.
IMO Dart is only alive because of Flutter, outside of it, it's dead.
Re: Why you should NOT use NativeScript
#48Earlier quoted context omitted.
2025: Why you should NOT use Kotlin It’s been two years since our company decided we’ll pick Kotlin to create and maintain our Android App. This was the third-biggest mistake our now nearly-defunct company made in the last 8 years. We are about to rebuild our Android app in Java from scratch now…
Well, as the ancient legend goes: Over 3 Billion devices do run Java
Re: Why you should NOT use NativeScript
#49NativeScript was born after forking Appcelerator Titanium’s Hyperloop project, which was meant to create direct bridge between native APIs and the JavaScript runtime.
At the time the fork happened just when Appcelerator made Hyperloop development private since it was facing more or less the same anger from the community that we see in this article and could not keep the promises that hyperloop was meant to fulfull. (This reminds me a lot the current situation with React Suspense)
The idea in the community was more or less “those bullies from telerik think they can fork it and finish it before us, they will never complete it” and indeed they faced a lot of the problems that was delaying the release of hyperloop itself.
At the end of the day the embraced Angular as a React Native killer (React Native more or less killed the competition for bridged native app frameworks IMHO) but never reached the quality required… wait for it… for a commoditizied framework. That’s the problem: no one will ever pay for a framework which competes with free (if proprietary and not compatible) native frameworks.
(Fun enough, Titanium SDK is actually incredibly solid right now, still following every native SDK release with only some weeks of delay)
Re: Why you should NOT use NativeScript
#50> 2. Documentation is ridiculous > They are behind with the docs for years. They always promise that the next version’s documentation will be really finished and will be awesome and contain everything.
So what? That's your responsibility to start a project with an open source framework that doesn't even have a proper documentation, you're completely free to not to use or if it is bothering you, help them.
> 4. Arrogant communication > Go to their Slack channel and ask them about anything I mention above. They’ll cut you out with some trendy BS like: > "You are too negative, I can’t help”
I can clearly see the reason why.
> 5. There’s no support at all
Yeah, i'm pretty sure that's how not open source works.