SunnyApp / flutter_contact

A flutter plugin for retrieving, creating, saving, and watching contacts on native devices
BSD 3-Clause "New" or "Revised" License
81 stars 62 forks source link

Update needed to use flutter_contact with flutter_local_notifications plugin #72

Closed abhinavsingh closed 3 years ago

abhinavsingh commented 3 years ago
  1. flutter_contact depends upon https://github.com/ericmartineau/flexidate (which no longer seem to exist).
  2. flexidate >=0.6.0+2 depends on timezone ^0.7.0
  3. flutter_local_notifications ^8.1.1+2 which depends on timezone ^0.8.0

As a result flutter build leads into version solving failed.

Any idea how to get past this?

deepak786 commented 3 years ago

Override the timezone dependency. It will solve the issue.

dependency_overrides:
    timezone: 0.7.0
abhinavsingh commented 3 years ago

Thank you, didn't realize the dependency_overrides flag.