OkunaOrg / okuna-app

📱 The Okuna social network cross-platform mobile app
https://okuna.io
MIT License
330 stars 94 forks source link

Feature/upgrade flutter 2 #547

Open ashleyro06 opened 3 years ago

ashleyro06 commented 3 years ago

This PR upgrades the version of flutter used in the project to 2.2.1. This affects mostly dependencies. In general, it didn't require any major changes, however, packages like intl_translation and flutter_advanced_networkimage were a big obstacle in the process.

To accomplish the upgrade, I've updated most of the dependencies used throughout the project and adapting the functionality and code to have no conflicts with the new versions. For example, in Http package upgrade there was a need to convert the type of data it was passing as URL, changing it to be passed as a URI.

_Intltranslation package had no way to be integrated into the new version of the project, it doesn't have the null safety compatibility making it impossible to run the get packages command.

_Flutter_advancednetworkimage had to be replaced because the library was discontinued, to fulfill the functionality, _extendedimage package was added. In terms of functionality, they are very similar, although, there was a need to change some code to do a correct implementation.

narayanan-ka commented 3 years ago

Hello @ashleyro06 We are currently facing issue setting up. Kindly assist

Please check below

https://github.com/OkunaOrg/okuna-app/issues/550