Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I tried it out last week, after having known about it for ages.
Much easier to learn than react native and all those, and doesn’t even occupy that much extra space.
The fact that I had to learn dart didn’t even make it hard, it made it enjoyable. Having java and JavaScript background sure helped tho. -
Is it about the same level as UWP dev? I need to make an app which can pass notifications for me.
-
Pointer32377y@1989 You can begin with the docs, they put upfront a really nice guide that's really easy to follow.
Technically, it's design and language allows to declare a UI in tree form, but, without the hassle of linking and parsing XML documents, so now you get the elements and logic of display in the same place. -
Pointer32377y@Codex404 How so?
Flutter it's a mobile-oriented framework, that allows coding both Android & iOS apps that share the same codebase.
They don't use native components, nor they use a webview, they embed their own render engine and provide you with some widgets to get you up and running in no time. Also they provide an async message queue with serialization/deserialization to implement specific native code for each platform. -
@Pointer well I have an android phone without google and I can't get notifications because of it, and since I do need a few apps that use GCM (Google Cloud Messaging) I would have to make my own service which polls the apps server for notifications.
I'm now trying react native which didn't take me 2 weeks to setup on windows. -
Pointer32377y@Codex404 as far as I know, GCM relies on Google Play Services, so if the apps you're using rely on that... honestly I haven't look up how to do it.
If you're talking about making an app that has notifications but doesn't rely on GCM, I've seen some alternatived around, but it relies on that, what notifications really are it's just a websocket with channels and handlers. So you could roll your own notification service. -
@Pointer there are applications like Discord that use GCM. But they also have an API which I can poll for notifications. Then I want to sent that to a custom build app.
-
Pointer32377y@Codex404 Well, if they expose an API for notifications, then you can pretty straightforward consume it. I mean, every framework has network functionality, and flutter isn't the exception.
-
@Pointer true, but what I meant with my first question is:
I came from windows phone and made quite a few UWP applications. This was so easy even a beginning programmer could do it. For android just setting things up would take me at least a day, getting something on my screen another day. On what level is Flutter? -
Pointer32377y@Codex404 Oh, alright.
Well, Flutter docs are pretty straightforward, so setting up the env shouldn't take you more than a few minutes (given you have a good internet speed connection).
It also includes it's own 'doctor' that will tell you if everything it's ok to start (it shows errors when you don't have a device plugged in, but those can be ignored).
It recommends using Android Studio / IntelliJ because of the plug-in they did to support Flutter app templates and so on. Also, the flutter SDK has it own Dart SDK so you only need to follow the instructions on the website.
I'd suggest for you to check out the "getting started" page, it has a nice demo and it gives you a general overview of everything (almost, leaving aside the messages queue)
!rant
Flutter is the best SDK I've ever used in my life. So insanely easy to learn and use, and it lets you build both Android and iOS apps?!?!
If you haven't checked it out, even if you've never touched mobile app dev, give it a shot. Super fun and super easy.
rant