tjarvstrand / flutter_timezone

A fork of https://github.com/pinkfish/flutter_native_timezone
Apache License 2.0
42 stars 29 forks source link

Change package name from "flutter_timezone" to "flutter_native_timezone" #11

Closed Akiyamka closed 1 year ago

Akiyamka commented 1 year ago

My dependencies want to use flutter_native_timezone that not supported anymore. For fix that it possible to use next trick:

dependency_overrides:
  flutter_native_timezone:
    git:
      url: https://github.com/tjarvstrand/flutter_timezone

but unfortunately it require same name as forked package

Resolving dependencies... 
Error on line 1, column 7: "name" field doesn't match expected name "flutter_native_timezone".
tjarvstrand commented 1 year ago

Hi,

I'm not sure what you're asking me to do here? I'm not the owner of the flutter_native_timezone so I can't publish this package with that name.

If you really want to use this package as flutter_native_timezone, you'll have to fork it, rename the package in your fork and reference that from your pubspec.yaml.

I would really recommend you to ask the authors of your dependencies to update, however.