Dev - Mobile - Alternatives
From native app (gold path) to web views
Choosing from many options
- comparison between native (Kotlin, Swift), React Native, Flutter, Ionic and NativeScript
- from the creator of very popular courses on Udemy https://youtu.be/PKRXbLnfXXk
Flutter
Check out Flutter app template
https://codecanyon.net/item/stock-market-app-v100-flutter-ui-kit-using-getx/35383377
using GetX middleware
https://github.com/jonataslaw/getx
Ionic
Mobile app with Ionic + Svelte ?
https://github.com/Tommertom/svelte-ionic-app
https://ionic.io/blog/ionic-vs-react-native-performance-comparison
Webview
- RN just for bridge to native, rest is classic webapp
https://blog.standardnotes.com/40921/no-react-native-is-not-the-future
Prototyped different options
Kotlin
Android Studio uses lots of memory, can’t have another large app (VSCode) open
Flutter
half of the examples, even recent ones, don’t build
NativeScript + Svelte
extremely niche environment, few examples available, few components
- great hot-reloading dev experience, immediate feedback on UI changes
- Notifications work great
- Websocket NOT WORKING
0 / Cordova
- Cumbersome setup
- App builds ok and start as blank screen : FAIL !!!!
Capacitor
Svelte / Capacitor
https://github.com/drannex42/svelte-capacitor
Svelte Native
best way to organize source code
- components
- stores
- lib/client
https://github.com/halfnelson/svelte-native-realworld/tree/master/app
Nativescript
Android app with Flutter
Bottom navigation with grid views
https://camposha.info/flutter/flutter-bottomnavigation/#gsc.tab=0
List view master / detail app
https://camposha.info/flutter/flutter-listview-master-detail/
Syncfusion charts
https://pub.dev/packages/syncfusion_flutter_charts
interactive candlestick chart
https://pub.dev/packages/interactive_chart
Candlestick (syncfusion) chart
https://www.syncfusion.com/flutter-widgets/flutter-charts/chart-types/candle-chart
Local and push notifications
https://pub.dev/packages/awesome_notifications
Local notifications
https://blog.logrocket.com/implementing-local-notifications-in-flutter/
Home widget
https://pub.dev/packages/home_widget/example
Svelte + Capacitor
https://github.com/drannex42/svelte-capacitor
- YUCK: uses whole Android Studio to build pkg
- 16GB machine freezes during build
Android Kotlin app + websockets + chart
https://github.com/MohitMandalia/AirQualityVisualizer
https://github.com/therajanmaurya/Stock-Hawk
Mobile home screen widget
https://github.com/premnirmal/StockTicker
native UI - charts
https://github.com/AnyChart/AnyChart-Android
notifications with locked screen
https://developer.android.com/guide/topics/ui/notifiers/notifications