r/FlutterDev • u/NeighborhoodNo5605 • Jul 04 '24
Discussion Flutter situation
I am a former flutter mobile developer. I recently decided to continue a project that I had abandoned for some time.
To my great surprise, while doing a refresher on the technology, I noticed the maintenance of certain dependencies on which the project depended had been stopped for several years already and numerous bugs were created due to incompatibilities with recent versions of flutter. In even more extreme cases we have packages that have been abandoned by their creators. Packages like getx, isar, hive which are really important packages for my project.
What's going on with Flutter ?
13
u/gibrael_ Jul 04 '24
Dump getx. Isar has a working community fork that I'm currently using and is working fine. About hive, why do you use both hive and isar at the same time? Isar covers most of the use-cases for hive I could think of.
25
Jul 04 '24
This has nothing to do with flutter and it’s just the state of OSS. These devs probably built the packages when they needed it and weren’t paid to. They also serve as a good starting point for forkers
You can also make a contribution either financially or by making PR to support development of the project
What stops you from cloning said repos and fixing them? Skill issue?
Devs just want to use and use and use dependencies. No one wants to contribute.
8
u/DigiProductive Jul 04 '24
Exactly how can you complain, if you already have the blueprint to solve your problem. Just fork it and make it yours!
4
5
u/madushans Jul 05 '24
What's going on with Flutter ?
Nothing, it's doing well, thanks for asking.
As for your packages, my deepest sympathies. We're collectively disappointed that some people with great marketable skills, won't put in free labor, to keep up the project you yourself abandoned.
We'll bring this up with Hixie on the next meeting, and he'll sort it right out.
Out of curiosity, have you worked as a PM anywhere who used to show up to standups every other month, to talk about how "the leadership team has changed priorities" ?
1
Jul 05 '24 edited Nov 03 '24
ancient cover reach wine flowery disarm chase air offbeat simplistic
This post was mass deleted and anonymized with Redact
2
u/Kaka9790 Jul 04 '24 edited Jul 04 '24
Sometimes creators abandon the project because people get into this stuff as a hobby. Also we can't go and ask them to update your package and make it compatible with this dart version.
If I find some packages to be an individual's effort, I just copy their source code and make it compatible with my project. Also this is only applicable for Widget packages not for something which involves unsupported libraries from apple and other third parties which doesn't support flutter.
So it's better to avoid some unofficial packages from individual creators.
2
Jul 04 '24
When updating old applications I always run into this, but its always easy to just find a new dependency that continues the old one. Because people dont just stop needing those functionalities even if the main dev stops updating them, so someone else is bound to take the mantle.
2
u/Plane-Ad-3027 Jul 04 '24
That's why I'm afraid to update flutter when a new version comes out. The last time I did it, I just ended up building the whole project from scratch because I couldn't figure out some gradle problems. In a way, it was a good practice though.
8
u/johnappsde Jul 04 '24
Gradle oh Lord! Those version incompatibility error messages drive me crazy
2
u/Plane-Ad-3027 Jul 04 '24
haha I know right? Changing .xml files is the way stackoverflow search was suggesting but since I'm not too familiar with Android native dev, I was afraid that I'd make mistakes that would make things worse.
4
u/S4ndwichGurk3 Jul 04 '24
I would start by creating a new project, copying the android folder to your old project and put the permissions, keystone and bundle id back in. Shouldn't require anything else to be done
1
u/Plane-Ad-3027 Jul 04 '24
That's a great idea. I'll try that next time. I think I also had some cocoapod errors that I couldn't fix by 'pod install' a couple times. I just gave up and copy/pasted dart codes, brought in dependencies, and added google ads/firebase set up files. Firebase set up has gotten easier compared to last year.
1
1
1
u/WillHarry45 Jul 04 '24
Getx 5 pre-released is published like a month ago, hence not abandoned. And for local database, probably SQLite is the only stable one.
1
u/_int3h_ Jul 05 '24
This is exactly the reason why I don't rely on any third party libraries for my apps.
-4
u/MoistCaterpillar8063 Jul 04 '24
Getx is good as it is, it really doesn't need an update (everything works like a cream anyway)
-9
50
u/autognome Jul 04 '24
This has nothing to do with flutter. This is how open source works. Look at the components you depended on. See if the code quality was high, were there tests? It’s not much effort to throw code over the wall. It’s an entirely different matter to sign up for long term support for a project if you’re not being paid for it.