pull down to refresh

Battle of the programming languages. Also I find it ironic how Facebook and google are considered evil but they release dev tools that let anyone with time and an imagination to build really cool applications that us non technical folks get to enjoy.
147 sats \ 1 reply \ @DannyM 5h
Can we talk about how the word native lost all of it's meaning? Neither React "Native" nor Flutter generate native apps!
Traditional native apps meant writing platform-specific code - Swift/Objective-C for iOS, Kotlin/Java for Android. You'd use the platform's own UI components, APIs, and development tools directly. React Native promises "native" experiences while actually running JavaScript in a bridge that translates to platform APIs; Flutter doesn't even use native UI components.
reply
112 sats \ 0 replies \ @0xIlmari 4h
Both React Native and Flutter produce native applications:
React Native apps ship with a JS engine that runs the logic, but the widgets are actually native (OS-supplied).
Flutter compiles the Dart code to native ARM binaries directly (via LLVM, skipping Kotlin and Obj-C) and the views are constructed from custom platform-specific components.
And just because Flutter has custom components doesn't mean it's not "native". There are, for example, multiple frameworks for Windows (MFC, WPF, UWP, Qt, Swing, and many more) - they are just different renderers, but only Windows API/MFC/WinForms could be considered "truly native" (as in, OS-supplied). Noone writes apps using that anymore (because DirectX exists) but we call all those .exe's "native" apps anyway.
reply
91 sats \ 0 replies \ @sox 3h
I'm really confident of the capabilities and potential of the PWA, which is going to take the spot soon. I would probably wrap it to access stuff like nostr extensions, that would be cool.
As a second thought, I still didn't explore Solito, that also might be cool.
reply
Flutter
reply
175 sats \ 0 replies \ @kepford 4h
ironic how Facebook and google are considered evil but they release dev tools
I mean evil regimes/companies/people can and do good things.
reply
77 sats \ 5 replies \ @rblb 6h
For the way sn is built, it doesn't make a lot of sense to build a native app, i mean, a native app here would just be a webview with some bindings eg. for notifications.
But in general i would use dart+flutter, as it is cleaner than react. However i find it higher level and more opinionated than react alone... so i'd say it depends
  • if you don't need a lot of customization for the ui and you can build it out of mostly prefab components: dart+flutter
  • if you need to do something crazy : react
reply
It does if you are not a fan of PWAs. The SN PWA is serviceable but I want more of a native app experience. So if am able to build something that I would like to use it will be a net benefit for me. The problem is that I am learning to develop application on my own time without formal instruction.
reply
88 sats \ 3 replies \ @0xIlmari 4h
Curious what do you mean by "I want more of a native app experience"? What can a native app (for SN) do that a PWA can't?
reply
Stop auto updates to the PWA. Plus I can try to add minor things that annoy me like making sure articles I have read remain darker. Also I can tell family and friends to download the app and not going through the steps of how to install a PWA to their home page.
reply
0 sats \ 1 reply \ @0xIlmari 3h
If you don't want updates for whatever reason, just take an older commit of SN's front-end (it's open source) and connect it to the current API. Boom, you have a frozen frontend until it breaks because the backend changes (then you'll realize why auto-updates weren't necessarily a bad thing). Still don't need a native app.
The problem that you mention (styling articles) is a you-specific problem. Suppose you write an app that does that. But someone else doesn't want that, they actually want them a different color/font/whatever. Should they now write their own app or fork yours? The real problem is that mobile browsers have limited options for injecting custom styles compared to desktop (a PWA is a browser window sans the browser UI). Or, SN could just add an option to inject your own CSS.
Also, I'm surprised that you think going to an app store, finding an app and installing it is better experience (and easier to walk someone through that) than visiting a link and clicking an automatic prompt to install.
reply
Current API on iOS? That doesn’t make any sense to me.
The problem that you mention (styling articles) is a you-specific problem.
Exactly I am wanting to build a mobile app for myself.
Suppose you write an app that does that. But someone else doesn't want that, they actually want them a different color/font/whatever. Should they now write their own app or fork yours?
Yes exactly. It will be open source free for anyone to copy and fork
The real problem is that mobile browsers have limited options for injecting custom styles compared to desktop (a PWA is a browser window sans the browser UI).
Correct again! Another reason why I want to try to make my own native app.
Plus it will be a tremendous learning experience for me about app development and the process it takes to go from knowing absolutely nothing about development to having an app I put together on the App Store
152 sats \ 0 replies \ @030e0dca83 6h
Never touched flutter. But as I know if don't plan to add weird animation and you app will be showing static information React Native is pretty good
reply
Honestly more apps need to be Ionic maxxing
reply