GAM3RG33K / flutter_settings_screens

Settings Screen with Custom Shared Preference Interface
MIT License
176 stars 71 forks source link

Support for later versions of path_provider #34

Closed schisms closed 3 years ago

schisms commented 3 years ago

Really enjoying the plugin, and are using it for my settings screen. However, I am encountering a fairly significant problem. Many of my packages are requiring later versions of path_provider. The maximum supported by flutter_settings_screens appears to be 1.4.4, but the latest version of path_provider is 2.0.1. I am having trouble updating plugins because of this.

Thanks ~~

GAM3RG33K commented 3 years ago

Hi, @schisms, thank you for using this library. I am glad you liked it. If you can work with v1.4.4 of path_provider for some time, then I request you to keep using the same. I am planning a few major updates but due to time constraints it is not possible for me to work on them. I am planning to update the dependencies & refactroing the internal logic to comply with new flutter norms & dart SDK changes. At very last I will start migrating to null safe version.

However, If you can't wait for these updates, you can always move a fork of this plugin to your project offline & make changes required for your project.

Thank you again for using this library.

riklarkin commented 3 years ago

Hi @schisms , I created a fork yesterday solely for the purpose of updating the 3 dependencies in the pubspec.yaml file. I needed to do this to avoid version conflicts, you can thus use that version if it helps. Make your pubspec.yaml file like this:

flutter_settings_screens: # Will revert to pub.dev version once they release a null safety update git: url: https://github.com/riklarkin/flutter_settings_screens

When this version is updated then I'll remove my plugin and go back to using this master one.

GAM3RG33K commented 3 years ago

@schisms I have merged the pull request #36 created for updating all the packages & flutter changes to latest versions. You can check these changes & use the latest master branch checkout if you need.

I'll keep this issue open for some time & close once everthing is verified properly.

IanWorthington commented 3 years ago

@schisms I have merged the pull request #36 created for updating all the packages & flutter changes to latest versions. You can check these changes & use the latest master branch checkout if you need.

I'll keep this issue open for some time & close once everthing is verified properly.

The pubspec.yaml specifies 1.6.8, rather than the latest. Is that deliberate?

GAM3RG33K commented 3 years ago

Yes, This is according to the latest version supported by the last flutter version in 1.x category.

Support for flutter 2.x will be added in stage 2.

I did this to allow most people to easily migrate to next plugin if there's any changes required.

I'll be giving the 2.x version update soon.

On Sat, Apr 3, 2021, 7:34 PM IanWorthington @.***> wrote:

@schisms https://github.com/schisms I have merged the pull request #36 https://github.com/GAM3RG33K/flutter_settings_screens/pull/36 created for updating all the packages & flutter changes to latest versions. You can check these changes & use the latest master branch checkout if you need.

I'll keep this issue open for some time & close once everthing is verified properly.

The pubspec.yaml specifies 1.6.8, rather than the latest. Is that deliberate?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GAM3RG33K/flutter_settings_screens/issues/34#issuecomment-812869751, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYJGK2KUSZ57DQXGI5NRK3TG4N6FANCNFSM4YZ5OCUA .

Androz2091 commented 3 years ago

Yes, and the package is only using shared_preferences 0.5 is it possible to bump it?

GAM3RG33K commented 3 years ago

@Androz2091 Every package is now bumped up in the latest pull request #42

The same has been released as v0.2.2+1 on pub.dev