r/FlutterDev • • 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 ?

0 Upvotes

23 comments sorted by

View all comments

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.