dart-sip-ua icon indicating copy to clipboard operation
dart-sip-ua copied to clipboard

Cannot resolve dependancies (intl 0.18.1 -> 0.19.0 fails) because of SIP_UA package

Open Theog75 opened this issue 1 year ago • 4 comments

Describe the bug flutter pub upgrade cannot update package intl due to sip_ua dependancy on intl 0.18.1 , version 0.19.0 (the newest version is required by sip_ua.

Showing outdated packages.
[*] indicates versions that are not the latest available.

Package Name  Current  Upgradable  Resolvable  Latest  

direct dependencies:
intl          *0.18.1  *0.18.1     *0.18.1     0.19.0  

dev_dependencies: all up-to-date.
You are already using the newest resolvable versions listed in the 'Resolvable' column.
Newer versions, listed in 'Latest', may not be mutually compatible.

To Reproduce Steps to reproduce the behavior:

  1. run flutter pub upgrade
  2. the intl package cannot resolve dependancies

Expected behavior flutter pub upgrade should resolve all dependancies, if other pckages will need intl 0.19.0 the app will not work.

System Infomation() Flutter SDK Version: 3.16.7 Target OS and Version: Android Host OS and Version: Macos

Theog75 avatar Jan 14 '24 15:01 Theog75

this is the output if I force upgrading intl to 0.19.0:

Because sip_ua 0.5.8 depends on intl ^0.18.0 and no versions of sip_ua match >0.5.8 <0.6.0, sip_ua ^0.5.8 requires intl ^0.18.0.
So, because comms depends on both intl ^0.19.0 and sip_ua ^0.5.8, version solving failed.

Theog75 avatar Jan 14 '24 16:01 Theog75

it seems that this package is not maintained???

https://pub.dev/packages/sip_ua/score

image

are there plans to maintain it and create a new version that supports newer package dependancies?

there is even a pckage that is Discontinued.... :(

Theog75 avatar Jan 14 '24 17:01 Theog75

fixed https://github.com/flutter-webrtc/dart-sip-ua/commit/ec6617230a05fad7db8ff4024eeeb97ce600d5d7

cloudwebrtc avatar Jan 15 '24 01:01 cloudwebrtc

Thanks,

  1. is there going to be a new release I can use in my flutter app?
  2. what about the other packages (for example - error_parser is discontinued, flutter_webrtc cannot upgrade to latest etc.

Theog75 avatar Jan 15 '24 10:01 Theog75